[ARVADOS-DEV] updated: 2577bb495c060b7dd2031589c13e6b125b9eac75

Git user git at public.arvados.org
Fri Jan 29 15:27:25 UTC 2021


Summary of changes:
 jenkins/run_upload_packages.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  2577bb495c060b7dd2031589c13e6b125b9eac75 (commit)
      from  bb617b50d0546d17280d825a0014e5c82d3b9c81 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 2577bb495c060b7dd2031589c13e6b125b9eac75
Author: Ward Vandewege <ward at curii.com>
Date:   Fri Jan 29 10:26:15 2021 -0500

    run_upload_packages.py: give createrepo a cache directory for its
    package checksums, and tell it to use a simple file size/mtime
    comparison instead of recalculating the hashes, when adding a package to
    the repo.
    
    This should speed up rpm package publishing.
    
    No issue #
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/jenkins/run_upload_packages.py b/jenkins/run_upload_packages.py
index daa7235..a161c2c 100755
--- a/jenkins/run_upload_packages.py
+++ b/jenkins/run_upload_packages.py
@@ -237,7 +237,7 @@ cd "$1"; shift
 REPODIR=$1; shift
 rpmsign --addsign "$@" </dev/null
 mv "$@" "$REPODIR"
-createrepo "$REPODIR"
+createrepo -c ~/.createrepo-cache --update "$REPODIR"
 """
     REPO_ROOT = '/var/www/rpm.arvados.org/'
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list