allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hei...@apache.org
Subject [12/20] allura git commit: [#7873] Add fields to Repository for storing reference cache
Date Mon, 29 Jun 2015 20:23:16 GMT
[#7873] Add fields to Repository for storing reference cache


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/35d58999
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/35d58999
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/35d58999

Branch: refs/heads/hs/7894
Commit: 35d58999081c4fb2d7cdec61f79e4fd0c531c5e8
Parents: 0e0de67
Author: Heith Seewald <hseewald@slashdotmedia.com>
Authored: Mon Jun 15 08:14:38 2015 -0400
Committer: Heith Seewald <hseewald@slashdotmedia.com>
Committed: Thu Jun 25 14:10:57 2015 +0000

----------------------------------------------------------------------
 Allura/allura/model/repository.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/35d58999/Allura/allura/model/repository.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/repository.py b/Allura/allura/model/repository.py
index 022343f..a3d574c 100644
--- a/Allura/allura/model/repository.py
+++ b/Allura/allura/model/repository.py
@@ -349,6 +349,8 @@ class Repository(Artifact, ActivityObject):
     repo_tags = FieldProperty(S.Deprecated)
     upstream_repo = FieldProperty(dict(name=str, url=str))
     default_branch_name = FieldProperty(str)
+    cached_branches = FieldProperty([dict(name=str, object_id=str)])
+    cached_tags = FieldProperty([dict(name=str, object_id=str)])
 
     def __init__(self, **kw):
         if 'name' in kw and 'tool' in kw:


Mime
View raw message