jfrog-cli icon indicating copy to clipboard operation
jfrog-cli copied to clipboard

Uploading of symlinks without symlink parameter

Open greenlama opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

JFrog CLI supports uploading symlinks with symlink parameter. In that case zero with special properties is created in Artifactory instead of symlink and when download it with CLI it is converted to normal symlink. But most of our customers don't use CLI so they can't download symlinks from artifactory correctly.

In order to allow our customers downloading files we have to substitude symlink with their targets during uploading by using JFrog CLI without symlink parameter. The problem is that symlink that point to file and symlinks that point to directory are uploaded in different ways:

  1. If symlink's target is a directory then the symlink is replaced by directory with the name of symlink which contains files from target directory. image

  2. If symlink's target is a file then at root of repository path a directory with a name of directory which contains target file is being created. And that directory contains symlink's target file. image

Describe the solution you'd like to see

A target of a symlink that points to a file must be uploaded in place of symlink not in a folder at root of repository.

greenlama avatar Nov 29 '23 09:11 greenlama

While I am surprised that such issue still exist, I am even more surprised how one could declare this as a "feature request". For me this is a bug. And as a user, I actually want to download the content of the file the symlink is pointing to instead of a 0-bytes file.

HeikoBoettger-KarlStorz avatar Feb 24 '25 12:02 HeikoBoettger-KarlStorz

This issue has been marked as stale due to 6 months of inactivity. As part of our effort to address every issue properly, please feel free to remove the stale label or keep this issue active by leaving a comment. Otherwise, it will be closed in 7 days

github-actions[bot] avatar Sep 24 '25 00:09 github-actions[bot]

This issue was closed due to 7 days of inactivity after being marked as stale. Feel free to reopen it if it remains relevant.

github-actions[bot] avatar Oct 04 '25 00:10 github-actions[bot]