Mail archive
alpine-devel

[alpine-devel] fetching sources from alpine mirror

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

Hi,

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
similar).

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.

Thanks!

-- 
Natanael Copa
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Tue Apr 06 2010 - 16:00:02 GMT