[projects/pld-ftp-admin] pfa-mvpkg, pfa-testmvpkg: take PLD/ as PLD
arekm
arekm at pld-linux.org
Sat Nov 21 10:43:27 CET 2026
commit 2ff0ef157874c5fcc82edee3389b6854de98a31b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Nov 21 02:03:53 2026 +0100
pfa-mvpkg, pfa-testmvpkg: take PLD/ as PLD
PLD/, as the shell completes it, missed archived_trees and signed_trees:
a move removed the old versions instead of archiving them and let
unsigned packages into PLD, and .archive/ready/ as the source was locked
twice.
bin/pfa-mvpkg | 5 +++--
bin/pfa-testmvpkg | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/bin/pfa-mvpkg b/bin/pfa-mvpkg
index 62dcaba..adc0f09 100755
--- a/bin/pfa-mvpkg
+++ b/bin/pfa-mvpkg
@@ -25,8 +25,9 @@ from mailer import Message
os.umask(0o022)
nocheckbuild = args.nocheckbuild
-srcname = args.srctree
-dstname = args.dsttree
+# PLD/, as the shell completes it, is PLD for archived_trees, signed_trees and the locks
+srcname = os.path.normpath(args.srctree)
+dstname = os.path.normpath(args.dsttree)
checkdir(srcname)
checkdir(dstname)
diff --git a/bin/pfa-testmvpkg b/bin/pfa-testmvpkg
index 89899f3..bc03979 100755
--- a/bin/pfa-testmvpkg
+++ b/bin/pfa-testmvpkg
@@ -22,8 +22,9 @@ import ftptree
from common import checkdir
from config import archived_trees
-srcname = args.srctree
-dstname = args.dsttree
+# PLD/, as the shell completes it, is PLD for archived_trees, signed_trees and the locks
+srcname = os.path.normpath(args.srctree)
+dstname = os.path.normpath(args.dsttree)
checkdir(srcname)
checkdir(dstname)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/a049a512859eaede288d71649a2320e16c959476
More information about the pld-cvs-commit
mailing list