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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected], [email protected]
    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.

_______________________________________________
publican-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/publican-list
Wiki: https://fedorahosted.org/publican

Reply via email to