Old packages are now removed properly #120
No reviewers
Labels
No labels
Roadmap
V
bug
docs
duplicate
enhancement
good first issue
help wanted
idea
invalid
question
wontfix
Idea
Roadmap
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "remove-old-packages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR fixes the bug where old packages aren't removed from the file system. Because of this, each arch-repo now his its own subdirectory inside the pkg dir, namely
/:repo/:arch. Packages with architecture "any" use hard links to prevent having to store the archive data multiple times. This greatly simplifies the codebase, but does require the download & pkg dir to be on the same file system. However, I was already recommending this before because before, files were moved between these directories already.Closes #79