[publican-list] [Bug 599283] RFE: publican.defaults

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 25 16:47:11 UTC 2012


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=599283

Martin Prpic <mprpic at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|MODIFIED                    |VERIFIED

--- Comment #4 from Martin Prpic <mprpic at redhat.com> 2012-04-25 12:47:08 EDT ---
Verified for "publican lang_stat" and "publican add_revision" on Fedora release
16 (Verne).

book]$ rpm -q publican
publican-3.0-0.fc16.t166.noarch
book]$ publican lang_stats 
Use of uninitialized value $opts{"lang"} in string eq at /usr/bin/publican line
806, <FH> line 6.
'lang' is a mandatory argument at /usr/bin/publican line 812
book]$ echo "lang: en-US" >> ~/.publican.cfg 
book]$ publican lang_stats 
====================================================================
File Name                         Untranslated      Fuzzy Translated
====================================================================
====================================================================
Total for en-US                              0          0          0

... [output truncated]


AND


book]$ rpm -q publican
publican-3.0-0.fc16.t166.noarch
book]$ publican add_revision --member "test"
firstname is a required option for add_revision at /usr/bin/publican line 835
book]$ echo "firstname: Dude" >> ~/.publican.cfg 
book]$ echo "surname: McPants" >> ~/.publican.cfg 
book]$ echo "email: Dude.McPants at awesome.com" >> ~/.publican.cfg 
book]$ publican add_revision --member "test"
     Processing file en-US/Revision_History.xml -> en-US/Revision_History.xml
book]$ cat en-US/Revision_History.xml 
... [output truncated]
                      <revnumber>0.0-3</revnumber>
                      <date>Wed Apr 25 2012</date>
                      <author>
                           <firstname>Dude</firstname>
                           <surname>McPants</surname>
                           <email>Dude.McPants at awesome.com</email>
                      </author>
                         <revdescription>
                              <simplelist>
                                 <member>test</member>
                              </simplelist>
                         </revdescription>
... [output truncated]


Cool feature. Thanks for adding it!
Martin

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the publican-list mailing list