allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hei...@apache.org
Subject [43/46] allura git commit: [#7873] Add fields to Repository for storing reference cache
Date Mon, 15 Jun 2015 12:28:02 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/64fd1d8a
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/64fd1d8a
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/64fd1d8a

Branch: refs/heads/hs/7873
Commit: 64fd1d8a42c5671e9782c5d003ad80ae8c5bd21d
Parents: 52b6b04
Author: Heith Seewald <hseewald@slashdotmedia.com>
Authored: Mon Jun 15 08:14:38 2015 -0400
Committer: Heith Seewald <hseewald@slashdotmedia.com>
Committed: Mon Jun 15 08:26:32 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/allura/blob/64fd1d8a/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