From owner-freebsd-hackers Wed Apr 24 9:15:37 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id AFBCD37B420 for ; Wed, 24 Apr 2002 09:14:57 -0700 (PDT) Received: (qmail 56707 invoked by uid 100); 24 Apr 2002 16:14:54 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <15558.55806.422744.851621@guru.mired.org> Date: Wed, 24 Apr 2002 11:14:54 -0500 To: Antoine Beaupre Cc: hackers@FreeBSD.org, The Anarcat , freebsd-libh@FreeBSD.org Subject: Re: packaging base In-Reply-To: References: <15558.52046.142372.646281@guru.mired.org> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.52 (Python 2.2 on FreeBSD/i386) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In , Antoine Beaup= re typed: > Le Mercredi 24 avril 2002, =E0 11:12 , Mike Meyer a =E9crit : > > [Replies have been pointed to -hackers to get this off of -stable.]= > [taken to libh] Better. > > In <20020424121651.GA317@lenny.anarcat.dyndns.org>, The Anarcat=20 > > typed: > >> On Wed Apr 24, 2002 at 12:17:37AM -0500, Mike Meyer wrote: > >>> In <20020424050711.GC973@lenny.anarcat.dyndns.org>, The Anarcat=20= > >>> typed: > >>> That one's not the problem. The problem is catting together many > >>> *floppies* to get a package prior to actually installing it. That= 's > >>> not quite so simple. > >> I could see a simple shell script deal with that. I think it is qu= ite > >> simple. > > Your simple shell script has to prompt for floppies. That needs UI > > code. The people who know have decided that the current UI code isn= 't > > up to snuff. Hence libh. > Come on.. The current package system and sysinstall are quite good at= =20 > prompting for a simple yes/no question. The issue is really not there= , I=20 > think. I'm not really sure - I haven't poked at the source to see what would have to change to make all that work. > Libh is developping a UI, fine. But we need to develop a way to packa= ge=20 > base efficiently. Correct. I believe that's part of the libh project. You apparently don't. I actually think you could start this project and use the libh list to communicate the work. If you can make it work with the current sysinstall, great. If not - well, you'll at least have the package system ready for when libh gets there. > >>>> But guess what: libh won't get through if it's not a drop-in > >>>> replacement for sysinstall. > >>> What makes you say that? > >> FUD. Documentation is written for sysinstall and everyone's used t= o > >> it. > > Considering that the installation process is the one that generates= > > the most complaints/suggestions/etc., changing it is certainly a > > must. Yes, we'll need new documentation. I believe there are plans = to > > have them both available for a while. But making it a drop-in would= > > defeat one of the reasons for rewriting it. > I originally agreed with you, but I met some resistance in trying to=20= > convince people so. Did you propose running them both for a while? I think that's a critical step to get people to change. Especially if the libh version offers things the old one doesn't, like a consistent interface. > >>>> In other words, libh doesn't know about the ports collection or > >>>> /usr/src yet, and I don't think it's going to change soon. > >>> Yes, but it will change eventually. > >> I hope not. I prefer keeping the package management system seperat= e > >> from the source management system. > > Wait - source management? What does libh or sysinstall have to do w= ith > > source management, beyond installing the source in the first > > place. Ideally, you want that to be just another package. > Well, that's what I'm saying: libh or sysinstall shouldn't have anyth= ing=20 > to do with source management. :) I never said it should. Is someone else making that claim? > I'm concerned that since libh doesn't currently aim at handling the=20= > current bin.xx brute-force system, it will need base to be packaged i= n=20 > order to install a running system. Correct. > And libh will meet resistance not only from being a brand new system,= =20 > but also at trying to package base, which will break havoc among=20 > developpers. How many developers use sysinstall, vs. rebuilding from source? Those are the only ones who are liable to care. If it's done right, then the new sysinstall should have packages defined by the NO* variables in /etc/defaults/make.conf, and should set the appropriate flags in /etc/make.conf for each part you don't load. > That's why I think the libh vs sysinstall and bin.xx vs base.tgz issu= es=20 > must be separated. As I pointed out above, that separation doesn't have to mean pulling the bin.xxx vs. base.tgz stuff out of libh. The two can happen in parallel. > >>> And yes, it's going to require rewriting the package format to de= al > >>> with the issues needed for working on the base system. > >> I don't think you have proved that point. > > You're right, I haven't. I've been resorting to argument by authori= ty, > > which isn't proof. However, I tend to believe the original author o= f a > > software when he says that something needs to be done a specific wa= y > > to change that system. If you want to argue with the author, jkh's > > address is well-known. > I am not sure jkh would say that libh was written to repackage the ba= se=20 > system. It seemed kind of implicit in the design documents, wasn't it= ? No, he wouldn't say libh was written to repackage the base system. He would say that repackaging the base system was one of the goals of the libh project. =09=09=09=09http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more inform= ation. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message