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.62) (envelope-from ) id 1I7JSm-0002E9-0F for garchives@archives.gentoo.org; Sat, 07 Jul 2007 23:13:16 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l67NCFXk030198; Sat, 7 Jul 2007 23:12:16 GMT Received: from mail.genone.homeip.net (dslb-082-083-035-041.pools.arcor-ip.net [82.83.35.41]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l67NAICF027853 for ; Sat, 7 Jul 2007 23:10:18 GMT Received: by mail.genone.homeip.net (Postfix, from userid 460) id 7F575281D8; Sun, 8 Jul 2007 01:10:11 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr0-genone_0.7 (2007-02-13) on lyta.genone.homeip.net X-Spam-Level: X-Spam-Status: No, score=-1.4 required=7.0 tests=ALL_TRUSTED autolearn=ham version=3.1.8-gr0-genone_0.7 Received: from sheridan (sheridan [192.168.0.40]) by mail.genone.homeip.net (Postfix) with SMTP id 66E4B2815A for ; Sun, 8 Jul 2007 01:10:09 +0200 (CEST) Date: Sun, 8 Jul 2007 01:10:15 +0200 From: Marius Mauch To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] automated extended information gathering Message-Id: <20070708011015.cfaa28c5.genone@gentoo.org> In-Reply-To: <200707071743.44605.vapier@gentoo.org> References: <200707071743.44605.vapier@gentoo.org> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.10.11; i686-pc-mingw32) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 9e5c3e84-2c5b-4d87-950c-3f8ed0d7f502 X-Archives-Hash: ac55f89b8810af121e2a29a4e5be9f5d On Sat, 7 Jul 2007 17:43:44 -0400 Mike Frysinger wrote: > often times when i get a bug report about certain packages, there's > information about that package that i usually ask for ... i wonder if > this can be automated > > perhaps extend the syntax of profiles/info_pkgs: > [command to pass to system()] > sys-libs/glibc /lib/libc.so.6 > > then when people run `emerge --verbose --info`, for every atom > matched as installed, it'd automatically run the listed command and > display the output > > useful ? security issue waiting to explode ? crazy wacky monkey ? I see several problems with that approach: 1) adding a secondary purpose to info_pkgs, history has shown that we should avoid such things (think packages file) 2) as a consequence of 1), I assume people would add packages to info_pkgs only for the new purpose, cluttering regular --info output with irrelevant information 3) sounds more like something that should only trigger in `emerge --info foo` 4) likely not backwards compatible 5) considering 3), I'd rather see such information be specified by ebuilds somehow, not a global file (think about overlays). Maybe by installing a script in a specific location or so. Marius -- Marius Mauch -- gentoo-dev@gentoo.org mailing list