[ARVADOS] updated: bcd68a650d3f68feaa05a785323430a24e65b6d4

git at public.curoverse.com git at public.curoverse.com
Thu Apr 2 17:38:30 EDT 2015


Summary of changes:
 services/api/script/migrate-gitolite-to-uuid-storage.rb | 3 +++
 1 file changed, 3 insertions(+)

       via  bcd68a650d3f68feaa05a785323430a24e65b6d4 (commit)
      from  1a4d0158373902cac889ce5409fcae447d4a68d6 (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 bcd68a650d3f68feaa05a785323430a24e65b6d4
Author: Brett Smith <brett at curoverse.com>
Date:   Thu Apr 2 17:37:53 2015 -0400

    4253: Gitolite migration makes a name symlink for arvados repository.
    
    This is necessary for other supporting infrastructure around this
    repository in Gitolite installs; e.g., the cron job that keeps them in
    sync with upstream.  Refs #4253.

diff --git a/services/api/script/migrate-gitolite-to-uuid-storage.rb b/services/api/script/migrate-gitolite-to-uuid-storage.rb
index 2b96a7d..8db1a0e 100755
--- a/services/api/script/migrate-gitolite-to-uuid-storage.rb
+++ b/services/api/script/migrate-gitolite-to-uuid-storage.rb
@@ -137,6 +137,9 @@ class Repository
                     File.join(repos_root, "#{uuid}.git"))
       rescue Errno::ENOENT
       end
+      if name == "arvados"
+        Dir.chdir(repos_root) { File.symlink("#{uuid}.git/", "arvados.git") }
+      end
     end
   end
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list