mini_buildd.reprepro module¶
Run reprepro commands.
-
class
mini_buildd.reprepro.
Reprepro
(basedir)¶ Bases:
object
Abstraction to reprepro repository commands.
Locking
This implicitly provides a locking mechanism to avoid parallel calls to the same repository from mini-buildd itself. This rules out any failed call due to reprepro locking errors in the first place.
For the case that someone else is using reprepro manually, we also always run it with ‘–waitforlock’.
-
reindex
()¶
-
check
()¶
-
list
(pattern, distribution, typ=None, list_max=50)¶
-
show
(package)¶
-
migrate
(package, src_distribution, dst_distribution, version=None)¶
-
remove
(package, distribution, version=None)¶
-
install
(changes, distribution)¶
-
install_dsc
(dsc, distribution)¶
-