Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: [PATCH] Fix syntax of code examples within rpm-guide-programming-python.xml
https://bugzilla.redhat.com/show_bug.cgi?id=769438
Summary: [PATCH] Fix syntax of code examples within rpm-guide-programming-python.xml Product: Fedora Documentation Version: devel Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: unspecified Priority: unspecified Component: rpm-guide AssignedTo: bcotton+fedora@gmail.com ReportedBy: dmalcolm@redhat.com QAContact: docs-qa@lists.fedoraproject.org CC: oglesbyzm@gmail.com, pkovar@redhat.com Classification: Fedora Story Points: --- Type: --- Regression: --- Mount Type: --- Documentation: ---
Created attachment 548940 --> https://bugzilla.redhat.com/attachment.cgi?id=548940 Patch to Rpm Guide to fix rpm-guide-programming-python.xml
Unfortunately the examples of Python code within the RPM guide have been thoroughly broken since the initial conversion to DocBook, due to the way Python treats leading whitespace as significant.
I'm attaching a patch which overhauls this page, so that the code examples are syntactically valid. See the notes in the patch
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=769438
--- Comment #1 from Dave Malcolm dmalcolm@redhat.com 2011-12-20 15:38:42 EST --- Note: bugzilla is mangling the patch somewhat. Use the "raw" viewing mode aka: https://bugzilla.redhat.com/attachment.cgi?id=548940 to see the additional notes at the top of the patch.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=769438
Ben Cotton bcotton+fedora@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|unspecified |medium Status|NEW |ON_QA Severity|unspecified |medium
--- Comment #2 from Ben Cotton bcotton+fedora@gmail.com 2011-12-20 16:18:00 EST --- Patch committed.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=769438
Dave Malcolm dmalcolm@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag| |needinfo?(bcotton+fedora@gm | |ail.com)
--- Comment #3 from Dave Malcolm dmalcolm@redhat.com 2012-04-17 14:01:15 EDT --- Has the html been regenerated yet?
When I google for "rpm python api docs" it takes me to: http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_...
and these have the old, broken version of the python api docs.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=769438
Ben Cotton bcotton+fedora@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flag|needinfo?(bcotton+fedora@gm | |ail.com) |
--- Comment #4 from Ben Cotton bcotton+fedora@gmail.com 2012-04-17 14:11:05 EDT --- The HTML has not been regenerated yet, I'll try to get to that shortly.
https://bugzilla.redhat.com/show_bug.cgi?id=769438
Petr Kovar pkovar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |WONTFIX Last Closed| |2017-12-14 05:30:23
--- Comment #5 from Petr Kovar pkovar@redhat.com --- The RPM Guide has been deprecated in favor of https://rpm-packaging-guide.github.io/.
Closing the issue here.
docs-qa@lists.fedoraproject.org