[publican-list] [Bug 661948] New: Updating the database for packaged books is fragile

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 10 03:35:56 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: Updating the database for packaged books is fragile

https://bugzilla.redhat.com/show_bug.cgi?id=661948

           Summary: Updating the database for packaged books is fragile
           Product: Publican
           Version: 2.5
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: medium
          Priority: low
         Component: publican
        AssignedTo: jfearn at redhat.com
        ReportedBy: jfearn at redhat.com
         QAContact: rlandman at redhat.com
                CC: mmcallis at redhat.com, publican-list at redhat.com
    Classification: Other
    Target Release: ---


Description of problem:
The way the database is updated for packaged books is very fragile, prone to
breaking, and not very cross platform friendly.

This becomes particularly apparent when the underlying perl code changes and
the install (e.g. RPM spec) files need to be updated. 

Instead of using naked perl in the install files publican should have a CLI
action to allow the database to be updated. This way the install files are less
likely to break and will require modification less often.

e.g.

$ publican update_db --add --lang en-US --formats html,pdf --name Foo \
--name_label "foo is good" --version 0.1 --version_label UNUSED \
--product Bar --product_label "To the bar" \
--subtitle "A guide to Bar Foo" \
--abstract "There once was a Foo from Bar ..."

$ publican update_db --del --lang en-US --name Foo --version 0.1 --product Bar
\
--site_config /usr/share/bar/foo.cfg

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