~alpine/devel

[alpine-devel] fetching sources from alpine mirror

Details
Message ID
<w2i95408c821004060700g728dff9cn57129d54f79b49a4@mail.gmail.com>
Sender timestamp
1270562402
DKIM signature
missing
Download raw message
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@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)