[projects/pld-ftp-admin] pfa-signpkg: do not ask the builder queue
arekm
arekm at pld-linux.org
Thu Nov 12 00:28:51 CET 2026
commit 9c74fd7db696dc2b0aca2f3a2c039fdbe0ae9e1c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Nov 11 23:21:21 2026 +0100
pfa-signpkg: do not ask the builder queue
FtpTree.rpmfiles(), which lists the rpm files of the chosen packages,
also asked the builder queue whether their builds were finished. Its
only caller that let it was pfa-signpkg, which printed the errors and
signed all the same; pfa-lintpkg switched the check off.
Signing a package still being built harms nothing: an arch that comes
later is signed by the next run, and moving the package is what checks
the build. rpmfiles() now only lists files.
bin/pfa-lintpkg | 1 -
modules/ftptree.py | 3 ---
2 files changed, 4 deletions(-)
---
diff --git a/bin/pfa-lintpkg b/bin/pfa-lintpkg
index bb5d9a6..6ea0327 100755
--- a/bin/pfa-lintpkg
+++ b/bin/pfa-lintpkg
@@ -51,7 +51,6 @@ if not ftpio.lock(treename, True):
try:
# no packages given: all of the tree
tree = ftptree.FtpTree(treename, loadall = not packages)
- tree.do_checkbuild = False
tree.mark4moving(packages or tree.loadedpkgs)
files = tree.rpmfiles(debugfiles = debugfiles, sourcefiles = False)
diff --git a/modules/ftptree.py b/modules/ftptree.py
index cc70d81..3d317f3 100644
--- a/modules/ftptree.py
+++ b/modules/ftptree.py
@@ -378,9 +378,6 @@ class FtpTree(BaseFtpTree):
pkg.move(dsttree)
def rpmfiles(self, debugfiles = True, sourcefiles = True):
- if self.do_checkbuild:
- self.__checkbuild(self.marked4moving)
-
files = []
for pkg in self.marked4moving:
files += pkg.rpmfiles(debugfiles = debugfiles, sourcefiles = sourcefiles)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/f0f51b4f65cdffd92042e4d10e359be0a751e080
More information about the pld-cvs-commit
mailing list