[ARVADOS] updated: c1966ec1c6a63b81202131ad372bb4b6bc45742c
git at public.curoverse.com
git at public.curoverse.com
Tue Jul 1 11:38:30 EDT 2014
Summary of changes:
services/api/script/crunch-dispatch.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via c1966ec1c6a63b81202131ad372bb4b6bc45742c (commit)
from cd5dd98b4b660085586693cdc2cf350fcc06a074 (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 c1966ec1c6a63b81202131ad372bb4b6bc45742c
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Tue Jul 1 11:38:27 2014 -0400
Change crunch-dispatch to use "git fetch-pack --all" insted of "git fetch" to
fetch entire repository instead of just the history for HEAD. This seems to be
the only way to ensure that arbitrary script version hashes not in the history
of the source's HEAD are fetched without using refs (tags or branches).
no issue #
diff --git a/services/api/script/crunch-dispatch.rb b/services/api/script/crunch-dispatch.rb
index b1c0e7d..c39c8ea 100755
--- a/services/api/script/crunch-dispatch.rb
+++ b/services/api/script/crunch-dispatch.rb
@@ -230,7 +230,7 @@ class Dispatcher
next
end
- $stderr.puts `cd #{arvados_internal.shellescape} && git fetch --no-tags #{src_repo.shellescape} && git tag #{job.uuid.shellescape} #{job.script_version.shellescape}`
+ $stderr.puts `cd #{arvados_internal.shellescape} && git fetch-pack --all #{src_repo.shellescape} && git tag #{job.uuid.shellescape} #{job.script_version.shellescape}`
cmd_args << crunch_job_bin
cmd_args << '--job-api-token'
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list