You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/08/21 22:12:46 UTC
[30/50] git commit: [#3154] only include options in config (exported
by Tracker tool). ACL and other fields aren't useful on their own
[#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/69deb7e4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/69deb7e4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/69deb7e4
Branch: refs/heads/db/3154b
Commit: 69deb7e4d1ba5ce16d0e133b92931b9fa9e388d9
Parents: b79af1a
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Thu Aug 1 19:24:14 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed Aug 21 18:12:26 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/69deb7e4/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/69deb7e4/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'))