You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to download a generic package from Artifactory, and then extract it into a directory as follows: jf rt dl --explode --flat <our-repository>/parent-folder/mypkg/mypkg-1.0.0.tar.gz ./mypkg/
Unfortunately this fails, it tries to extract the .tar.gz archive from the working directory, instead of the target directory where it has downloaded the file (./mypkg/mypkg-1.0.0.tar.gz).
After some experimenting, it does work if the package name (mypkg) is NOT the same as the target directory.
If I use a different target path (ie. ./mypkg2/), then it works, or I need to specify the full path (ie. /tmp/mypkg/ or $(pwd)/mypkg/).
Tried both v2.63.0 and v2.72.1 of the JFrog-CLI.
Current behavior
it fails to extract the package
Reproduction steps
Download packageA into directory packageA and tell JFrog-CLI to extract it.
Expected behavior
It extracts the file from where it has downloaded the file.
JFrog CLI version
2.72.1
Operating system type and version
Ubuntu 22
JFrog Artifactory version
No response
JFrog Xray version
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm trying to download a generic package from Artifactory, and then extract it into a directory as follows:
jf rt dl --explode --flat <our-repository>/parent-folder/mypkg/mypkg-1.0.0.tar.gz ./mypkg/
Unfortunately this fails, it tries to extract the .tar.gz archive from the working directory, instead of the target directory where it has downloaded the file (
./mypkg/mypkg-1.0.0.tar.gz
).After some experimenting, it does work if the package name (
mypkg
) is NOT the same as the target directory.If I use a different target path (ie.
./mypkg2/
), then it works, or I need to specify the full path (ie./tmp/mypkg/
or$(pwd)/mypkg/
).Tried both v2.63.0 and v2.72.1 of the JFrog-CLI.
Current behavior
it fails to extract the package
Reproduction steps
Download packageA into directory packageA and tell JFrog-CLI to extract it.
Expected behavior
It extracts the file from where it has downloaded the file.
JFrog CLI version
2.72.1
Operating system type and version
Ubuntu 22
JFrog Artifactory version
No response
JFrog Xray version
No response
The text was updated successfully, but these errors were encountered: