[publican-list] odd publican package error
Jeffrey Fearn
jfearn at redhat.com
Thu Aug 5 22:52:02 UTC 2010
Ruediger Landmann wrote:
> On 08/06/2010 01:30 AM, Douglas Silas wrote:
>> Hi,
>>
>> Trying to package the latest RHEL5 DG (after bumping the pubsnumber)
>> on brew with this command:
>>
>> publican package --brew --lang=es-ES
>
> <snip>
>
>>
>> The relevant error message there seems to be:
>>
>> [0mInvalid format for release. Value (ARRAY(0xd12e2f0)) does not
>> conform to constraint ([^0-9.]) at /usr/bin/publican line 514
>
> I'm note sure whether it's the cause of the error you're seeing, but
> note that the pubsnumber only governs the release number for packages in
> the language in which the XML is authored (in this case, en-US). The
> release number for packages in translated packages is governed by the
> "Project-Id-Version" parameter in the Book_Info.po file for that
> language. For example, if this is release 42 of the Spanish translation
> of the book, set:
>
> "Project-Id-Version: 42\n"
>
> in the es-ES/Book_Info.po file.
>
> I wonder whether you're seeing that error because you have something
> other than numerals or a dot in the "Project-Id-Version" parameter for
> the Spanish version of the DG?
Indeed, the Book_Info.po files in the 5.5 SVN repo have either:
"Project-Id-Version: PACKAGE VERSION\n"
or
"Project-Id-Version: Deployment_Guide\n"
> A few weeks ago, I realized this information was missing from the
> Publican User Guide; it's in there for the next release (2.2, out soon).
The translators have known about this for ages.
I'll see if I can re-jig the code so this gets picked up earlier in the
process, like package creation instead of building.
I opened https://bugzilla.redhat.com/show_bug.cgi?id=621721
Cheers, Jeff.
--
Jeff Fearn <jfearn at redhat.com>
Software Engineer
Engineering Operations
Red Hat, Inc
Freedom ... courage ... Commitment ... ACCOUNTABILITY
More information about the publican-list
mailing list