Mirroring repos/proxy server #67
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 milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#67
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The option to mirror a repo, optionally while specifying a regex expression that matches package names or architectures, might be useful to implement. A periodic re-sync might allow us to install a vieter server in our local netwokr & use it as a proxy or something.
I've brainstormed this a bit just now.
The mirroring server could simply poll the main Vieter server every n minutes, just like the agents. The Vieter server could expose an endpoint that lists what packages in specific repositories/arch-repositories have changed since a given timestamp. The mirroring server would then only have to pull down these packages.
The mirror server implementation itself could simply use the existing repo implementation. The only complexity would be implementing streaming downloads, as vlib does not currently support this.