Performance optimization for the run_upload_packages.py script: only
authorWard Vandewege <ward@curoverse.com>
Fri, 14 Aug 2015 00:38:53 +0000 (20:38 -0400)
committerWard Vandewege <ward@curoverse.com>
Fri, 14 Aug 2015 00:38:53 +0000 (20:38 -0400)
rebuild the freight cache for the distribution that is being updated.

No issue #

jenkins/run_upload_packages.py

index f7ddf7f5a27bbf3132452a681cbe029a781cfd86..eff30cc9946263317ef09fdd43597e9b4c37fbda 100755 (executable)
@@ -146,7 +146,7 @@ class DebianPackageSuite(DistroPackageSuite):
 cd "$1"; shift
 DISTNAME=$1; shift
 freight add "$@" "apt/$DISTNAME"
-freight cache
+freight cache "apt/$DISTNAME"
 rm "$@"
 """
     TARGET_DISTNAMES = {