Package Details: jfrog-cli 2.56.0-1

Git Clone URL: https://aur.archlinux.org/jfrog-cli.git (read-only, click to copy)
Package Base: jfrog-cli
Description: Simple interface to Artifactory, Bintray and Mission Control
Upstream URL: https://github.com/jfrog/jfrog-cli
Licenses: Apache
Conflicts: jfrog-cli-go
Replaces: jfrog-cli-go
Submitter: jhenson
Maintainer: jhenson
Last Packager: jhenson
Votes: 3
Popularity: 0.000000
First Submitted: 2021-04-19 19:25 (UTC)
Last Updated: 2024-04-17 13:02 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

jhenson commented on 2023-06-27 12:13 (UTC)

First off, thanks for the report but I'm not rolling back anything. I'll fix it but there's no need to undo the changes made.

That said, I tested both zsh and bash completions without the jfrog/_jfrog files and it seemed to work for both commands. That said, my testing seems to have been flawed and I'll re-test and get it fixed.

brody commented on 2023-06-27 08:23 (UTC)

With your last change the zsh completion does not work anymore.

jf               
(eval):1: _jfrog: function definition file not found

Please roll back and add only the oneliner from the jfrog-cli-bin package: ln -rs "$pkgdir/usr/bin/jfrog" "$pkgdir/usr/bin/jf"

jhenson commented on 2023-06-26 14:11 (UTC)

Hey, thanks for the heads up. I see they shortened the executable name in Nov 20211 and I completely missed it. I've pushed an update to rename the binary with a symlink to the old name so that we track what upstream is doing.

carsme commented on 2023-06-26 05:59 (UTC)

Hey, would you mind installing a symlink to the executable to jf? This is done by the official RPMs. See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=jfrog-cli-bin#n49 for reference.

carsme commented on 2021-04-19 21:48 (UTC)

No worries, thanks for fixing it.

Managed to get the -bin package up btw, if you're interested: https://aur.archlinux.org/packages/jfrog-cli-bin/

jhenson commented on 2021-04-19 21:19 (UTC) (edited on 2021-05-07 11:44 (UTC) by jhenson)

Ah, thanks for the heads up. I tested it out with replaces and it auto-removed the old one for me but I also build and push all AUR packages to a private pacman repo and install them that way. I'll push a fix for it.

carsme commented on 2021-04-19 21:17 (UTC)

I think you'll need to add conflicts=('jfrog-cli-go') as well as replaces. I tried installing this and got an error on installation:

(1/1) checking for file conflicts                                                   [################################################] 100%
error: failed to commit transaction (conflicting files)
jfrog-cli: /usr/bin/jfrog exists in filesystem (owned by jfrog-cli-go)
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).

With conflicts added you instead get this:

==> Installing package jfrog-cli with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
:: jfrog-cli and jfrog-cli-go are in conflict. Remove jfrog-cli-go? [y/N]

jhenson commented on 2021-04-19 19:19 (UTC)

Yeah, I agree that the AUR package should be called jfrog-cli. I believe the upstream repo used to be called jfrog-cli-go which is why the name is like it is. I'll work on getting this renamed.

carsme commented on 2021-04-19 19:17 (UTC)

@jhenson I would prefer jfrog-cli, as that is the name of the GitHub repository.

I thought about publishing a binary package as an option to this, just as an FYI. Changing the name would be great, jfrog-cli-go-bin is a tongue-twister.