From Fedora Project Wiki

(23 intermediate revisions by 9 users not shown)
Line 3: Line 3:
= Fedora Perl SIG Mission =
= Fedora Perl SIG Mission =


To assist packagers in bringing Perl-related packages to Fedora Extras and assisting in their continued maintenance by providing timely reviews, acting as secondary package owners and assisting with related security issues.
To assist packagers in bringing Perl-related packages to Fedora and assisting in their continued maintenance by providing timely reviews, acting as secondary package owners and assisting with related security issues.


= Perl Components in Fedora =
= Perl Components in Fedora =
Line 9: Line 9:
== Core Perl ==
== Core Perl ==


Core perl in Fedora is currently 5.12.1.
[http://search.cpan.org/~dom/perl/|Core perl] in Fedora is defined by perl-core package. Some core modules are replaced with packages dual-living on CPAN. [https://koji.fedoraproject.org/koji/packageinfo?packageID=84 See koji build listing for current perl version.]
 
* http://search.cpan.org/CPAN/authors/id/J/JE/JESSE/perl-5.12.1.tar.gz
* http://use.perl.org/article.pl?sid=10/05/18/1534218&from=rss


== Apps ==
== Apps ==
Line 20: Line 17:
* [http://clusterssh.sourceforge.net Cluster SSH]  - Cluster Admin Via SSH
* [http://clusterssh.sourceforge.net Cluster SSH]  - Cluster Admin Via SSH
* [http://www.alzabo.org/ Alzabo]  - Data modelling tool (also in CPAN)
* [http://www.alzabo.org/ Alzabo]  - Data modelling tool (also in CPAN)
* [http://bestpractical.com/rt/ RT] - Release Tracker - a battle-tested issue tracking system
* [http://mojomojo.org/ MojoMojo] - Catalyst-based wiki, with live as-you-type AJAX preview of edits
* [http://padre.perlide.org/ Padre] - The Perl IDE


== Frameworks ==
== Frameworks ==
Line 46: Line 46:
Bugzilla is an excellent place to find information about the various perl packages in or being reviewed for inclusion:
Bugzilla is an excellent place to find information about the various perl packages in or being reviewed for inclusion:


* [https://bugzilla.redhat.com/buglist.cgi?query_format=advanced&short_desc_type=casesubstring&short_desc=perl-&classification=Fedora&product=Fedora&component=Package%20Review&bug_status=NEW&bug_status=ASSIGNED Review queue]  
* [https://bugzilla.redhat.com/buglist.cgi?query_format=advanced&short_desc=perl&bug_status=NEW&bug_status=ASSIGNED&short_desc_type=allwordssubstr&component=Package%20Review&product=Fedora&classification=Fedora Review queue]
* [https://bugzilla.redhat.com/buglist.cgi?short_desc=perl&classification=Fedora&emailtype1=substring&query_format=advanced&emailassigned_to1=1&bug_status=NEW&bug_status=ASSIGNED&short_desc_type=allwordssubstr&email1=nobody%40fedoraproject.org&component=Package%20Review&product=Fedora Reviews without reviewer]
* [https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=MODIFIED&email1=fedora-perl-devel-list%40redhat.com&emailcc1=1&emailtype1=exact&field-1-0-0=product&field-1-1-0=bug_status&field-1-2-0=cc&product=Fedora&query_format=advanced&remaction=&type-1-0-0=anyexact&type-1-1-0=anyexact&type-1-2-0=anyexact&value-1-0-0=Fedora&value-1-1-0=NEW%2CASSIGNED%2CMODIFIED&value-1-2-0=fedora-perl-devel-list%40redhat.com&order=bugs.bug_id&query_based_on= Open bugs]
* [https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=MODIFIED&email1=fedora-perl-devel-list%40redhat.com&emailcc1=1&emailtype1=exact&field-1-0-0=product&field-1-1-0=bug_status&field-1-2-0=cc&product=Fedora&query_format=advanced&remaction=&type-1-0-0=anyexact&type-1-1-0=anyexact&type-1-2-0=anyexact&value-1-0-0=Fedora&value-1-1-0=NEW%2CASSIGNED%2CMODIFIED&value-1-2-0=fedora-perl-devel-list%40redhat.com&order=bugs.bug_id&query_based_on= Open bugs]
* [https://bugzilla.redhat.com/buglist.cgi?query_format=advanced&short_desc=FTBFS%20perl&bug_status=NEW&bug_status=ASSIGNED&short_desc_type=allwordssubstr&product=Fedora&classification=Fedora FTBFS bugs]
* Perl on [[Perl Server|server]] (ideas)


= Fedora perl infrastructure =
= Fedora perl infrastructure =
Line 69: Line 72:
** Try to have RPM patched in order to create the debuginfo files after the %check section script is executed and not before (right now the files are created after the %install check script is executed). This breaks the signature tests (there are also other problems related to the signature tests in the building environment: network access to import pgg keys, where should they be stored, ...). More information available [http://koti.welho.com/vskytta/packagers-handbook/packagers-handbook.html#guidelines-perl-cpansign here]  and in bug  [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=167252 #167252] .
** Try to have RPM patched in order to create the debuginfo files after the %check section script is executed and not before (right now the files are created after the %install check script is executed). This breaks the signature tests (there are also other problems related to the signature tests in the building environment: network access to import pgg keys, where should they be stored, ...). More information available [http://koti.welho.com/vskytta/packagers-handbook/packagers-handbook.html#guidelines-perl-cpansign here]  and in bug  [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=167252 #167252] .
* How to update core perl modules?  
* How to update core perl modules?  
** [https://fedoraproject.org/wiki/Perl/updates tips for updates]
** [[Perl/updates|tips for updates]]
* The correct @INC directories are still questionable.
* The correct [[Perl/Draft:INC_directories|@INC directories]] are still questionable.
* Have a common dir for noarch modules instead of one for each perl version supported.
* Have a common dir for noarch modules instead of one for each perl version supported.
* The magic that is perl(:WITH_xxx) needs to be better documented and explained, so packagers -- and reviewers! -- know:
* The magic that is perl(:WITH_xxx) needs to be better documented and explained, so packagers -- and reviewers! -- know:
Line 77: Line 80:
** When to _not_ use them
** When to _not_ use them
** Common things to check for that would indicate their usage
** Common things to check for that would indicate their usage
* explore possibilities or merging RPM2 functionality into RPM namespace
* explore possibilities or merging RPM2 functionality into RPM namespace [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=671389 #671389]
 
See [[Perl/Plan]] for structured plan.


== Miscellaneous ==
== Miscellaneous ==


* Clarified packaging guidelines - Some of the packaging guidelines have conflicted with some common practises.
* Clarified packaging guidelines - Some of the packaging guidelines (see [[Packaging/Perl]]) have conflicted with some common practises.
** For example, BuildRequires: perl was common but forbidden; that has now been changed.  One current issue is the prohibition against including header files in the main package; some perl modules include these deep in the module directory hierarchy, and moving them to a separate -devel package is pointless.
** For example, BuildRequires: perl was common but forbidden; that has now been changed.  One current issue is the prohibition against including header files in the main package; some perl modules include these deep in the module directory hierarchy, and moving them to a separate -devel package is pointless.
* Notes about "Makefile.PL vs Build.PL" or "{{CPAN|ExtUtils::MakeMaker}} vs {{CPAN|Module::Build}}"
* Notes about "Makefile.PL vs Build.PL" or "{{CPAN|ExtUtils::MakeMaker}} vs {{CPAN|Module::Build}}"
Line 88: Line 93:
= Packagers/Reviewers/People interested in helping =
= Packagers/Reviewers/People interested in helping =


* [[ChrisWeyl]]
* [[User:eseyman|Emmanuel Seyman]]
* [[GavinHenry]]
* [[IainArnell|Iain Arnell]] (a sponsor)
* [[JasonTibbitts]]
* [[JasonTibbitts]]
* [[PaulHowarth]]
* [[User:jplesnik|Jitka Plesníková]]
* [[StevenPritchard]]
* [[ChrisWeyl]]
* [[GavinHenry]]
* [[GavinHenry]]
* [[ParagNemade]]
* [[StepanKasal]]
* [[MarcelaMaslanova]]
* [[User:Lkundrak|Lubomir Rintel]]
* [[IainArnell|Iain Arnell]]
* [[User:gerd|Gerd Pokorra]]
* [[User:gerd|Gerd Pokorra]]
* [[User:eseyman|Emmanuel Seyman]]
* [[User:Lkundrak|Lubomir Rintel]] (a sponsor)
* [[User:Mmaslano|Marcela Mašláňová]]
* [[PaulHowarth]] (a sponsor)
* [[User:ppisar|Petr Písař]]
* [[User:psabata|Petr Šabata]] (a sponsor)
* [[User:Rlandmann|Rüdiger Landmann]]
* [[GavinHenry]]
* [[StevenPritchard]] (a sponsor)


You can also see people who have tagged their user pages in the [[:Category:SIG Members/Perl]].
You can also see people who have tagged their user pages in the [[:Category:SIG Members/Perl]].
Line 109: Line 118:
* [[Perl/updates]]
* [[Perl/updates]]
* Fedora perl specfile template (available in the rpmdevtools package)
* Fedora perl specfile template (available in the rpmdevtools package)
* [https://admin.fedoraproject.org/mailman/listinfo/perl-devel Fedora Perl mailing list]
* [[Perl/cpanspec|  cpanspec]]
* [[Perl/cpanspec|  cpanspec]]
* [[Perl/perl.spec| maintaining perl.spec]]
* [[Perl/perl.spec| maintaining perl.spec]]
* [[Packaging/Perl]]  
* [[Packaging/Perl]]
* [[Perl/Tips]]
* [http://koti.welho.com/vskytta/packagers-handbook/packagers-handbook.html#guidelines-perl Perl packaging tips]  (work in progress)
* [http://koti.welho.com/vskytta/packagers-handbook/packagers-handbook.html#guidelines-perl Perl packaging tips]  (work in progress)
* [http://gsd.di.uminho.pt/jpo/perl/specfiles/ Notes about perl specfiles]  (old)
* [http://gsd.di.uminho.pt/jpo/perl/specfiles/ Notes about perl specfiles]  (old)
= Communication & help =
* {{fplist|perl-devel}} is our SIG's mailing list
* IRC: {{fpchat|#fedora-perl}}


----
----

Revision as of 13:28, 2 April 2014

Fedora Perl SIG Mission

To assist packagers in bringing Perl-related packages to Fedora and assisting in their continued maintenance by providing timely reviews, acting as secondary package owners and assisting with related security issues.

Perl Components in Fedora

Core Perl

perl in Fedora is defined by perl-core package. Some core modules are replaced with packages dual-living on CPAN. See koji build listing for current perl version.

Apps

  • Bugzilla - Defect Tracking System
    • Some testing on an SELinux-enabled system was needed (see RHBZ #188359)
  • Cluster SSH - Cluster Admin Via SSH
  • Alzabo - Data modelling tool (also in CPAN)
  • RT - Release Tracker - a battle-tested issue tracking system
  • MojoMojo - Catalyst-based wiki, with live as-you-type AJAX preview of edits
  • Padre - The Perl IDE

Frameworks

There are a number of the more popular Perl frameworks available in Fedora.

  • Bricolage - Content Management System
  • Catalyst - MVC Web Application Framework
  • DBIx::Class - DBIx::Class is a modern, powerful object-relational mapping system
  • Moose - Modern perl5 OOP system
  • POE - Portable multitasking and networking framework

Perl/Parrot/Pugs

Perl packages in Fedora

Please edit the Perl wishlist if you want something, or package something off it if you're bored :)

Bugzilla is an excellent place to find information about the various perl packages in or being reviewed for inclusion:

Fedora perl infrastructure

Perl to CPAN Mapping

With most perl modules being in CPAN, preliminary "mapping" table has been created. This table is regenerated on a daily basis, and will be included in the upcoming Perl SIG Infrastructure hosted project .

http://perl.biggerontheinside.net

Problems that need to be addressed

The following topics need to be discussed/improved/corrected. We need to start discussing them in the fedora-perl-list.

  • Improve the RPM perl scripts (requirements and provides detection)
    • rpm: handle the ‘v’ in “use v5.6.0″ (#140597) (reportedly fixed in rpm5.org's RPM 4.4.3)
    • fix: perldeps and prov.pl not to emit perl(main) (#177960) (reportedly fixed in rpm5.org's RPM 4.4.5)
    • at least try to handle use statements a litte better (eg: use base Module; use autouse Module; ...)
      • Use PPI?
    • Try to have RPM patched in order to create the debuginfo files after the %check section script is executed and not before (right now the files are created after the %install check script is executed). This breaks the signature tests (there are also other problems related to the signature tests in the building environment: network access to import pgg keys, where should they be stored, ...). More information available here and in bug #167252 .
  • How to update core perl modules?
  • The correct @INC directories are still questionable.
  • Have a common dir for noarch modules instead of one for each perl version supported.
  • The magic that is perl(:WITH_xxx) needs to be better documented and explained, so packagers -- and reviewers! -- know:
    • What they are and what they mean
    • When to use them
    • When to _not_ use them
    • Common things to check for that would indicate their usage
  • explore possibilities or merging RPM2 functionality into RPM namespace #671389

See Perl/Plan for structured plan.

Miscellaneous

Packagers/Reviewers/People interested in helping

You can also see people who have tagged their user pages in the Category:SIG Members/Perl.

References

Communication & help