Re: Build Environment Consistency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/29/2014 04:35 AM, Gene wrote:
Thank you for your feedback, but I *strongly* disagree with your opinion.

1) 'cpan2rpm' and 'cpanspec' are designed to package perl modules into
RPMs; nothing else.

My script was designed to be able to package anything, and to do so in a
simple, easy-to-manage fashion. While 'cpan2rpm' may be able to package
a perl module faster than my script could, its inability to package
anything else would hardly seem to convey a more "thorough" solution for
packaging; especially considering that it also does not support
pre/post/trigger commands.

As an example, togo could easily package a perl module as well. I'll use
a working example of packaging the 'perl-String-Format' module as an
example:

$ togo -c perl-String-Format; cd perl-String-Format
$ mkdir -p root/usr/share/perl5/vendor_perl/String
$ wget -O root/usr/share/perl5/vendor_perl/String/Format.pm
http://tinyurl.com/ksq2zgu
$ togo -f root/usr/share/perl5/vendor_perl/String
$ vi spec/header #Supply summary and description
$ togo -bp #Build the package

-and the perl module has been converted into an RPM.

2) I've never heard of either of those scripts before.

I believe that is a testament to the fact that build environment
consistency needs to be addressed, and documentation and resources
consolidated into a more user-friendly format. 'cpan2rpm' certainly
looks like a great tool for the purpose it was designed for, but it
won't help anyone who can't find it.

Again, your feedback is appreciated, but please at least try out my
software before replying in order to keep the discussion relevant.

Best Regards,
Gene


On Tuesday, January 28, 2014 7:59 PM, Nico Kadel-Garcia
<nkadel@xxxxxxxxx> wrote:
I'm glad you've had a learning exercise. But may I point out that the
"cpan2rpm" and "cpanspec" tools do a more thorough job of this, and
you might benefit from reviewing those and expanding them rather than
trying to write your own tools from scrartch?





--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

Hi Gene,
many people were already looking into automatic packaging. The checkinstall is one of good examples. I don't believe that one tool can manage well Perl, Ruby, Python, C, ... packages. What I'd like to see is one tool, which would use cpanspec, gem2spec, ... and other tools, which know about language specifics. My team is working mainly on interpreted languages, they are using or maintaining those scripts (cpanspec, gem2spec), so the latest Fedora guidelines or upstream changes are reflected.

I know Jan or RPM team were looking into automatic packaging tools. Maybe they can look also on togo and see if it's superior to existing tooling.

Best regards,
Marcela
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux