Bug 1780701
| Summary: | Reposurgeon fails during certain operations with Python errors due to formatting | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | jadecristal | ||||
| Component: | reposurgeon | Assignee: | Denis Fateyev <denis> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 31 | CC: | denis, i, mrashish | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | reposurgeon-3.47-3.fc31 reposurgeon-3.47-3.fc32 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-06-29 01:05:40 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 1691695 [details]
fix tab space issue
patch for the package
Pushed updates for F31, F32 and Rawhide. Reposurgeon 4.x will be pushed once appropriate Go dependencies modules PRs are passed. FEDORA-2020-4d509ff0d2 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-4d509ff0d2 FEDORA-2020-b04a209d5e has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-b04a209d5e FEDORA-2020-b04a209d5e has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-b04a209d5e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-b04a209d5e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-4d509ff0d2 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-4d509ff0d2` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-4d509ff0d2 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-b04a209d5e has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-4d509ff0d2 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: Reposurgeon fails during certain operations with Python errors due to formatting. This occurs in multiple operations. Version-Release number of selected component (if applicable): 3.47 1.fc31 from reposurgeon-3.47-1.fc31 @System How reproducible: Completely Steps to Reproduce: 1. Assuming the package is installed, create a directory and run repotool initialize PROJECTNAME, e.g.: repotool initialize sampleconversion Respond with "svn" and "git" to the two questions on the to/from systems. 2. Edit the Makefile generated by repotool and add a valid Subversion https repository. 3. In the project directory, run "make stubmap" (which would read the committers from the repo to produce a committer-to-email mapping file of PROJECTNAME.map) OR run simply "make" Actual results: ------------------------------------------------------------ reposurgeon "verbose 1" 'script repos3.opts' "read <repos3.svn" 'authors read <repos3.map' 'sourcetype svn' 'prefer git' 'script repos3.lift' 'legacy write >repos3.fo' 'write >repos3.fi' File "/usr/bin/reposurgeon", line 5043 announce(DEBUG_TOPOLOGY, "r%s: file copy matching %s finds %s" \ ^ TabError: inconsistent use of tabs and spaces in indentation make: *** [Makefile:63: repos3.fi] Error 1 ------------------------------------------------------------ (cd repos3-mirror/ >/dev/null; repotool export) >repos3.svn reposurgeon "verbose 1" 'script repos3.opts' "read <repos3.svn" 'authors read <repos3.map' 'sourcetype svn' 'prefer git' 'script repos3.lift' 'legacy write >repos3.fo' 'write >repos3.fi' File "/usr/bin/reposurgeon", line 5121 announce(DEBUG_EXTRACT, "no branch analysis") ^ TabError: inconsistent use of tabs and spaces in indentation make: *** [Makefile:63: repos3.fi] Error 1 ------------------------------------------------------------ Expected results: No errors. Additional info: Multiple different statements and errors have occurred; attempting to correct them by modifying formatting in the /usr/bin/reposurgeon file seems to incrementally make them go away if parts of the file are reformatted add/remove tabs/spaces. There exists a newer (3.48) version from the author's website; however, I don't know how the packaging of this component works. This is the final version of the product based on python; 4.0 will be written using Go, according to the author's website.