From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FOF0f-0008Ji-77 for garchives@archives.gentoo.org; Tue, 28 Mar 2006 14:17:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k2SEGbVq015435; Tue, 28 Mar 2006 14:16:37 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k2SEGatU029796 for ; Tue, 28 Mar 2006 14:16:37 GMT Received: from [82.113.63.73] (helo=titan.startnet.cz) by smtp.gentoo.org with esmtp (Exim 4.54) id 1FOEzs-0005ag-EB for gentoo-java@lists.gentoo.org; Tue, 28 Mar 2006 14:16:36 +0000 Received: (qmail 11765 invoked from network); 28 Mar 2006 16:16:34 +0200 Received: from unknown (HELO ?192.168.1.2?) (miroslav.sulc@startnet.cz@10.15.192.25) by titan.local.startnet.cz with ESMTPA; 28 Mar 2006 16:16:34 +0200 Message-ID: <4429453C.4000209@startnet.cz> Date: Tue, 28 Mar 2006 16:16:28 +0200 From: =?windows-1252?Q?Miroslav_=8Aulc?= Organization: StartNet s.r.o. User-Agent: Thunderbird 1.5 (X11/20060319) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 To: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] dealing with VM vendors that don't change distfiles names References: <4429414E.8030401@gentoo.org> In-Reply-To: <4429414E.8030401@gentoo.org> Content-Type: multipart/mixed; boundary="------------090301030006010601060801" X-Archives-Salt: b699966f-60d3-4117-9b0a-0e6bd9dd77fb X-Archives-Hash: 99c4354e879c15d3b59281c82027797f This is a multi-part message in MIME format. --------------090301030006010601060801 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k2SEGbWG015435 I don't see deep in the topic but I think the file should be renamed somewhere. 1) It could probably be renamed at the source /distfiles/ directory, but then there would be problem with the download from vendor where the file has still the original name. 2) When ebuild downloads the file (with name given by vendor), it could save it under another name to the /usr/portage/distfiles/ (or the file could be renamed after it is downloaded). When user has to download the file manually, he/she should be instructed to save the file as /usr/portage/distfiles/file-name. It is important to download the fresh file and not to use the old one laying somewhere on the disk. I think it is not important what suffix will be appended to the file name but it could be transparent to use release string (or something other appropriate) from the ebuild name (something like "-r1") where the new file is used the first time. These are just thoughts, I don't know how the whole portage works. Miroslav =8Aulc Joshua Nichols napsal(a): > It seems some of the VM vendors, mostly Sun and IBM, just love to > release new versions of their VMs, but without changing the filename > they get released as. In short, this means that it breaks our ebuilds, > because the instructions for getting the file are the same, but the fil= e > it leads to is different, and therefore the digest breaks. > > There are currently at least 3 bugs filed for this issue: > > http://bugs.gentoo.org/show_bug.cgi?id=3D127204 > http://bugs.gentoo.org/show_bug.cgi?id=3D123590 > http://bugs.gentoo.org/show_bug.cgi?id=3D122220 > > There are a few solutions. > > * Just redigest the ebuild with the new distfile. This would be the > quickest solution, but it'd be problematic because then the digest woul= d > be broken for people that already have the distfiles. > > * Have users rename the files. This is used in a few cases at least. > This leads to the question of how to version the ebuilds though, becaus= e > they don't follow a sane (to us) versioning scheme, ie GA, SR-1, SR-2, = etc. > > * Some totally awesome way I haven't of yet. > > Thoughts? > > - Josh > =20 --------------090301030006010601060801 Content-Type: text/x-vcard; charset=utf-8; name="miroslav.sulc.vcf" Content-Disposition: attachment; filename="miroslav.sulc.vcf" Content-Transfer-Encoding: 7bit begin:vcard fn;quoted-printable:Miroslav =C5=A0ulc n;quoted-printable:=C5=A0ulc;Miroslav org:StartNet s.r.o. adr;quoted-printable;quoted-printable:;;Schodov=C3=A1 309/10;Praha 5;;150 00;=C4=8Cesk=C3=A1 republika email;internet:miroslav.sulc@startnet.cz tel;cell:+420 603 711 413 x-mozilla-html:TRUE url:http://www.startnet.cz version:2.1 end:vcard --------------090301030006010601060801-- -- gentoo-java@gentoo.org mailing list