Bug 2378912 - Review Request: jfrog-cli - CLI to automate access to JFrog products
Summary: Review Request: jfrog-cli - CLI to automate access to JFrog products
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mikel Olasagasti Uranga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-08 22:23 UTC by Dominik 'Rathann' Mierzejewski
Modified: 2025-08-29 01:32 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-08-20 15:29:26 UTC
Type: ---
Embargoed:
mikel: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 9255433 to 9405649 (2.29 KB, patch)
2025-08-12 18:04 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 9405649 to 9435068 (1.81 KB, patch)
2025-08-16 00:11 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 9435068 to 9444136 (1.63 KB, patch)
2025-08-19 11:10 UTC, Fedora Review Service
no flags Details | Diff

Description Dominik 'Rathann' Mierzejewski 2025-07-08 22:23:01 UTC
Spec URL: https://rathann.fedorapeople.org/review/jfrog-cli/jfrog-cli.spec
SRPM URL: https://rathann.fedorapeople.org/review/jfrog-cli/jfrog-cli-2.77.0-1.fc43.src.rpm
Description:
JFrog CLI is a client that provides a simple interface that automates access to the JFrog products.
Fedora Account System Username: rathann

Comment 1 Fedora Review Service 2025-07-08 22:37:12 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9255433
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2378912-jfrog-cli/fedora-rawhide-x86_64/09255433-jfrog-cli/fedora-review/review.txt

Found issues:

- License file help.go is not marked as %license
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text

Please know that there can be false-positives.

---
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 2 Mikel Olasagasti Uranga 2025-08-12 15:46:56 UTC
Spec looks good, but can you apply 1.17.1 go2rpm template?

Comment 3 Dominik 'Rathann' Mierzejewski 2025-08-12 17:54:24 UTC
Spec URL: https://rathann.fedorapeople.org/review/jfrog-cli/jfrog-cli.spec
SRPM URL: https://rathann.fedorapeople.org/review/jfrog-cli/jfrog-cli-2.78.3-1.fc43.src.rpm

- update to 2.78.3
- use go2rpm 1.17.1 spec template

Comment 4 Fedora Review Service 2025-08-12 18:04:14 UTC
Created attachment 2103371 [details]
The .spec file difference from Copr build 9255433 to 9405649

Comment 5 Fedora Review Service 2025-08-12 18:04:17 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9405649
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2378912-jfrog-cli/fedora-rawhide-x86_64/09405649-jfrog-cli/fedora-review/review.txt

Found issues:

- License file help.go is not marked as %license
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text

Please know that there can be false-positives.

---
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 6 Mikel Olasagasti Uranga 2025-08-13 09:46:14 UTC
Thanks for updating the spec!

> E: summary-too-long JFrog CLI is a client that provides a simple interface that automates access to the JFrog products

Something like this might be OK: CLI to automate access to JFrog products

> %{_bindir}/jfrog-cli

Upstream uses `jf` for the binary, why not in this case? I can't find any other app using `jf` with `dnf provides /usr/bin/jf`.

Also, it seems this CLI supports shell completions, can you add them? https://docs.jfrog-applications.jfrog.io/jfrog-applications/jfrog-cli/shell-auto-completion

Comment 7 Dominik 'Rathann' Mierzejewski 2025-08-15 23:59:25 UTC
(In reply to Mikel Olasagasti Uranga from comment #6)
> Thanks for updating the spec!
> 
> > E: summary-too-long JFrog CLI is a client that provides a simple interface that automates access to the JFrog products
> 
> Something like this might be OK: CLI to automate access to JFrog products

Fixed.

> > %{_bindir}/jfrog-cli
> 
> Upstream uses `jf` for the binary, why not in this case? I can't find any
> other app using `jf` with `dnf provides /usr/bin/jf`.

Corrected. It used to be called jfrog-cli and I kept the name for no good reason.

> Also, it seems this CLI supports shell completions, can you add them?
> https://docs.jfrog-applications.jfrog.io/jfrog-applications/jfrog-cli/shell-
> auto-completion

How? I get an error if I add this to the %build section:
for cmd in completion/shells; do
  %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
done

...
github.com/jfrog/jfrog-cli/completion/shells: build constraints exclude all Go files in /builddir/build/BUILD/jfrog-cli-2.78.3-build/jfrog-cli-2.78.3/completion/shells

Comment 9 Fedora Review Service 2025-08-16 00:11:05 UTC
Created attachment 2103811 [details]
The .spec file difference from Copr build 9405649 to 9435068

Comment 10 Fedora Review Service 2025-08-16 00:11:07 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9435068
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2378912-jfrog-cli/fedora-rawhide-x86_64/09435068-jfrog-cli/fedora-review/review.txt

Found issues:

- License file help.go is not marked as %license
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text

Please know that there can be false-positives.

---
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 11 Mikel Olasagasti Uranga 2025-08-18 21:06:10 UTC
> Corrected. It used to be called jfrog-cli and I kept the name for no good reason.

You can create a soft-link if you want to have both names. `node-exporter` does that for example to keep old name.

> How? I get an error if I add this to the %build section:
> for cmd in completion/shells; do
>   %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
> done
> 
> ...
> github.com/jfrog/jfrog-cli/completion/shells: build constraints exclude all Go files in /builddir/build/BUILD/jfrog-cli-2.78.3-build/jfrog-cli-2.78.3/completion/shells

Can you try the way `doctl` spec does?

in %build:

%{gobuilddir}/bin/jf completion bash > jf.bash
%{gobuilddir}/bin/jf completion fish > jf.fish
%{gobuilddir}/bin/jf completion zsh  > jf.zsh

https://src.fedoraproject.org/rpms/doctl/blob/rawhide/f/doctl.spec#_51

Comment 12 Dominik 'Rathann' Mierzejewski 2025-08-19 11:00:53 UTC
(In reply to Mikel Olasagasti Uranga from comment #11)
> > Corrected. It used to be called jfrog-cli and I kept the name for no good reason.
> 
> You can create a soft-link if you want to have both names. `node-exporter`
> does that for example to keep old name.

No need. Since this is a new package to Fedora, I'll just follow current upstream naming.

> > How? I get an error if I add this to the %build section:
> > for cmd in completion/shells; do
> >   %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd
> > done
> > 
> > ...
> > github.com/jfrog/jfrog-cli/completion/shells: build constraints exclude all Go files in /builddir/build/BUILD/jfrog-cli-2.78.3-build/jfrog-cli-2.78.3/completion/shells
> 
> Can you try the way `doctl` spec does?
> 
> in %build:
> 
> %{gobuilddir}/bin/jf completion bash > jf.bash
> %{gobuilddir}/bin/jf completion fish > jf.fish
> %{gobuilddir}/bin/jf completion zsh  > jf.zsh
> 
> https://src.fedoraproject.org/rpms/doctl/blob/rawhide/f/doctl.spec#_51

Thanks for the pointer. Done!

Spec URL: https://rathann.fedorapeople.org/review/jfrog-cli/jfrog-cli.spec
SRPM URL: https://rathann.fedorapeople.org/review/jfrog-cli/jfrog-cli-2.78.3-3.fc44.src.rpm

Comment 13 Fedora Review Service 2025-08-19 11:10:45 UTC
Created attachment 2104092 [details]
The .spec file difference from Copr build 9435068 to 9444136

Comment 14 Fedora Review Service 2025-08-19 11:10:47 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9444136
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2378912-jfrog-cli/fedora-rawhide-x86_64/09444136-jfrog-cli/fedora-review/review.txt

Found issues:

- License file help.go is not marked as %license
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text

Please know that there can be false-positives.

---
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 15 Mikel Olasagasti Uranga 2025-08-19 21:56:36 UTC
Golang Package Review
==============

This package was generated using go2rpm, which simplifies the review.

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated


- [x] The latest version is packaged or packaging an earlier version is justified.
- [x] The License tag reflects the package contents and uses the correct identifiers.
- [x] The package builds successfully in mock.
- [x] Package is installable (checked by fedora-review).
- [x] There are no relevant rpmlint errors.
- [x] The package runs tests in %check.
- [x] `%goipath` is set correctly.
- [x] The package's binaries don't conflict with binaries already in the distribution.
- [x] There are no `%{_bindir}/*` wildcards in %files.
- [x] The package does not use `%gometa -f` if it has dependents that still build for %ix86.
- [x] The package complies with the Golang and general Packaging Guidelines.

Package approved! On import, don't forget to do the following:

- [ ] Add the package to release-monitoring.org
- [ ] Give go-sig privileges (at least commit) on the package
- [ ] Close the review bug by referencing its ID in the rpm changelog and the Bodhi ticket.

Thanks!

Comment 16 Fedora Admin user for bugzilla script actions 2025-08-20 14:57:03 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/jfrog-cli

Comment 17 Fedora Update System 2025-08-20 15:26:13 UTC
FEDORA-2025-233d557ff7 (jfrog-cli-2.78.3-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-233d557ff7

Comment 18 Fedora Update System 2025-08-20 15:29:26 UTC
FEDORA-2025-233d557ff7 (jfrog-cli-2.78.3-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2025-08-20 16:03:41 UTC
FEDORA-EPEL-2025-4eef81d9fd (jfrog-cli-2.78.3-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-4eef81d9fd

Comment 20 Fedora Update System 2025-08-21 01:36:07 UTC
FEDORA-EPEL-2025-4eef81d9fd has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-4eef81d9fd

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

Comment 21 Fedora Update System 2025-08-29 01:32:13 UTC
FEDORA-EPEL-2025-4eef81d9fd (jfrog-cli-2.78.3-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.


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