Perl

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(References)
(Packagers/Reviewers/People interested in helping: Sponsors marked)
(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 is currently 5.10.0.
+
[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/~rgarcia/perl-5.10.0
+
* http://www.slideshare.net/rjbs/perl-510-for-people-who-arent-totally-insane
+
  
 
== Apps ==
 
== Apps ==
  
 
* [[Bugzilla]]  - Defect Tracking System
 
* [[Bugzilla]]  - Defect Tracking System
** Some testing on an SELinux-enabled system is still needed (see {{BZ|188359}})
+
** Some testing on an SELinux-enabled system was needed (see {{BZ|188359}})
 
* [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 33: Line 33:
 
== Perl/Parrot/Pugs ==
 
== Perl/Parrot/Pugs ==
  
* [http://www.parrotcode.org/ Parrot]  - Parrot Virtual Machine
+
* [http://www.parrot.org/ Parrot]  - Parrot Virtual Machine
 
** [https://www.redhat.com/archives/fedora-perl-devel-list/2007-March/msg00093.html mailling list thread]  
 
** [https://www.redhat.com/archives/fedora-perl-devel-list/2007-March/msg00093.html mailling list thread]  
 
* [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]  
 +
* [https://fedoraproject.org/wiki/Features/Rakudo_Perl_6 Rakudo] - A Perl 6 implementation (was F-12 feature)
 
* microperl
 
* microperl
  
Line 45: 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?cmdtype=runnamed&namedcmd=perl%20review%20requests 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?query_format=&short_desc_type=allwordssubstr&short_desc=&product=Fedora&version=&component=&query_format=advanced&bug_status=NEW&bug_status=ASSIGNED&bug_status=NEEDINFO&bug_status=MODIFIED&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&fixed_in_type=allwordssubstr&fixed_in=&qa_whiteboard_type=allwordssubstr&qa_whiteboard=&keywords_type=allwords&keywords=&emailcc1=1&emailtype1=exact&email1=fedora-perl-devel-list%40redhat.com&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=exact&email2=&bugidtype=include&bug_id=&votes=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Bug+Number+Descending&field0-0-0=noop&type0-0-0=noop&value0-0-0= Open bugs]
+
* [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?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 62: Line 66:
  
 
* Improve the RPM perl scripts (requirements and provides detection)
 
* Improve the RPM perl scripts (requirements and provides detection)
* at least try to handle use statements a litte better (eg: use base Module; use autouse Module; ...)
+
** rpm: handle the ‘v’ in “use v5.6.0″ (#140597) (reportedly fixed in rpm5.org's RPM 4.4.3)
* [http://wraptastic.org/blog/?p=36 RPM 4.4.3]  perl: handle the ‘v’ in “use v5.6.0″ (#140597)
+
** fix: perldeps and prov.pl not to emit perl(main) (#177960) (reportedly fixed in rpm5.org's RPM 4.4.5)
* [http://wraptastic.org/blog/?p=36 RPM 4.4.3]  resurrect a rpm-perl subpackage from perl-RPM2-0.66
+
** at least try to handle use statements a litte better (eg: use base Module; use autouse Module; ...)
* [http://wraptastic.org/blog/?p=37 RPM 4.4.4]  complete forking perl-RPM2/* to perl/* module name “RPM”
+
*** Use PPI?
* [http://wraptastic.org/blog/?p=39 RPM 4.4.5]  fix: perldeps and prov.pl not to emit perl(main) (#177960)
+
** 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? Use the site_perl dirs? /usr/local dirs? Problems with man pages conflicts, version provides clashes (can cause strange problems during package upgrades), ....
+
** [[Perl/updates|tips for updates]]
** Already being discussed here: [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=142837 Bug 142837 – Need site-specific man page directory]  
+
* The correct [[Perl/Draft:INC_directories|@INC directories]] are still questionable.
* Try to reduce the number of @INC directories.
+
 
* 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:
* What they are and what they mean
+
** What they are and what they mean
* When to use them
+
** When to use them
* 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 [https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=671389 #671389]
  
 
== 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 87: Line 91:
 
= Packagers/Reviewers/People interested in helping =
 
= Packagers/Reviewers/People interested in helping =
  
* [[JasonTibbitts]]
 
* [[PaulHowarth]]
 
* [[StevenPritchard]]
 
 
* [[ChrisWeyl]]
 
* [[ChrisWeyl]]
 +
* [[User:eseyman|Emmanuel Seyman]]
 +
* [[GavinHenry]]
 +
* [[IainArnell|Iain Arnell]] (a sponsor)
 +
* [[JasonTibbitts]]
 +
* [[User:jplesnik|Jitka Plesníková]]
 +
* [[GavinHenry]]
 +
* [[User:gerd|Gerd Pokorra]]
 +
* [[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]]
 
* [[GavinHenry]]
* [[ParagNemade]]
+
* [[StevenPritchard]] (a sponsor)
* [[StepanKasal]]
+
* [[MarcelaMaslanova]]
+
  
 
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 102: Line 114:
 
* [http://www.cpan.org/ CPAN - Comprehensive Perl Archive Network]  
 
* [http://www.cpan.org/ CPAN - Comprehensive Perl Archive Network]  
 
* [http://search.cpan.org/recent CPAN - Recent files]  
 
* [http://search.cpan.org/recent CPAN - Recent files]  
 +
* [[Perl/updates]]
 
* Fedora perl specfile template (available in the rpmdevtools package)
 
* Fedora perl specfile template (available in the rpmdevtools package)
* [https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list Fedora Perl mailing list]
 
* [http://gsd.di.uminho.pt/jpo/perl/specfiles/ Notes about perl specfiles]  (old)
 
 
* [[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
 +
* IRC: {{fpchat|#fedora-perl}}
  
 
----
 
----
Line 114: Line 132:
 
[[Category:Language-specific SIGs]]
 
[[Category:Language-specific SIGs]]
 
[[Category:SIGs]]
 
[[Category:SIGs]]
 +
[[Category:Fedora special-interest groups]]

Revision as of 07:09, 16 October 2013

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

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