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 have a repo with root level artifacts, and when I try to run a move_artifacts operation, lavatory crashed with this message:
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://artifactory.example/artifactory/api/move/yum-local/./pkgname.rpm?to=/yum-archive/./pkgname.rpm
Artifactory had a more detailed error:
2019-01-11 13:58:48,418 [http-nio-8081-exec-1] [ERROR] (o.a.a.r.CopyMoveHelper:99) - Failed to move from src=yum-local/./pkgname.rpm to target=/yum-archive/./pkgname.rpm: Path element cannot end with a dot: yum-archive/./pkgname.rpm: Path element cannot end with a dot: yum-archive/./pkgname.rpm
I have a repo with root level artifacts, and when I try to run a
move_artifacts
operation,lavatory
crashed with this message:Artifactory had a more detailed error:
I was able to fix the issue with this hack at https://github.com/gogoair/lavatory/blob/master/src/lavatory/utils/artifactory.py#L101
The text was updated successfully, but these errors were encountered: