Skip to content
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

Deleting an RPM directory keeps "repodata" #390

Open
kayscheerer opened this issue Aug 28, 2024 · 0 comments
Open

Deleting an RPM directory keeps "repodata" #390

kayscheerer opened this issue Aug 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kayscheerer
Copy link

Describe the bug
I have a directory structure that looks like this
artifactory-repository:parent-directory/sub-directory/name.rpm
artifactory-repository:parent-directory/sub-directory/repodata/...

artifactory-repository is of Package Type "RPM".
When I delete via artifactory.repository("artifactory-repository").delete("parent-directory"); all .rpm files are deleted but the repodata is still there (and the parent-directory as well).
Is this expected behaviour?

To Reproduce
Upload an RPM to an RPM-repository (repodata should be generated by Artifactory)
Delete the whole directory.

Expected behavior
When I delete a whole directory I expect the directory to be gone, not just parts of it.
If the deletion wasn't successful/complete I would expect an exception.

Screenshots

Versions

  • Artifactory Java Client version: org.jfrog.artifactory.client:artifactory-java-client-services:+ -> 2.17.0
  • Operating system: macOs Sonoma 14.5
  • Artifactory Version: v7.71.23

Additional context

@kayscheerer kayscheerer added the bug Something isn't working label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant