Bug 1861839

Summary: Review Request: php-openpsa-universalfeedcreator - RSS and Atom feed generator
Product: [Fedora] Fedora Reporter: Artur Frenszek-Iwicki <fedora>
Component: Package ReviewAssignee: Remi Collet <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora, package-review
Target Milestone: ---Flags: fedora: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-03 16:39:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1861757    
Attachments:
Description Flags
phpci.log
none
review.txt none

Description Artur Frenszek-Iwicki 2020-07-29 17:15:52 UTC
spec: https://svgames.pl/fedora/php-openpsa-universalfeedcreator-1.8.3.2-1/php-openpsa-universalfeedcreator.spec
srpm: https://svgames.pl/fedora/php-openpsa-universalfeedcreator-1.8.3.2-1/php-openpsa-universalfeedcreator-1.8.3.2-1.fc32.src.rpm
koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=48136140

Description:
RSS and Atom feed generator. Supported formats: RSS0.91, RSS1.0, RSS2.0, PIE0.1 (deprecated), MBOX, OPML, ATOM, ATOM0.3, HTML, JS, PHP.

Fedora Account System Username: suve

Comment 1 Remi Collet 2020-08-21 13:44:40 UTC
> # The library has a "constants.php" file and relies on autoloading it,

Indeed, in composer.json

    "autoload": {
        "classmap": ["lib"],
        "files": ["lib/constants.php"]
    },

Simpler way is to include this file from the generated autoloader, Ex:

cat << 'EOF' >>autoload.php
require_once "lib/constants.php";
EOF


IMHO, the "lib" directory is not needed in the package tree


From phpcompatinfo analysis, and per PHP Guidelines, you need to require:

php-simplexml
php-date
php-pcre

Comment 2 Remi Collet 2020-08-21 13:45:12 UTC
Created attachment 1712177 [details]
phpci.log

Comment 3 Artur Frenszek-Iwicki 2020-08-21 14:53:18 UTC
> Simpler way is to include this file from the generated autoloader
I guess that works, too.

> From phpcompatinfo analysis, and per PHP Guidelines, you need to require:
> php-simplexml
> php-date
> php-pcre
Thanks. Added.

spec: https://svgames.pl/fedora/php-openpsa-universalfeedcreator-1.8.3.2-2/php-openpsa-universalfeedcreator.spec
srpm: https://svgames.pl/fedora/php-openpsa-universalfeedcreator-1.8.3.2-2/php-openpsa-universalfeedcreator-1.8.3.2-2.fc32.src.rpm
koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=49808924

Comment 4 Remi Collet 2020-08-24 06:49:26 UTC
> sed -e 's|/lib/|/|g' -i autoload.php

TIPS: generate the autoolader directly in lib (--output=lib/autoload.php) or use --basedir option to avoid having this sed

Comment 5 Remi Collet 2020-08-24 06:57:10 UTC
> # Upstream repo does not contain a LICENSE file

It have been recently added
https://github.com/flack/UniversalFeedCreator/blob/master/LICENSE

Find to add it later, on next version upgrade, ad LGPL doesn't require it to be present.

Comment 6 Remi Collet 2020-08-24 06:57:42 UTC
Created attachment 1712302 [details]
review.txt

Comment 7 Remi Collet 2020-08-24 06:58:46 UTC
[x]: Package complies to the Packaging Guidelines


See minor TIPS above, but no blocker


** APPROVED **

Comment 8 Artur Frenszek-Iwicki 2020-08-24 13:56:45 UTC
Thanks for the review. Please assign the ticket to yourself (required per "fedpkg request-repo" procedures).

Comment 9 Remi Collet 2020-08-24 14:06:36 UTC
(In reply to Artur Iwicki from comment #8)
> Thanks for the review. Please assign the ticket to yourself (required per
> "fedpkg request-repo" procedures).

Sorry about this, done.

Comment 10 Gwyn Ciesla 2020-08-24 15:30:36 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/php-openpsa-universalfeedcreator

Comment 11 Fedora Update System 2020-08-26 13:23:53 UTC
FEDORA-2020-2fedbc41d5 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-2fedbc41d5

Comment 12 Fedora Update System 2020-08-26 13:26:02 UTC
FEDORA-2020-12738c06ed has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-12738c06ed

Comment 13 Fedora Update System 2020-08-26 14:34:55 UTC
FEDORA-2020-12738c06ed has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-12738c06ed`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-12738c06ed

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2020-08-26 17:07:26 UTC
FEDORA-2020-2fedbc41d5 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-2fedbc41d5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-2fedbc41d5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2020-09-03 16:39:58 UTC
FEDORA-2020-12738c06ed has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2020-09-25 16:35:54 UTC
FEDORA-2020-2fedbc41d5 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.