Package entropy :: Package server :: Package interfaces :: Module db :: Class ServerRepositoryStatus

Class ServerRepositoryStatus

source code


Server-side Repositories status information container.

Instance Methods
 
init_singleton(self)
Singleton "constructor"
source code
 
reset(self)
Reset the object to its initial state.
source code
 
set_unlock_msg(self, db)
Set bit which determines if the unlock warning has been already printed to user.
source code
 
unset_unlock_msg(self, db)
Unset bit which determines if the unlock warning has been already printed to user.
source code
 
set_tainted(self, db)
Set bit which determines if the repository which db points to has been modified.
source code
 
unset_tainted(self, db)
Unset bit which determines if the repository which db points to has been modified.
source code
 
set_bumped(self, db)
Set bit which determines if the repository which db points to has been revision bumped.
source code
 
unset_bumped(self, db)
Unset bit which determines if the repository which db points to has been revision bumped.
source code
 
set_synced_sets(self, db)
Set bit which determines that package sets have been synchronized with Source Package Manager.
source code
 
is_tainted(self, db)
Return whether repository which db points to has been modified.
source code
 
is_bumped(self, db)
Return whether repository which db points to has been revision bumped.
source code
 
is_unlock_msg(self, db)
Return whether repository which db points to has outputed the unlock warning message.
source code
 
are_sets_synced(self, db)
Return whether package sets in repository have been already synchronized with Source Package Manager.
source code
 
get_updates_log(self, db)
Return dict() object containing metadata related to package updates occurred in a server-side repository.
source code

Inherited from core.Singleton: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods

Inherited from core.Singleton: __new__

Properties

Inherited from object: __class__

Method Details

set_unlock_msg(self, db)

source code 

Set bit which determines if the unlock warning has been already printed to user.

Parameters:
  • db (string) - database identifier

unset_unlock_msg(self, db)

source code 

Unset bit which determines if the unlock warning has been already printed to user.

Parameters:
  • db (string) - database identifier

set_tainted(self, db)

source code 

Set bit which determines if the repository which db points to has been modified.

Parameters:
  • db (string) - database identifier

unset_tainted(self, db)

source code 

Unset bit which determines if the repository which db points to has been modified.

Parameters:
  • db (string) - database identifier

set_bumped(self, db)

source code 

Set bit which determines if the repository which db points to has been revision bumped.

Parameters:
  • db (string) - database identifier

unset_bumped(self, db)

source code 

Unset bit which determines if the repository which db points to has been revision bumped.

Parameters:
  • db (string) - database identifier

set_synced_sets(self, db)

source code 

Set bit which determines that package sets have been synchronized with Source Package Manager.

Parameters:
  • db (string) - database identifier

is_tainted(self, db)

source code 

Return whether repository which db points to has been modified.

Parameters:
  • db (string) - database identifier

is_bumped(self, db)

source code 

Return whether repository which db points to has been revision bumped.

Parameters:
  • db (string) - database identifier

is_unlock_msg(self, db)

source code 

Return whether repository which db points to has outputed the unlock warning message.

Parameters:
  • db (string) - database identifier