Package entropy :: Module db :: Class ServerRepositoryStatus

Class ServerRepositoryStatus

source code


Server-side Repositories status information container.

Instance Methods
 
init_singleton(self)
Singleton "constructor"
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
 
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
 
get_updates_log(self, db)
Return dict() object containing metadata related to package updates occured in a server-side repository.
source code

Inherited from core.Singleton: is_destroyed, is_singleton

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

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

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