Mail archive

[alpine-devel] fetching sources from alpine mirror

From: Natanael Copa <>
Date: Tue, 6 Apr 2010 16:00:02 +0200


There is an issue with source packages that disapear or move to new
location from time to time. The correct way to solve that is to have a
copy of the source packages some place, hosted by Alpine.

Changing abuild to first try our mirror and if not found the upstream
download url is fairly simple. (basicly done already) However, I
wonder how we maintain a distfiles mirror?

Download new sources is easy, can be done from git hook, when git
repository is updated, download all new sources. (abuild fetch or

The tricky part is how to delete the old ones.

I suppose we want keep old sources from releases. So before deleting
anything, we need to check that its not in current aports tree, and
not in any tag? or we just stick to save things in branches?

Ideas how delete algorithm should work is welcome.


Natanael Copa
Received on Tue Apr 06 2010 - 16:00:02 UTC