I'm struggling with the copy/move example. Could you make it more precise.
The artifacts.info is described as art.artifacts.info("<ARTIFACT_PATH_IN_ARTIFACTORY>"),
which works when using:
art.artifacts.info(f"{repository_name}/{user_name}/{package_name}/{version}")
However, the copy/move operation is also described with <CURRENT_ARTIFACT_PATH_IN_ARTIFACTORY> and <NEW_ARTIFACT_PATH_IN_ARTIFACTORY> but does not work when using it via:
art.artifacts.move(
"{repository_name_1}/{user_name}/{package_name}/{version}",
"{repository_name_2}/{user_name}/{package_name}/{version}",
dryrun=True
)
Describe the solution you'd like
A few things:
- An explicit example and/or
- interface adaption to match both cases
I'm struggling with the copy/move example. Could you make it more precise.
The
artifacts.infois described asart.artifacts.info("<ARTIFACT_PATH_IN_ARTIFACTORY>"),which works when using:
However, the copy/move operation is also described with
<CURRENT_ARTIFACT_PATH_IN_ARTIFACTORY>and<NEW_ARTIFACT_PATH_IN_ARTIFACTORY>but does not work when using it via:Describe the solution you'd like
A few things: