From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DMARC_QUAR,FREEMAIL_FROM, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_DYNAMIC autolearn=unavailable autolearn_force=no version=4.0.0 Received: from tharkserver.tharknet.lotr (pD9E1241D.dip.t-dialin.net [217.225.36.29]) by chiba.3jane.net (Postfix) with ESMTP id 8A93DAC76D for ; Wed, 2 Oct 2002 04:02:44 -0500 (CDT) Received: from tharkun.tharknet.lotr (tharkun.tharknet.lotr [192.168.168.200]) by tharkserver.tharknet.lotr (Postfix) with ESMTP id D0C7A6326 for ; Wed, 2 Oct 2002 11:02:42 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Alexander Gretencord To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] portage question Date: Wed, 2 Oct 2002 11:02:42 +0200 User-Agent: KMail/1.4.2 References: <3D9A2B1A.5010903@level7.ro> <20021002092206.0e79a105.bain@reaper.org> <20021002073908.GA12221@SDF.LONESTAR.ORG> In-Reply-To: <20021002073908.GA12221@SDF.LONESTAR.ORG> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200210021102.42324.arutha@gmx.de> Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: d3b1ff4d-9980-438e-9171-49098b89017f X-Archives-Hash: 350adea0f0ee7f72378f092dd3118347 On Wednesday 02 October 2002 09:39, Evan Read wrote: > On Wed, Oct 02, 2002 at 09:22:06AM +0200, Henti Smith wrote: > On Tue, = 01 > Oct 2002 23:09:14 +0000 > Leon Chiver wrote: > > > I'v= e > installed gentoo and I must say that I'm very pleased whith it. > > > Marvelous job. > > But there's still one feature I'm missing and which > regards the update > > procedure: wouldn't it be nice if we could upgra= de > from one version of a > > package to another by only downloading the di= ff? > A few days before I've > > installed mozilla-1.0, today I emerged 1.0.1= =2E > But I had to download the > > entire 1.0.1 archive, instead of only a d= iff > file. For people with a > > limited internet access this would be a rea= lly > great feature. > > Does anyone know, is such an improvement planned? > = > I > had a look on the bugzilla page and did a few searches .. didn't se > anything that pertains to this, but I have to admit .. > In the image = of > gentoo this should have been in portage already. > > being able to upd= ate > packages just with patches would be really nice for us low bandwidth us= ers > .. > Sorry for that but you _had_ to see that mess. Didn't think mutt would do= such=20 stuff or do you fake your User-Agent Header and are using Outlook? :) > There was a thread about why the kernel stuff isn't done that way. It = was > discussed that it is very hard to allow for people that sit at very > different kernel versions to be able to upgrade with one ebuild. Yes, = one > can do all the checks to see what is needed to go from 2.4.x to 2.4.19 = (or > even 2.2.x to 2.4.19) and just fetch the right diff, but that is much m= ore > difficult than "get latest source, unpack into /usr/src and patch". Huh? What's so difficult about unpack source from version x, unpack from=20 version y run a diff over the two directories and put that into=20 patch-source-package z. Now lets say we want to update our kernel from gentoo-sources-2.4.18 to=20 gentoo-sources-2.4.19-r7. Portage sees there's already a linux-2.4.18.tar= =2Ebz2=20 so we don't download the linux-2.4.19.tar.bz2 from kernel.org but instead= =20 download the patch from 2.4.18 to 2.4.19, unpack the 2.4.18 into our new=20 directory, patch it to 2.4.19 and then patch in the stuff that makes a=20 gentoo-sources-r7 out of it. I don't see where this would be a problem either with the kernel or any o= ther=20 package. Of course you'd need quite some patches on the servers for that=20 thats true :) > There is nothing stopping anyone from creating thes ebuild themselves a= nd > posting them on the web say "diff2.4.16to2.4.19.ebuild" and giving peop= le > the ability to use them , even if they don't get commited. No, don't build it into the ebuilds, let portage do it. The ebuild has no= thing=20 to do with it! Alex --=20 "They that can give up essential liberty to obtain a little temporary saf= ety=20 deserve neither liberty nor safety." Benjamin Franklin