From Fedora Project Wiki

m (Removing myself as I'm largely inactive in this space nowadays.)
 
(25 intermediate revisions by 12 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.3.
[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/~rjbs/perl-5.12.3/
* http://www.nntp.perl.org/group/perl.perl5.porters/2011/01/msg168368.html
 
The older releases contain 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 58: 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 74: 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 [https://fedoraproject.org/wiki/Perl/INC_directories @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 82: 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 93: 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]]
* [[User:Mmaslano | Marcela Mašláňová]]
* [[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 114: 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]]
* [[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)
 
= Communication & help =
 
* {{fplist|perl-devel}} is our SIG's mailing list
* {{fplist|perl6}} is the mailing list particular for Perl 6
* IRC: {{fpchat|#fedora-perl}}


----
----

Latest revision as of 12:20, 6 January 2023

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