X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id 79D381EBFF1 for ; Wed, 29 Dec 2010 10:12:49 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 7F6FAAE4002 for ; Wed, 29 Dec 2010 10:12:48 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rt3TmaV8K27g for ; Wed, 29 Dec 2010 10:12:46 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id B234BAE4001 for ; Wed, 29 Dec 2010 10:12:46 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 9D8FE6150F4EF for ; Wed, 29 Dec 2010 10:12:46 +0000 (UTC) Received: from ncopa-desktop.nor.wtbts.net (unknown [10.65.65.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id 81B7F60A87547 for ; Wed, 29 Dec 2010 10:12:45 +0000 (UTC) Date: Wed, 29 Dec 2010 11:12:33 +0100 From: Natanael Copa To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] Managing source packages Message-ID: <20101229111233.00776ec7@ncopa-desktop.nor.wtbts.net> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP The latest saveas-http:// idea hack brings up another thing we need to handle. How do we deal with source packages that disappears from upstream? Problem: we add a source URL in APKBUILD, 4 weeks later the project is gone for some reason or they have moved the source file or their server is just down. When bootstrapping, this is a major pain. According the GPL license we also have to provide the sources so we need to do something about this. The current workaround is http://distfiles.alpinelinux.org which basically is the shared /var/cache/distfiles for the build boxes. In abuild.conf you can add DISTFILES_MIRROR=http://distfiles.alpinelinux.org/distfiles and abuild will use this instead of downloading from upstream. I still wonder though, how and when do we delete files from distfiles? I dont think we should delete source files that are used for v1.10 releases, so how do we do that? git checkout v1.10, make a list of all sourcefiles and mark them as "protected"? then finally delete all files that are not marked as "protected"? Or do we switch to debian style src packages or srpms like? I have also some ideas of a script that parses current aports and downloads headers only, and then reports all 404 or non-responding servers and notifies the maintainer. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---