Package coprs :: Package logic :: Module outdated_chroots_logic :: Class OutdatedChrootsLogic
[hide private]
[frames] | no frames]

Class OutdatedChrootsLogic

source code

Class Methods [hide private]
 
has_not_reviewed(cls, user)
Does a user have some projects with newly outdated chroots that he hasn't reviewed yet?
source code
 
get_all_reviews(cls, user)
Query all outdated chroots that a user has already seen
source code
 
make_review(cls, user)
A `user` declares that he has seen and reviewed all outdated chroots in all of his projects (i.e.
source code
 
extend(cls, copr_chroot)
A `user` decided to extend the preservation period for some EOL chroot
source code
 
expire(cls, copr_chroot)
A `user` decided to expire some EOL chroot, i.e.
source code
 
_update_copr_chroot(cls, copr_chroot, delete_after_days) source code
Method Details [hide private]

make_review(cls, user)
Class Method

source code 

A `user` declares that he has seen and reviewed all outdated chroots in all of his projects (i.e. this method creates `ReviewedOutdatedChroot` results for all of them)

expire(cls, copr_chroot)
Class Method

source code 

A `user` decided to expire some EOL chroot, i.e. its data should be deleted ASAP