Drop local files and metadata with their remote #163

Merged
benvin merged 1 commits from benvin/delete-remote-files into master 2026-10-24 18:35:29 +11:00
Member

Deleting a repo leaves its local_files and package metadata rows behind, so a repo recreated under the same name inherits stale index entries and re-uploading any path 409s.

  • delete local_files and rpm/deb/alpine/puppet/helm metadata rows with the remote in one transaction
  • poll TestLocalAlpineIndex until the index lists the package, since metadata is parsed after the upload returns
Deleting a repo leaves its local_files and package metadata rows behind, so a repo recreated under the same name inherits stale index entries and re-uploading any path 409s. - delete local_files and rpm/deb/alpine/puppet/helm metadata rows with the remote in one transaction - poll TestLocalAlpineIndex until the index lists the package, since metadata is parsed after the upload returns
unkin-agent added 1 commit 2026-10-24 17:30:42 +11:00
Drop local files and metadata with their remote
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
f88678360f
Author
Member

No findings.

No findings.
benvin merged commit fe9de81afa into master 2026-10-24 18:35:29 +11:00
benvin deleted branch benvin/delete-remote-files 2026-10-24 18:35:29 +11:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/artifactapi#163