From Fedora Project Wiki
No edit summary
m (update categories)
 
(53 intermediate revisions by 34 users not shown)
Line 5: Line 5:
== Who Are We? ==
== Who Are We? ==


{| tableclass="t1" rowclass="th" style="text-align: center; float: right; margin-left: 3em; margin-right: 5em;"
! colspan="2" | Package Review Tickets
|- 
| style="padding-left: 2em; padding-right: 1em; border-right: 0" | [http://fedoraproject.org/PackageReviewStatus/NEW.html New Review Tickets] || style="padding-left: 1em; padding-right: 2em; border-left: 0" | [http://fedoraproject.org/PackageReviewStatus/REVIEW.html In-progress Review Tickets]
|}


This SIG is currently in its infancy and things are still being organized.
This SIG is currently in its infancy and things are still being organized.
Line 15: Line 10:
* Our job is to process new package review submissions and review them for quality and adherence to the [[Packaging/Guidelines| Packaging Guidelines]].  As this is the initial experience for many new contributors to the Fedora Project, we also work towards making this procedure as enjoyable as possible.
* Our job is to process new package review submissions and review them for quality and adherence to the [[Packaging/Guidelines| Packaging Guidelines]].  As this is the initial experience for many new contributors to the Fedora Project, we also work towards making this procedure as enjoyable as possible.


(Need a help wanted/qualifications page that doesn't scare off too many contributors.)
* Anyone is welcome to join.  Obviously it is necessary for one to already be a packager in order to review packages, but there are many tasks that can be done by anyone, and participation in the SIG is a good path to sponsorship.
 
== Members ==
 
* Jason Tibbitts
* [[User:sundaram | Rahul Sundaram ]]
* [[User:eseyman | Emmanuel Seyman]]
* [[User:Narasim | Lakshmi Narasimhan T V]]
* [[User:Tomspur | Thomas Spura]]
* [[User:Limb | Gwyn Ciesla]]
* [[User:Sochotni | Stanislav Ochotnicky]]
* [[User:hobbes1069 | Richard Shaw]]
* [[User:Ankursinha | Ankur Sinha "FranciscoD"]]
* [[User:Akurtakov | Alexander Kurtakov]]
* [[User:rrix|Ryan Rix]]
* [[User:kad|Jorge Gallegos]]
* [[User:timlau|Tim Lauridsen]]
* [[User:Verdurin|Adam Huffman]]
* [[User:volter | Volker Fröhlich]]
* [[User:Denisarnaud | Denis Arnaud]]
* [[User:psabata | Petr "contyk" Sabata]]
* [[User:mariobl | Mario Blättermann]]
* [[User:devinbost | Devin Bost]]
* [[User:Sidh25 | Siddharth Waikar]]
* [[User:ignatenkobrain | Igor Gnatenko]]
* [[User:csouth3 | Chase Southwood]]


== Getting Involved ==
== Getting Involved ==


(Need some more structure before we can do much more.)
Need some more structure before we can do much more. However, the [http://fedoraproject.org/PackageReviewStatus/ Package review ticket reports] are a good starting point for anyone looking for packages to review.


== Scope of Action ==
== Scope of Action ==
Line 34: Line 54:
Since we're not yet organized, a communal brain dump can help get us started.
Since we're not yet organized, a communal brain dump can help get us started.


* Should we require (or perhaps strongly suggest) koji scratch builds to be provided with the initial submission?  An significant percentage of the packages I look at simply don't build.  [[User:Tibbs|Tibbs]] 17:05, 20 August 2008 (UTC)
As a reminder, signing is easy as writing four tildes (i.e., the '~' sign four times) at the end of the post. It will automatically add your name and a date-time stamp. To have fancier signatures, you can check that [http://simple.wikipedia.org/wiki/Help:Making_a_signature Wikimedia how-to].
** Generally recommented IMO. Usually I reject review requests with srpms which don't build on koji with the comment "this doesn't build". However the problem is that this cannot be applied for new contributors seeking for sponsors (currently I give priority over reviewing NEEDSPONSOR blockers). [[User:Mtasaka|Mamoru]] 17:30 2008-08-20
 
* Should we require (or perhaps strongly suggest) koji scratch builds to be provided with the initial submission?  A significant percentage of the packages I look at simply don't build.  [[User:Tibbs|Tibbs]] 17:05, 20 August 2008 (UTC)
** Generally recommended IMO. Usually I reject review requests with srpms which don't build on koji with the comment "this doesn't build". However the problem is that this cannot be applied for requests by new contributors seeking for sponsors (currently I give priority over reviewing NEEDSPONSOR blockers). [[User:Mtasaka|Mamoru]] 17:30 2008-08-20
** I think it should be required for review requests for contributors that have already been sponsored. [[User:Bpepple|bpepple]]
** Yes. I also think we should ask contributors who are already sponsored to give koji scratch builds with initial submission. Another thing I would like to suggest is to provide rpmlint output on SRPM as well as RPMS for newer package initial submission. This will also save contributor and reviewer's time in package review. -Paragn
** I think it's a good idea but I wouldn't tie it down to koji. I do test builds with mock on my workstation before submitting a review which accomplishes the same result. Maybe it would be better to have an indirect requirement that there be rpmlint output posted to the review for at least one (supported) release and architecture. [[User:hobbes1069|Richard]]
** Reviewers should try building the package as well so this is quite pointless. Also, people sometimes submit packages that depend on other reviews and therefore can't be built at all (yet). [[User:psabata|contyk]]
 
* How about providing a review template file less experienced reviewers can download from the wiki and use as a basis for their final formal package review? [[User:Petersen|Petersen]] 2008-10-03
** This would help people like me who would like to help more (and feel bad about not reviewing nearly as many packages as they submit), but feel like their earlier reviews were dismissed as unhelpful. [[User:Konradm|Konradm]] 20:52, 9 December 2008 (UTC)
** Note however that not all packages are created equal and for example we have special [[Java review template|review template for Java packages]] that doesn't apply at all to other type of rpms [[User:Sochotni|Sochotni]] 10:40, Jul 27, 2011 (UTC)
*** I have found it easiest to treat language-specific guidelines as add-ons that one can simply append to one's usual review checklist.  [[User:gholms/review template|(An example)]]  --[[User:Gholms|Gholms]] 21:09, 27 July 2011 (UTC)
*** I have done the same.  Perhaps if we end up codifying some recommended templates, we can produce a tool that provides an appropriate one given a source package. [[User:Tibbs|Tibbs]] 21:17, 27 July 2011 (UTC)
*** In that case I'd like the basic template not to contain references specific to "normal" project (i.e. *so handling and such). Make it really modular. Big chunks of common review templates are useless in Java for example (I used to tick half the boxes as "non-applicable" before creating our template) [[User:Sochotni|Sochotni]] 09:30, 23 August 2011 (UTC)
* How about allowing pointing to public git repo in review request instead of srpm? I'm thinking about the following benefits:
** Use fedpkg local and other similar tools directly on the clone
*** I might be mistaken, but fedpkg local depends on sources to be in the lookaside cache. Can new packagers (i.e. non-sponsored packagers) upload sources into the lookaside cache? Am I wrong? --[[User:Jerboaa|jerboaa]]
** Have the whole history kept in the scm and pushing the whole repo to Fedora repo once it's provisioned
** Get the contributors used to the Fedora way of doing things even during the review
** Incorporating sochotni's idea about per repo rpmlint ignore and commit hook so certain commits are blocked/warned about thus warning submitter earlier and saving work for reviewer --[[User:Akurtakov|Akurtakov]]
 
* Regarding new packagers, in the list, I see a which only have submitted one package. For the new packagers that I am following, I ask them to submit two reviews and if possible for a little bit different type of packages. This imho shows better their understanding of the guidelines. Would this be something worth advising ? --[[User:Pingou|Pingou]] 07:19, 28 July 2011 (UTC)
* I am working on a Review Helper [https://github.com/timlau/FedoraReview tool] to make it easier and faster to review a package -- [[User:Timlau|Tim Lauridsen]]  2011-07-28
** I have been trying [[User:Timlau|Tim Lauridsen]]'s FedoraReview tool and can confirm that it's useful--[[User:Verdurin|Verdurin]] 16:49, 28 July 2011 (UTC)
 
* I have added [[User:Denisarnaud#Using_Git_Work-flow_for_Packaging |a sub-section on my page]] referencing material about how the Git work-flow can efficiently support the packaging efforts, with the corresponding discussions on Debian side. For instance, Git would be used to store the package source, on top of which the potential patches would simply be mere Git commits. Hence, it is trivial to work on patches, as well as to extract and review a list of patches. Moreover, the RPM specification would get simpler, because not only the patches would disappear, but also all the manipulations on files and directories (e.g., changing permissions, converting files from DOS to Unix end-of-lines, renaming directories, sedding/awking files, etc). -- [[User:Denisarnaud |darnaud<font color="green" size="2px"></font>]] ([[User talk:Denisarnaud |Talk<font color="blue" size="2px"></font>]] - [[Special:Contributions/Denisarnaud |Contrib<font color="red" size="2px"></font>]]) 20:09, 6 August 2011 (UTC)
** As suggested by [[User:Rjones |Richar W.M. Jones]] [http://rwmj.wordpress.com/2011/08/09/nice-rpm-git-patch-management-trick/#comments in his blog], it would also allow "getting rid of the RPM <tt>%changelog</tt> and populate it from somewhere sensible instead".
** Thanks to patches in connection with [http://www.rpm.org/ticket/54 rpm.org ticket 54], we can probably expect further simplification for that Git work-flow. --[[User:Jpokorny|Jpokorny]] ([[User talk:Jpokorny|talk]]) 12:56, 23 August 2012 (UTC)
 
* Run rpmlint against the installed pacakge(s).
** This can be done in mock so you don't have to install the packages on your main system and is useful for catching problems like <code>undefined-non-weak-symbol</code> which I believe can not be checked until the package is installed and ldconf run.
<pre>
  $ mock --init
  $ mock --install <packages> rpmlint
  $ mock --shell
  mock-chroot> rpmlint <package1> <package2> ...
</pre>
 
* We need a policy for outdated review requests. Some of them are quite old. If a request (which is a bug report anyway) becomes older than xxx days, we should test if the reporter responses within a reasonable time frame. If he/she doesn't response, the bug report should be closed for the time being. This would help us the "New package review tickets" list to let shrink a bit, to see only the really active review requests. -- [[User:mariobl|mariobl]]
 
[[Category:SIGs]]
[[Category:Fedora special-interest groups]]

Latest revision as of 21:42, 31 December 2018

(Need a fancy header)

Fedora Package Review SIG

Who Are We?

This SIG is currently in its infancy and things are still being organized.

  • Our job is to process new package review submissions and review them for quality and adherence to the Packaging Guidelines. As this is the initial experience for many new contributors to the Fedora Project, we also work towards making this procedure as enjoyable as possible.
  • Anyone is welcome to join. Obviously it is necessary for one to already be a packager in order to review packages, but there are many tasks that can be done by anyone, and participation in the SIG is a good path to sponsorship.

Members

Getting Involved

Need some more structure before we can do much more. However, the Package review ticket reports are a good starting point for anyone looking for packages to review.

Scope of Action

  • Actually reviewing packages.
  • Coordinating reviews of difficult or large packages that may be too much for one person.
  • Review triage (ensuring the form of the submission is correct, making sure the package builds and providing rpmlint output).
  • Assisting new contributors in doing pre-reviews.
  • Investigating modifications to the review process and initial review submission requirements.
  • Generating reports and reporting to upstream committees.

Brainstorming

Since we're not yet organized, a communal brain dump can help get us started.

As a reminder, signing is easy as writing four tildes (i.e., the '~' sign four times) at the end of the post. It will automatically add your name and a date-time stamp. To have fancier signatures, you can check that Wikimedia how-to.

  • Should we require (or perhaps strongly suggest) koji scratch builds to be provided with the initial submission? A significant percentage of the packages I look at simply don't build. Tibbs 17:05, 20 August 2008 (UTC)
    • Generally recommended IMO. Usually I reject review requests with srpms which don't build on koji with the comment "this doesn't build". However the problem is that this cannot be applied for requests by new contributors seeking for sponsors (currently I give priority over reviewing NEEDSPONSOR blockers). Mamoru 17:30 2008-08-20
    • I think it should be required for review requests for contributors that have already been sponsored. bpepple
    • Yes. I also think we should ask contributors who are already sponsored to give koji scratch builds with initial submission. Another thing I would like to suggest is to provide rpmlint output on SRPM as well as RPMS for newer package initial submission. This will also save contributor and reviewer's time in package review. -Paragn
    • I think it's a good idea but I wouldn't tie it down to koji. I do test builds with mock on my workstation before submitting a review which accomplishes the same result. Maybe it would be better to have an indirect requirement that there be rpmlint output posted to the review for at least one (supported) release and architecture. Richard
    • Reviewers should try building the package as well so this is quite pointless. Also, people sometimes submit packages that depend on other reviews and therefore can't be built at all (yet). contyk
  • How about providing a review template file less experienced reviewers can download from the wiki and use as a basis for their final formal package review? Petersen 2008-10-03
    • This would help people like me who would like to help more (and feel bad about not reviewing nearly as many packages as they submit), but feel like their earlier reviews were dismissed as unhelpful. Konradm 20:52, 9 December 2008 (UTC)
    • Note however that not all packages are created equal and for example we have special review template for Java packages that doesn't apply at all to other type of rpms Sochotni 10:40, Jul 27, 2011 (UTC)
      • I have found it easiest to treat language-specific guidelines as add-ons that one can simply append to one's usual review checklist. (An example) --Gholms 21:09, 27 July 2011 (UTC)
      • I have done the same. Perhaps if we end up codifying some recommended templates, we can produce a tool that provides an appropriate one given a source package. Tibbs 21:17, 27 July 2011 (UTC)
      • In that case I'd like the basic template not to contain references specific to "normal" project (i.e. *so handling and such). Make it really modular. Big chunks of common review templates are useless in Java for example (I used to tick half the boxes as "non-applicable" before creating our template) Sochotni 09:30, 23 August 2011 (UTC)
  • How about allowing pointing to public git repo in review request instead of srpm? I'm thinking about the following benefits:
    • Use fedpkg local and other similar tools directly on the clone
      • I might be mistaken, but fedpkg local depends on sources to be in the lookaside cache. Can new packagers (i.e. non-sponsored packagers) upload sources into the lookaside cache? Am I wrong? --jerboaa
    • Have the whole history kept in the scm and pushing the whole repo to Fedora repo once it's provisioned
    • Get the contributors used to the Fedora way of doing things even during the review
    • Incorporating sochotni's idea about per repo rpmlint ignore and commit hook so certain commits are blocked/warned about thus warning submitter earlier and saving work for reviewer --Akurtakov
  • Regarding new packagers, in the list, I see a which only have submitted one package. For the new packagers that I am following, I ask them to submit two reviews and if possible for a little bit different type of packages. This imho shows better their understanding of the guidelines. Would this be something worth advising ? --Pingou 07:19, 28 July 2011 (UTC)
  • I am working on a Review Helper tool to make it easier and faster to review a package -- Tim Lauridsen 2011-07-28
    • I have been trying Tim Lauridsen's FedoraReview tool and can confirm that it's useful--Verdurin 16:49, 28 July 2011 (UTC)
  • I have added a sub-section on my page referencing material about how the Git work-flow can efficiently support the packaging efforts, with the corresponding discussions on Debian side. For instance, Git would be used to store the package source, on top of which the potential patches would simply be mere Git commits. Hence, it is trivial to work on patches, as well as to extract and review a list of patches. Moreover, the RPM specification would get simpler, because not only the patches would disappear, but also all the manipulations on files and directories (e.g., changing permissions, converting files from DOS to Unix end-of-lines, renaming directories, sedding/awking files, etc). -- darnaud (Talk - Contrib) 20:09, 6 August 2011 (UTC)
    • As suggested by Richar W.M. Jones in his blog, it would also allow "getting rid of the RPM %changelog and populate it from somewhere sensible instead".
    • Thanks to patches in connection with rpm.org ticket 54, we can probably expect further simplification for that Git work-flow. --Jpokorny (talk) 12:56, 23 August 2012 (UTC)
  • Run rpmlint against the installed pacakge(s).
    • This can be done in mock so you don't have to install the packages on your main system and is useful for catching problems like undefined-non-weak-symbol which I believe can not be checked until the package is installed and ldconf run.
   $ mock --init
   $ mock --install <packages> rpmlint
   $ mock --shell
   mock-chroot> rpmlint <package1> <package2> ...
  • We need a policy for outdated review requests. Some of them are quite old. If a request (which is a bug report anyway) becomes older than xxx days, we should test if the reporter responses within a reasonable time frame. If he/she doesn't response, the bug report should be closed for the time being. This would help us the "New package review tickets" list to let shrink a bit, to see only the really active review requests. -- mariobl