Bug 2246872 - Review Request: setup-tool - allows configuring repositories and dnf and setting up setups
Summary: Review Request: setup-tool - allows configuring repositories and dnf and sett...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-Legal FE-DEADREVIEW
TreeView+ depends on / blocked
 
Reported: 2023-10-29 21:09 UTC by Eddi-Jay Ohlms
Modified: 2025-10-18 00:45 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-10-18 00:45:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
version with third party notice (3.00 KB, patch)
2023-10-31 20:47 UTC, Eddi-Jay Ohlms
no flags Details | Diff
The .spec file difference from Copr build 6784931 to 8027980 (1.57 KB, patch)
2024-09-17 15:23 UTC, Fedora Review Service
no flags Details | Diff

Description Eddi-Jay Ohlms 2023-10-29 21:09:25 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/burningpho3nix/Setup-Tool/fedora-39-x86_64/06554928-setup-tool/setup-tool-starter.spec

SRPM URL: https://download.copr.fedorainfracloud.org/results/burningpho3nix/Setup-Tool/fedora-39-x86_64/06554928-setup-tool/setup-tool-1.4.103c-1.src.rpm

Description: This program is made to simplify setting up additions to Fedora, like for example some repositories and dnf settings.

Fedora Account System Username: burningpho3nix

Comment 1 Benson Muite 2023-10-30 02:30:03 UTC
Initial comments:
a) Can you reference the source:
https://github.com/Setup-Tooling/Setup-Tool-for-Fedora
See https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_git_tags
b) Probably do not want to hard code versions in:
https://github.com/Setup-Tooling/Setup-Tool-for-Fedora/blob/stable/cli/setup-tool-cli.c
c) use desktop-file-install
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_desktop_files
d) Add compiler flags:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_flags
e) The tool may hide that one is installing packages from outside the main Fedora repositories.
This may be undesirable.
f) Replace
%license %{_datadir}/licenses/setup-tool/LICENSE
%doc %{_datadir}/doc/setup-tool/README.md
with
%license LICENSE
%doc README.md
They will be put in the correct locations
g) Use 
cp -p
or
install -p -D755
or
install -p -D644
to preserve timestamps.  The install command allows setting of permissions.
h) Use SPDX license identifier either MPL-2.0
https://docs.fedoraproject.org/en-US/legal/allowed-licenses/

Comment 2 Neal Gompa 2023-10-30 11:57:47 UTC
I don't think this package is permissible in Fedora. Requesting legal review.

Comment 3 Eddi-Jay Ohlms 2023-10-30 13:19:46 UTC
(In reply to Benson Muite from comment #1)
> Initial comments:
> a) Can you reference the source:
> https://github.com/Setup-Tooling/Setup-Tool-for-Fedora
> See
> https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/
> #_git_tags
> b) Probably do not want to hard code versions in:
> https://github.com/Setup-Tooling/Setup-Tool-for-Fedora/blob/stable/cli/setup-
> tool-cli.c
> c) use desktop-file-install
> https://docs.fedoraproject.org/en-US/packaging-guidelines/#_desktop_files
> d) Add compiler flags:
> https://docs.fedoraproject.org/en-US/packaging-guidelines/#_compiler_flags
> e) The tool may hide that one is installing packages from outside the main
> Fedora repositories.
> This may be undesirable.
> f) Replace
> %license %{_datadir}/licenses/setup-tool/LICENSE
> %doc %{_datadir}/doc/setup-tool/README.md
> with
> %license LICENSE
> %doc README.md
> They will be put in the correct locations
> g) Use 
> cp -p
> or
> install -p -D755
> or
> install -p -D644
> to preserve timestamps.  The install command allows setting of permissions.
> h) Use SPDX license identifier either MPL-2.0
> https://docs.fedoraproject.org/en-US/legal/allowed-licenses/

I have done all of that and now get this build error:

(command run) rpmbuild -ba /home/burningpho3nix/rpmbuild/SPECS/Normal/setup-tool-starter.spec

setting SOURCE_DATE_EPOCH=1698624000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4FsOtt
+ umask 022
+ cd /home/burningpho3nix/rpmbuild/BUILD
+ cd /home/burningpho3nix/rpmbuild/BUILD
+ rm -rf setup-tool-1.4.103c
+ /usr/lib/rpm/rpmuncompress -x /home/burningpho3nix/rpmbuild/SOURCES/1.4.103c.tar.gz
error: File /home/burningpho3nix/rpmbuild/SOURCES/1.4.103c.tar.gz: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.4FsOtt (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.4FsOtt (%prep)


The hard coded Fedora versions where, because otherwise it tried to download version: 000000.
I actively rewrite those code snippets when Fedora versions are removed from the list of versions supported by the program.


The use of the names "Fedora", "RHEL" and "CentOS Stream" on Github is so that people can see the OS that the version of the program is for.

Comment 4 Fedora Review Service 2023-10-30 15:20:38 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6581902
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2246872-setup-tool/fedora-rawhide-x86_64/06581902-setup-tool/fedora-review/review.txt

Please take a look if any issues were found.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 5 Eddi-Jay Ohlms 2023-10-31 20:46:00 UTC
(In reply to Benson Muite from comment #1)
> [...]
> e) The tool may hide that one is installing packages from outside the main
> Fedora repositories.
> This may be undesirable.
> [...]

The next beta release will address that.

Comment 6 Eddi-Jay Ohlms 2023-10-31 20:47:16 UTC
Created attachment 1996431 [details]
version with third party notice

Comment 7 Benson Muite 2023-11-14 06:16:49 UTC
May consider having this in RPM fusion:
https://rpmfusion.org/Contributors

Comment 8 Eddi-Jay Ohlms 2023-12-22 09:34:57 UTC
(In reply to Fedora Review Service from comment #4)
> Copr build:
> https://copr.fedorainfracloud.org/coprs/build/6581902
> (succeeded)
> 
> Review template:
> https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-
> review-2246872-setup-tool/fedora-rawhide-x86_64/06581902-setup-tool/fedora-
> review/review.txt
> 
> Please take a look if any issues were found.
> 
> ---
> This comment was created by the fedora-review-service
> https://github.com/FrostyX/fedora-review-service
> 
> If you want to trigger a new Copr build, add a comment containing new
> Spec and SRPM URLs or [fedora-review-service-build] string.

https://download.copr.fedorainfracloud.org/results/burningpho3nix/Setup-Tool/fedora-39-x86_64/06732008-setup-tool/setup-tool-1.5.3c-1.src.rpm
https://download.copr.fedorainfracloud.org/results/burningpho3nix/Setup-Tool/fedora-39-x86_64/06732009-setup-tool-cli/setup-tool-cli-1.3.2c-1.src.rpm

Comment 9 Fedora Review Service 2023-12-23 04:34:05 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6784931
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2246872-setup-tool/fedora-rawhide-x86_64/06784931-setup-tool-cli/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 10 Eddi-Jay Ohlms 2024-09-17 15:17:58 UTC
A lot has changed.
Can we reconsider this?

https://gitlab.com/setup-tooling-project

Spec URL libstp: https://download.copr.fedorainfracloud.org/results/burningpho3nix/Setup-Tool/fedora-40-x86_64/08014485-libstp/libstp.spec
Spec URL setup-tool: https://download.copr.fedorainfracloud.org/results/burningpho3nix/Setup-Tool/fedora-40-x86_64/08026158-setup-tool-beta/setup-tool-starter-beta.spec
Spec URL setup-tool-cli: https://download.copr.fedorainfracloud.org/results/burningpho3nix/Setup-Tool/fedora-40-x86_64/08026159-setup-tool-cli-beta/setup-tool-cli-beta.spec
Spec URL st-community-scripts: https://download.copr.fedorainfracloud.org/results/burningpho3nix/Setup-Tool/fedora-40-x86_64/08026134-st-community-scripts/st-community-scripts.spec

SRPM URL libstp: https://download.copr.fedorainfracloud.org/results/burningpho3nix/Setup-Tool/fedora-40-x86_64/08014485-libstp/libstp-1.1.0-1.src.rpm
SRPM URL setup-tool: https://download.copr.fedorainfracloud.org/results/burningpho3nix/Setup-Tool/fedora-40-x86_64/08026158-setup-tool-beta/setup-tool-beta-1.7.0-rc8.src.rpm
SRPM URL setup-tool-cli: https://download.copr.fedorainfracloud.org/results/burningpho3nix/Setup-Tool/fedora-40-x86_64/08026159-setup-tool-cli-beta/setup-tool-cli-beta-1.5.0-rc8.src.rpm
SRPM URL st-community-scripts: https://download.copr.fedorainfracloud.org/results/burningpho3nix/Setup-Tool/fedora-40-x86_64/08026134-st-community-scripts/st-community-scripts-1.0.1-1.src.rpm

Fedora Account System Username: burningpho3nix

Comment 11 Fedora Review Service 2024-09-17 15:23:24 UTC
Created attachment 2047263 [details]
The .spec file difference from Copr build 6784931 to 8027980

Comment 12 Fedora Review Service 2024-09-17 15:23:27 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8027980
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2246872-setup-tool/fedora-rawhide-x86_64/08027980-setup-tool-cli-beta/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 13 Package Review 2025-09-18 00:45:17 UTC
This is an automatic check from review-stats script.

This review request ticket hasn't been updated for some time. We're sorry
it is taking so long. If you're still interested in packaging this software
into Fedora repositories, please respond to this comment clearing the
NEEDINFO flag.

You may want to update the specfile and the src.rpm to the latest version
available and to propose a review swap on Fedora devel mailing list to increase
chances to have your package reviewed. If this is your first package and you
need a sponsor, you may want to post some informal reviews. Read more at
https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group.

Without any reply, this request will shortly be considered abandoned
and will be closed.
Thank you for your patience.

Comment 14 Package Review 2025-10-18 00:45:23 UTC
This is an automatic action taken by review-stats script.

The ticket submitter failed to clear the NEEDINFO flag in a month.
As per https://fedoraproject.org/wiki/Policy_for_stalled_package_reviews
we consider this ticket as DEADREVIEW and proceed to close it.


Note You need to log in before you can comment on or make changes to this bug.