Support packages with different architectures #62
Labels
No Label
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 Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#62
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Currently the server does not check what architecture a package is, or whether it's already present in the repository with a different architecture. I think we call solve this problem in the following way:
Instead of having one repository, we could have one for each architecture. When a package is published, we inspect the architecture & add it to the correct repository. If a package has the "any" architecture, we add it to all repos.
Using an environment variable (that defaults to x86_64), we can route requests to the proper repository. If no architecture subpath is used, we route to the default one. Otherwise, e.g. if the user requests
/arm64/vieter.db
, we return the correct one.This could also be expanded once we have multi-repository support, where each repository has its own sub-repositories for each architecture.
/some-repo.db
would return the default architecture for that repo, while/amd64/some-repo.db
would return the correct one for that architecture.