:: Re: [devuan-mirrors] New Devuan pac…
Top Page
Delete this message
Reply to this message
Author: Shengqi Chen
Date:  
To: onefang, devuan-mirrors@lists.dyne.org
Subject: Re: [devuan-mirrors] New Devuan package mirror sync script.
Hi,

> -----Original Message-----
> From: devuan-mirrors <devuan-mirrors-bounces@???> On Behalf Of
> onefang
> Sent: Thursday, October 23, 2025 1:11 PM
>
> G'day, Devuan's package mirror herder here.
>
> I've been working on a new update script for Devuan package mirrors.
>
> https://sledjhamr.org/cgit/devuan_package_mirror_sync/
>
> Which tries to update a Devuan package mirror with minimal issues. It
> should help prevent "this mirror is currently updating and might give
> errors", or at least shrink that window down to fractions of a second.


It looks rather like Debian's two-stage rsync used in ftpsync [1].
And we (with my TUNA mirror's admin hat on) have also implemented our own version [2].
I suppose devuan does not have much deviation with Debian's folder structure,
so we could still re-use those mechanisms safely?

Thanks,
Shengqi Chen

[1]: https://salsa.debian.org/mirror-team/archvsync/-/blob/master/bin/ftpsync#L431
[2]: https://github.com/tuna/tunasync/blob/master/worker/two_stage_rsync_provider.go