incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [02/50] git commit: [#6535] ticket:424 Fix status names for tracker
Date Thu, 26 Sep 2013 18:29:20 GMT
[#6535] ticket:424 Fix status names for tracker

Fixes default saved searches for closed and open ticket.


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

Branch: refs/heads/tv/6612
Commit: be9d119704afb513ec764125ef8095e872b22f1f
Parents: 2ca21ae
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Tue Sep 17 15:06:57 2013 +0300
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Thu Sep 19 14:46:51 2013 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/github/tracker.py            | 4 ++--
 ForgeImporters/forgeimporters/tests/github/test_tracker.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/be9d1197/ForgeImporters/forgeimporters/github/tracker.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/github/tracker.py b/ForgeImporters/forgeimporters/github/tracker.py
index 1b37e5b..d068e47 100644
--- a/ForgeImporters/forgeimporters/github/tracker.py
+++ b/ForgeImporters/forgeimporters/github/tracker.py
@@ -87,8 +87,8 @@ class GitHubTrackerImporter(ToolImporter):
             mount_label=None, **kw):
         app = project.install_app('tickets', mount_point, mount_label,
                 EnableVoting=False,
-                open_status_names='Open',
-                closed_status_names='Closed',
+                open_status_names='open',
+                closed_status_names='closed',
             )
         ThreadLocalORMSession.flush_all()
         extractor = GitHubProjectExtractor(

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/be9d1197/ForgeImporters/forgeimporters/tests/github/test_tracker.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/tests/github/test_tracker.py b/ForgeImporters/forgeimporters/tests/github/test_tracker.py
index 1376e55..7ff8c9b 100644
--- a/ForgeImporters/forgeimporters/tests/github/test_tracker.py
+++ b/ForgeImporters/forgeimporters/tests/github/test_tracker.py
@@ -46,8 +46,8 @@ class TestTrackerImporter(TestCase):
 
         project.install_app.assert_called_once_with('tickets', 'mount_point', 'mount_label',
                 EnableVoting=False,
-                open_status_names='Open',
-                closed_status_names='Closed',
+                open_status_names='open',
+                closed_status_names='closed',
             )
         gpe.iter_issues.assert_called_once()
         self.assertEqual(tlos.flush_all.call_args_list, [


Mime
View raw message