[arvados] updated: 2.7.0-5812-gc7536c826c

git repository hosting git at public.arvados.org
Thu Jan 11 14:42:43 UTC 2024


Summary of changes:
 build/build-dev-docker-jobs-image.sh | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

       via  c7536c826cdcbf420510f8e7f9a6ff2087f72def (commit)
      from  ea83c3a18b8aabe4a3a4eb8a8d0166f7e25c27ee (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 c7536c826cdcbf420510f8e7f9a6ff2087f72def
Author: Brett Smith <brett.smith at curii.com>
Date:   Thu Jan 11 09:41:51 2024 -0500

    21367: Use --dist-dir option of setup.py sdist
    
    Way cleaner and clearer. Refs #21367.
    
    Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith at curii.com>

diff --git a/build/build-dev-docker-jobs-image.sh b/build/build-dev-docker-jobs-image.sh
index a0ea05383a..b0990d0c49 100755
--- a/build/build-dev-docker-jobs-image.sh
+++ b/build/build-dev-docker-jobs-image.sh
@@ -29,18 +29,13 @@ fi
 
 context_dir="$(mktemp --directory --tmpdir dev-jobs.XXXXXXXX)"
 trap 'rm -rf "$context_dir"' EXIT INT TERM QUIT
-ts_path="$context_dir/.timestamp"
 
 for src_dir in "$WORKSPACE/sdk/python" "${CWLTOOL:-}" "${CWL_UTILS:-}" "${SALAD:-}" "$WORKSPACE/sdk/cwl"; do
     if [[ -z "$src_dir" ]]; then
         continue
     fi
-    touch "$ts_path"
-    env -C "$src_dir" python3 setup.py sdist
-    find "$src_dir/dist/" -maxdepth 1 -type f -cnewer "$ts_path" -print0 \
-        | xargs -0 cp --target="$context_dir/"
+    env -C "$src_dir" python3 setup.py sdist --dist-dir="$context_dir"
 done
-rm "$ts_path"
 
 cd "$WORKSPACE"
 . build/run-library.sh

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list