From Fedora Project Wiki

 
(35 intermediate revisions by 14 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-14 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
 
The older releases contains 5.10.x.


== Apps ==
== Apps ==


* [[Bugzilla]]  - Defect Tracking System
* [http://www.alzabo.org/ Alzabo]  - Data modelling tool (also in CPAN)
** Some testing on an SELinux-enabled system was needed (see {{BZ|188359}})
* [http://www.bugzilla.org/ Bugzilla]  - Defect Tracking System
* [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://mojomojo.org/ MojoMojo] - Catalyst-based wiki, with live as-you-type AJAX preview of edits
* [http://padre.perlide.org/ Padre] - The Perl IDE
* [http://bestpractical.com/rt/ RT] - Release Tracker - a battle-tested issue tracking system
* [http://spamassassin.apache.org/ SpamAssassin] - A spam filter for email


== Frameworks ==
== Frameworks ==
Line 27: Line 25:
There are a number of the more popular Perl frameworks available in Fedora.
There are a number of the more popular Perl frameworks available in Fedora.


* [[Bricolage]] - Content Management System
* {{CPAN|AnyEvent}} - A framework for multiple event loops
* [[Catalyst]] - MVC Web Application Framework
* Bricolage - Content Management System
* [[DBIx::Class]] - {{CPAN|DBIx::Class}} is a modern, powerful object-relational mapping system
* {{CPAN|Catalyst}} - MVC Web Application Framework
* [[Moose]] - Modern perl5 OOP system
* {{CPAN|DBIx::Class}} - a modern, powerful object-relational mapping system
* [[POE]] - Portable multitasking and networking framework
* {{CPAN|Moose}} - Modern perl5 OOP system
* {{CPAN|POE}} - Portable multitasking and networking framework


== Perl/Parrot/Pugs ==
== MoarVM -> NQP -> Rakudo Perl 6 ==


* [http://www.parrot.org/ Parrot]  - Parrot Virtual Machine
* [http://www.moarvm.org/ MoarVM]  - A VM for NQP and Rakkudo Perl 6
** [https://www.redhat.com/archives/fedora-perl-devel-list/2007-March/msg00093.html mailling list thread]
* [https://github.com/perl6/nqp NQP] - NQP is a lightweight Perl 6-like environment for virtual machines.
* [http://search.cpan.org/dist/Perl6-Pugs/ Pugs]  - A Perl 6 Implementation written in [[Haskell]]
* [http://search.cpan.org/dist/Perl6-Pugs/ Pugs]  - A Perl 6 Implementation written in [[Haskell]]
** [https://www.redhat.com/archives/fedora-perl-devel-list/2007-March/msg00043.html mailing list thread]  
** [https://www.redhat.com/archives/fedora-perl-devel-list/2007-March/msg00043.html mailing list thread]  
Line 48: Line 47:
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 55: Line 57:
== Perl to CPAN Mapping ==
== 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 [[Infrastructure/ProjectHosting|  Perl SIG Infrastructure hosted project]] .
With most perl modules being in CPAN, [https://ppisar.fedorapeople.org/cpandistributionsinfedora.xhtml mapping table] has been created.  This table is regenerated on a daily basis, and will be included in the upcoming [[Infrastructure/ProjectHosting|  Perl SIG Infrastructure hosted project]].
 
http://perl.biggerontheinside.net


= Problems that need to be addressed =
= Problems that need to be addressed =
Line 71: Line 71:
** 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 79: Line 79:
** 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 90: Line 92:
= Packagers/Reviewers/People interested in helping =
= Packagers/Reviewers/People interested in helping =


* [[User:Cweyl|Chris Weyl]]
* [[User:eseyman|Emmanuel Seyman]]
* [[GavinHenry]]
* [[IainArnell|Iain Arnell]] (a sponsor)
* [[JasonTibbitts]]
* [[JasonTibbitts]]
* [[PaulHowarth]]
* [[User:jplesnik|Jitka Plesníková]]
* [[StevenPritchard]]
* [[ChrisWeyl]]
* [[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á]]
* [[User:Pghmcfc|Paul Howarth]] (a sponsor)
* [[User:ppisar|Petr Písař]]
* [[User:Rlandmann|Rüdiger Landmann]]
* [[StevenPritchard|Steven Pritchard]] (a sponsor)
* [[User:mspacek|Michal Josef Špaček]]


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 111: Line 115:
* [[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]]
* [http://koti.welho.com/vskytta/packagers-handbook/packagers-handbook.html#guidelines-perl Perl packaging tips] (work in progress)
* [[Perl/Tips]]
* [http://gsd.di.uminho.pt/jpo/perl/specfiles/ Notes about perl specfiles] (old)
* [http://koti.welho.com/vskytta/packagers-handbook/packagers-handbook.html#guidelines-perl Perl packaging tips] - [https://web.archive.org/web/20120427181445/http://koti.welho.com/vskytta/packagers-handbook/packagers-handbook.html#guidelines-perl archive URL] (work in progress)
 
= Communication & help =


* {{fplist|perl-devel}} is our SIG's mailing list
* {{fplist|perl6}} is the mailing list particular for Perl 6
* The [https://chat.fedoraproject.org/#/room/#perl:fedoraproject.org Fedora Perl] room on Fedora Chat
----
----
[[Category:Perl]]
[[Category:Perl]]

Latest revision as of 16:57, 4 December 2024

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

  • Alzabo - Data modelling tool (also in CPAN)
  • Bugzilla - Defect Tracking System
  • Cluster SSH - Cluster Admin Via SSH
  • MojoMojo - Catalyst-based wiki, with live as-you-type AJAX preview of edits
  • Padre - The Perl IDE
  • RT - Release Tracker - a battle-tested issue tracking system
  • SpamAssassin - A spam filter for email

Frameworks

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

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

MoarVM -> NQP -> Rakudo Perl 6

  • MoarVM - A VM for NQP and Rakkudo Perl 6
  • NQP - NQP is a lightweight Perl 6-like environment for virtual machines.
  • Pugs - A Perl 6 Implementation written in Haskell
  • Rakudo - A Perl 6 implementation (was F-12 feature)
  • microperl

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

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