allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [23/50] git commit: [#3154] only include options in config (exported by Tracker tool). ACL and other fields aren't useful on their own
Date Thu, 22 Aug 2013 21:53:49 GMT
[#3154] only include options in config (exported by Tracker tool).  ACL and other fields aren't
useful on their own


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

Branch: refs/heads/master
Commit: 9cbb59991a9ececb9ebe0013fe36d79eb4da6617
Parents: 6ee0e0d
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Thu Aug 1 19:24:14 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Thu Aug 22 20:04:43 2013 +0000

----------------------------------------------------------------------
 Allura/allura/model/project.py              | 6 ------
 ForgeTracker/forgetracker/tests/test_app.py | 2 --
 2 files changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/9cbb5999/Allura/allura/model/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/project.py b/Allura/allura/model/project.py
index 2258c18..1b21d37 100644
--- a/Allura/allura/model/project.py
+++ b/Allura/allura/model/project.py
@@ -961,11 +961,5 @@ class AppConfig(MappedClass):
     def __json__(self):
         return dict(
             _id=self._id,
-            project_id=self.project_id,
-            discussion_id=self.discussion_id,
-            tool_name=self.tool_name,
-            version=self.version,
             options=self.options,
-            tool_data=self.tool_data,
-            acl=self.acl,
         )

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/9cbb5999/ForgeTracker/forgetracker/tests/test_app.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tests/test_app.py b/ForgeTracker/forgetracker/tests/test_app.py
index 0568829..b92a72f 100644
--- a/ForgeTracker/forgetracker/tests/test_app.py
+++ b/ForgeTracker/forgetracker/tests/test_app.py
@@ -55,9 +55,7 @@ class TestBulkExport(TrackerTestController):
         assert_equal(posts_foo[0]['text'], 'silly comment')
 
         tracker_config = tracker['tracker_config']
-        assert_equal(tracker_config['project_id'], unicode(self.project._id))
         assert_true('options' in tracker_config.keys())
-        assert_true('acl' in tracker_config.keys())
         assert_equal(tracker_config['options']['mount_point'], 'bugs')
 
         milestones = sorted(tracker['milestones'], key=operator.itemgetter('name'))


Mime
View raw message