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=1.2 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI, RDNS_NONE autolearn=no autolearn_force=no version=4.0.0 Received: from uranus.u235.eyep.net (unknown [194.90.113.98]) by chiba.3jane.net (Postfix) with SMTP id EC12418998 for ; Mon, 3 Dec 2001 10:07:24 -0600 (CST) Received: (qmail 6404 invoked by uid 500); 3 Dec 2001 16:06:39 -0000 Subject: Re: [gentoo-dev] New ideas, USE database, sandbox & more From: Vitaly Kushneriuk To: gentoo-dev@gentoo.org In-Reply-To: <20011203220147.D13834@swool.com> References: <003f01c17bcd$ed380c30$6400a8c0@server> <1007379134.13527.5.camel@uranus.u235.eyep.net> <20011203220147.D13834@swool.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.99.0 (Preview Release) Date: 03 Dec 2001 18:06:39 +0200 Message-Id: <1007395599.13527.15.camel@uranus.u235.eyep.net> Mime-Version: 1.0 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 Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Developer discussion list List-Unsubscribe: , List-Archive: X-Archives-Salt: bab4ffc9-5296-4352-9669-901cf1e004aa X-Archives-Hash: 1e4c2e49d8de7aa5d2c45e443ae8dc6f > > 3)emerge should search for package in category dirs. So that > > "emerge gcc" as "emerge sys-devel/gcc" > > This would be really cool, I imagine it would be hard to add to portage. (Comments drobbins?) Not at all It should be less then 20 lines of code. like that (in shell, not checked ): if [ ! -f $package ] ; then for f in /usr/portage/*/$package ; do if [ -d $f ] ; then $package=`echo $f | sed 's:^/usr/portage/::'` break fi done fi > > 5)Compile and install logs should be stored for future inspection. > > Should be realy simple to implement. Just redirect sub shell to > > "| tee . Or even "> logfilename" if emerge called with > > --silent flag. > > Again, this would be really good for backtracking failed builds. > > Some really good ideas here but I am not sure it will all fit in with portage. > Again, realy easy... I'll do it later if no one volontiers. Vitaly.