'master' assumed to be the default remote branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zuul |
Fix Released
|
Undecided
|
Antoine "hashar" Musso |
Bug Description
Whenever someone has a git repository whose HEAD is not 'master', Zuul is unable to merge changes. The stack trace:
2012-11-26 11:07:37,751 INFO zuul.Scheduler: Adding operations/puppet, <Change 0x26fb790 35135,1> to <Pipeline check>
2012-11-26 11:07:37,998 ERROR zuul.Merger: Unable to reset repo <zuul.merger.Repo object at 0x1e2bbd0>
Traceback (most recent call last):
File "zuul-0.
repo.reset()
File "zuul-0.
self.
File "/usr/lib/
return list.__
AttributeError: 'IterableList' object has no attribute 'master'
2012-11-26 11:07:37,998 INFO zuul.Independen
In Repo.reset() of zuul/merger.py :
self.repo.
self.repo.
self.repo.
Not sure how to fix that one, ideally it should reset to whatever defaut branch is used in remote but I havent found a way to get that information using python-git :(
Example repo https:/ /gerrit. wikimedia. org/r/p/ operations/ puppet. git