The ibm-acpi project needs its git repo refreshed, it failed after copying the repo over. Failure is:
Traceback (most recent call last):
File "/var/local/allura/Allura/allura/tasks/repo_tasks.py", line 97, in reclone_repo
c.app.repo.init_as_clone(source_path, None, source_url)
File "/var/local/allura/Allura/allura/model/repository.py", line 345, in init_as_clone
self.refresh(notify=False, new_clone=True)
File "/var/local/allura/Allura/allura/model/repository.py", line 522, in refresh
refresh_repo(self, all_commits, notify, new_clone)
File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 48, in refresh_repo
repo.refresh_commit_info(oid, seen, not all_commits)
File "/var/local/allura/Allura/allura/model/repository.py", line 309, in refresh_commit_info
return self._impl.refresh_commit_info(oid, seen, lazy)
File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 116, in wrapper
return self.run_and_log(func, inst, *args, **kwargs)
File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.2-py2.7.egg/timermiddleware/__init__.py", line 125, in run_and_log
return func(*args, **kwargs)
File "/var/local/allura/ForgeGit/forgegit/model/git_repo.py", line 209, in refresh_commit_info
tree_id=ci.tree.hexsha,
File "/var/local/env-allura/lib/python2.7/site-packages/gitdb-0.5.4-py2.7-linux-x86_64.egg/gitdb/util.py", line 238, in __getattr__
self._set_cache_(attr)
File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1.20130214-py2.7.egg/git/objects/commit.py", line 132, in _set_cache_
self._deserialize(StringIO(stream.read()))
File "/var/local/env-allura/lib/python2.7/site-packages/GitPython-0.3.2.RC1.20130214-py2.7.egg/git/objects/commit.py", line 461, in
_deserialize print >> sys.stderr, "Failed to decode message '%s' using encoding %s" % (self.message, self.encoding)
IOError: [Errno 32] Broken pipe
GitPython bug fix from yesterday's production push fixed this issue. Refreshing.
allura:cj/6110The repo does have commits with bad commit messages, but GitPython prints a warning to stderr and keeps going; other than the Broken Pipe error, the commit message renders fine. So the code change just ensures that that there is a valid (logging) stderr which will allow it to refresh successfully.
After 5 days, the repo refresh is still running, it's at commit info 54700 of 314487, to say nothing of child info, commit run, commit trees, diffs, lcds.