Mirroring repos/proxy server #67

Open
opened 2022-02-04 17:43:32 +01:00 by Jef Roosens · 1 comment
Owner

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.

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.
Jef Roosens added the
idea
label 2022-02-04 17:43:32 +01:00
Author
Owner

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.

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.
This repository is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: vieter-v/vieter#67
No description provided.