Closed usinelogicielle closed 4 months ago
issue caused by https://github.com/devopshq/artifactory/blob/c0531a52f579703b3f0a397deed7987e0ad126d4/artifactory.py#L401 change url.rpartition to url.partition, issue can be fixed
Hi there, please feel free to create a PR with changes that can fix the issue!
Hi,
Here is my environment:
I want to get the stats of 2 files. I have a piece of code looking like this:
As you can see the path in
path2
is containing 2 times the artifactory hostartifactory.domain.com
. In the error message below I can see it tries to fetch the file but only using half the real path: it crops everything before the secondartifactory.domain.com
.I cannot change the files names. It is not in my perimeter.
To identify where the problem comes from I tried the same thing but using JFrog Web API and it works:
For me the problem is from how the
stat()
method parses an ArtifactoryPath.Do you have any solutions ?