Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] absolute paths stored as artifact annotation create unexpected pulling behavior #10

Closed
jpower432 opened this issue May 16, 2022 · 0 comments · Fixed by #19
Closed
Assignees
Labels
bug Something isn't working

Comments

@jpower432
Copy link
Contributor

What happened?

When using oras CLI to retrieve an artifact published by the client, all files are written to the absolute path where they were original published from.

What behavior was expected?

The artifacts to be copied to the current directory (or directory specified) when copying.

@jpower432 jpower432 added the bug Something isn't working label May 16, 2022
@afflom afflom self-assigned this May 24, 2022
afflom added a commit to afflom/client that referenced this issue May 25, 2022
jpower432 added a commit to jpower432/client that referenced this issue May 25, 2022
Since the build path is in a disposable directory, it cannot be included
in the "title" annotation on the artifacts. To fix this, relative paths within
the workspace are passed to the oras client and the directory is changed before
processing.

Closes ortelius#10

Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
jpower432 added a commit to jpower432/client that referenced this issue May 26, 2022
Since the build path is in a disposable directory, it cannot be included
in the "title" annotation on the artifacts. To fix this, relative paths within
the workspace are passed to the oras client and the directory is changed before
processing.

Closes ortelius#10

Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
jpower432 added a commit to jpower432/client that referenced this issue Jun 1, 2022
Since the build path is in a disposable directory, it cannot be included
in the "title" annotation on the artifacts. To fix this, relative paths within
the workspace are passed to the oras client and the directory is changed before
processing.

Closes ortelius#10

Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
@afflom afflom closed this as completed in #19 Jun 2, 2022
jpower432 added a commit to jpower432/client that referenced this issue Jun 21, 2022
Since the build path is in a disposable directory, it cannot be included
in the "title" annotation on the artifacts. To fix this, relative paths within
the workspace are passed to the oras client and the directory is changed before
processing.

Closes ortelius#10

Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants