Skip to content

Explicit copy/move example or expressive failure reports #101

@zink-chimaera

Description

@zink-chimaera

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions