| Summary: | fedpkg fails to parse my gitconfig | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dave Jones <davej> |
| Component: | GitPython | Assignee: | David Cantrell <dcantrell> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dcantrell, dennis, pfrields, rhbugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | GitPython-0.2.0-0.6.beta1.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-11 04:20:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Ugh, this is a GitPython bug, it doesn't like some of these .gitconfig files. I need to fix that right quick. https://github.com/gitpython-developers/GitPython/pull/21 This pull request should fix it. I'll build a package with this patch soon. GitPython-0.2.0-0.6.beta1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/GitPython-0.2.0-0.6.beta1.fc15 GitPython-0.2.0-0.6.beta1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/GitPython-0.2.0-0.6.beta1.fc14 GitPython-0.2.0-0.6.beta1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/GitPython-0.2.0-0.6.beta1.el6 Package GitPython-0.2.0-0.6.beta1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing GitPython-0.2.0-0.6.beta1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/GitPython-0.2.0-0.6.beta1.el6 then log in and leave karma (feedback). GitPython-0.2.0-0.6.beta1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. GitPython-0.2.0-0.6.beta1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. GitPython-0.2.0-0.6.beta1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |
fedpkg refuses to build anything for me because of something in my .gitconfig. (git accepts it just fine). $ fedpkg build Traceback (most recent call last): File "/usr/bin/fedpkg", line 1494, in <module> args.command(args) File "/usr/bin/fedpkg", line 334, in build url, chain, arches, sets) File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 1295, in build _check_newstyle_branches(repo=self.repo) File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 92, in _check_newstyle_branches re.search(fedpkg, remote.url)] File "/usr/lib/python2.7/site-packages/git/remote.py", line 442, in __getattr__ return self._config_reader.get(attr) File "/usr/lib/python2.7/site-packages/git/remote.py", line 32, in <lambda> return lambda *args, **kwargs: self._call_config(attr, *args, **kwargs) File "/usr/lib/python2.7/site-packages/git/remote.py", line 38, in _call_config return getattr(self._config, method)(self._section_name, *args, **kwargs) File "/usr/lib/python2.7/site-packages/git/config.py", line 53, in assure_data_present self.read() File "/usr/lib/python2.7/site-packages/git/config.py", line 281, in read self._read(fp, fp.name) File "/usr/lib/python2.7/site-packages/git/config.py", line 246, in _read raise e ConfigParser.ParsingError: File contains parsing errors: /home/davej/.gitconfig [line 10]: ' [color "branch"]\n' [line 14]: ' [color "diff"]\n' [line 20]: ' [color "status"]\n' The section of my gitconfig it complains about is this .. [color] ui = auto [color "branch"] current = yellow reverse local = yellow remote = green [color "diff"] meta = yellow bold frag = magenta bold old = red bold new = green bold whitespace = red reverse [color "status"] added = yellow changed = green