Bug 580799

Summary: RFE: Find unused XML files in document directory
Product: [Community] Publican Reporter: Ruediger Landmann <rlandman+disabled>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 1.6CC: jfearn, mmcallis, publican-list, rlandman
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: publican-1.6.3-0.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-17 18:56:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ruediger Landmann 2010-04-09 05:02:43 UTC
Description of problem:
"publican printtree" prints a list of all the XML files included in a document. However, it's sometimes useful to generate a list of XML files in the en-US directory which are /not/ included in the document. In particular, it would be useful to be able to check for any such files before generating POTs and therefore risking wasting translators' time.

Maybe printtree could also list unused XML files as part of its normal operation? or perhaps this could be a new action option for printtree?

Version-Release number of selected component (if applicable):
1.6.2

Comment 2 Jeff Fearn 🐞 2010-04-10 00:01:10 UTC
$ publican print_unused

No unused XML files

$ cp en-US/Author_Group.xml en-US/TEST.xml

$ publican print_unused

List of unused XML files in en-US
   TEST.xml

Comment 3 Ruediger Landmann 2010-05-06 04:54:42 UTC
Confirmed working on version 1.6.3.t122

Comment 4 Fedora Update System 2010-05-13 22:20:36 UTC
publican-1.6.3-0.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc13

Comment 5 Fedora Update System 2010-05-13 22:21:53 UTC
publican-1.6.3-0.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc12

Comment 6 Fedora Update System 2010-05-15 20:36:15 UTC
publican-1.6.3-0.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update publican'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc12

Comment 7 Fedora Update System 2010-05-15 20:45:30 UTC
publican-1.6.3-0.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update publican'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/publican-1.6.3-0.fc13

Comment 8 Fedora Update System 2010-05-17 18:55:28 UTC
publican-1.6.3-0.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-05-17 18:59:20 UTC
publican-1.6.3-0.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.