allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <d...@brondsema.net>
Subject [allura:tickets] #7913 Handle parsing of the output from new git versions
Date Mon, 03 Aug 2015 22:44:40 GMT
~~~~
$ GIT_PYTHON_GIT_EXECUTABLE=/home/dbrondsema/bin/git ./run_tests -p ForgeGit
<DummyProcess(Thread-1, started daemon 140022074431808)> running nosetests  --cover-package=forgegit
 {'cwd': 'ForgeGit'}
..............................................................................................................FF....................
======================================================================
FAIL: test_log (forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dbrondsema/dbrondsema-1019/forge/ForgeGit/forgegit/tests/model/test_repository.py",
line 316, in test_log
    'rename_details': {}},
AssertionError: Lists differ: [{'parents': ['df30427c488aeab... != [{'parents': ['df30427c488aeab...

First differing element 0:
{'parents': ['df30427c488aeab84b2352bdf88a3b19223f9d7a'], 'refs': ['HEAD -> master', 'foo'],
'committed': {'date': datetime.datetime(2010, 10, 7, 18, 44, 11), 'name': u'Rick Copeland',
'email': u'rcopeland@geek.net'}, 'message': u'Change README\n', 'rename_details': {}, 'id':
'1e146e67985dcd71c74de79613719bef7bddca4a', 'authored': {'date': datetime.datetime(2010, 10,
7, 18, 44, 11), 'name': u'Rick Copeland', 'email': u'rcopeland@geek.net'}, 'size': None}
{'parents': ['df30427c488aeab84b2352bdf88a3b19223f9d7a'], 'refs': ['HEAD', 'foo', 'master'],
'committed': {'date': datetime.datetime(2010, 10, 7, 18, 44, 11), 'email': u'rcopeland@geek.net',
'name': u'Rick Copeland'}, 'message': u'Change README\n', 'rename_details': {}, 'id': '1e146e67985dcd71c74de79613719bef7bddca4a',
'authored': {'date': datetime.datetime(2010, 10, 7, 18, 44, 11), 'email': u'rcopeland@geek.net',
'name': u'Rick Copeland'}, 'size': None}

Diff is 2166 characters long. Set self.maxDiff to None to see it.
-------------------- >> begin captured stdout << ---------------------
Running setup_app() from allura.websetup

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: test_log_file (forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dbrondsema/dbrondsema-1019/forge/ForgeGit/forgegit/tests/model/test_repository.py",
line 349, in test_log_file
    'rename_details': {}},
AssertionError: Lists differ: [{'parents': ['df30427c488aeab... != [{'parents': ['df30427c488aeab...

First differing element 0:
{'parents': ['df30427c488aeab84b2352bdf88a3b19223f9d7a'], 'refs': ['HEAD -> master', 'foo'],
'committed': {'date': datetime.datetime(2010, 10, 7, 18, 44, 11), 'name': u'Rick Copeland',
'email': u'rcopeland@geek.net'}, 'message': u'Change README\n', 'rename_details': {}, 'id':
'1e146e67985dcd71c74de79613719bef7bddca4a', 'authored': {'date': datetime.datetime(2010, 10,
7, 18, 44, 11), 'name': u'Rick Copeland', 'email': u'rcopeland@geek.net'}, 'size': 28}
{'parents': ['df30427c488aeab84b2352bdf88a3b19223f9d7a'], 'refs': ['HEAD', 'foo', 'master'],
'committed': {'date': datetime.datetime(2010, 10, 7, 18, 44, 11), 'email': u'rcopeland@geek.net',
'name': u'Rick Copeland'}, 'message': u'Change README\n', 'rename_details': {}, 'id': '1e146e67985dcd71c74de79613719bef7bddca4a',
'authored': {'date': datetime.datetime(2010, 10, 7, 18, 44, 11), 'email': u'rcopeland@geek.net',
'name': u'Rick Copeland'}, 'size': 28}

Diff is 1129 characters long. Set self.maxDiff to None to see it.
-------------------- >> begin captured stdout << ---------------------
Running setup_app() from allura.websetup

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 132 tests in 593.344s

FAILED (failures=2)
finished nosetests  --cover-package=forgegit  {'cwd': 'ForgeGit'}
~~~~


---

** [tickets:#7913] Handle parsing of the output from new git versions**

**Status:** in-progress
**Milestone:** unreleased
**Labels:** sf-2 sf-current 
**Created:** Tue Jul 07, 2015 04:26 PM UTC by Heith Seewald
**Last Updated:** Fri Jul 31, 2015 02:58 PM UTC
**Owner:** Dave Brondsema


Allura needs to handle parsing of the new `git log` output to ensure Allura will work with
any git version.

Changes in the formatting are documented [here](https://github.com/git/git/blob/master/Documentation/RelNotes/2.4.0.txt).


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message