[ARVADOS] updated: bd7a7b85700ede57fd71ec374092035f901d149e

git at public.curoverse.com git at public.curoverse.com
Mon Mar 24 09:54:00 EDT 2014


Summary of changes:
 services/api/app/models/commit.rb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

       via  bd7a7b85700ede57fd71ec374092035f901d149e (commit)
      from  c2bdc5689076ad8512a3f1e2aa8247a76c1359d0 (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 bd7a7b85700ede57fd71ec374092035f901d149e
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Mon Mar 24 09:53:55 2014 -0400

    Forgot to commit file

diff --git a/services/api/app/models/commit.rb b/services/api/app/models/commit.rb
index 7979ff4..4df5198 100644
--- a/services/api/app/models/commit.rb
+++ b/services/api/app/models/commit.rb
@@ -39,6 +39,8 @@ class Commit < ActiveRecord::Base
   #   nil
   # end
 
+  ARVADOS_INTERNAL = "_arvados_internal.git"
+
   def self.find_commit_range(current_user, repository, minimum, maximum, exclude)
     only_valid_chars = /[^A-Za-z0-9_-]/
     if only_valid_chars.match(minimum) || only_valid_chars.match(maximum) 
@@ -169,7 +171,7 @@ class Commit < ActiveRecord::Base
     @repositories = {}
     @gitdirbase = Rails.configuration.git_repositories_dir
     Dir.foreach @gitdirbase do |repo|
-      next if repo.match /^\./
+      next if repo.match /^\./ or repo == ARVADOS_INTERNAL
       git_dir = File.join(@gitdirbase,
                           repo.match(/\.git$/) ? repo : File.join(repo, '.git'))
       repo_name = repo.sub(/\.git$/, '')

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list