-
Notifications
You must be signed in to change notification settings - Fork 472
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
Question: How do you handle conan artifacts? #319
Comments
This question is specifically directed towards the |
The above image showcases the bug this issue is trying to address. The conan artifacts need to be treated as a whole when picked up by the cleanup artifact and not file-by-file, otherwise the whole artifact gets corrupted.
The Looking forward for a clearification on this. |
Yes, this is a problem the tool generally has for multifile type packages (like Docker). Potential solutions here would be to not use it in those packages, introduce package-type intelligence, or at the very least document the packages it works well for (and those it does not). |
We have as well severe problems with getting the repository sizes under control and realised as well recently that the cleanup plugin is corrupting Conan repositories (similar what we discovered 2 years ago with Docker images and needed to recover a lot of images that got corrupted). In my opinion Artifactory should come up with a builtin mechanism for cleaning up artifacts (like Nexus does) and ensure that the plugin is working on supported repositories only without causing any damage on non-supported repositories. |
I looked a bit deeper into other repository types we use and I believe that the cleanup plugin will corrupt as well the following repository types:
This one seem to be safe:
|
Hi, Thank you for your inquiry. Seems like there is a workaround already present in #47 and #52. If you still encounter issues with the cleanup plugin, we recommend moving to our new product feature designed to handle cleanup tasks more effectively. This feature has reached General Availability (GA) and offers enhanced capabilities for maintaining and managing artifacts. You can find more information and guidance on using this new feature in our Cleanup policies. We’ll close this for now, but if you have any further questions, feel free to reopen it! Thanks |
Hi,
I was just wondering how does this plugin handle conan repository artifacts. It seems that sometimes the artifact deletes a metadata file called
index.json
on a specific uploaded conan artifact.When this artifact is deleted, conan is not able to download the artifact any longer!
My question would be: How do you determine if a conan artifact directory should be deleted or not?
The text was updated successfully, but these errors were encountered: