From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Nq74u-0001rm-1a for garchives@archives.gentoo.org; Fri, 12 Mar 2010 15:47:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B706EE0B25; Fri, 12 Mar 2010 15:47:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 61437E0B0D for ; Fri, 12 Mar 2010 15:47:02 +0000 (UTC) Received: from [10.0.0.10] (unknown [81.193.81.254]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id ABC741B403F; Fri, 12 Mar 2010 15:47:00 +0000 (UTC) Subject: Re: [gentoo-dev] [RFC] ebuild function to show package changelog From: Angelo Arrifano To: gentoo-dev@lists.gentoo.org Cc: William Hubbs In-Reply-To: <20100312153350.GA3970@linux1> References: <1268406965.7397.40.camel@localhost> <20100312153350.GA3970@linux1> Content-Type: text/plain; charset="UTF-8" Organization: Gentoo Linux (embedded) Date: Fri, 12 Mar 2010 16:51:02 +0100 Message-ID: <1268409062.7397.50.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: 6db4451b-23ea-4acf-930f-bacb5ff9eee8 X-Archives-Hash: 459ba01d998764ace3d23f47288eeb07 On Sex, 2010-03-12 at 09:33 -0600, William Hubbs wrote: > On Fri, Mar 12, 2010 at 04:16:05PM +0100, Angelo Arrifano wrote: > > Hello all, > > > > [Speaking as user] I find myself many times stumbling through package > > ChangeLogs to see what is new/changed after a emerge -u world. As some > > of you might agree, this is time consuming. > > > > What do you people think on a new pkg_changelog function that would > > instruct the ebuild how to retrieve this kind of information from the > > package? Most of packages have a somewhat standard place for it in the > > source tree, so I guess a default pkg_changelog function could, in > > theory, be implemented. > > > > This function could be then called at user request by means of e.g. > > emerge --showchangelog or at the end of emerge update (controlled > > through a FEATURES="show-changelog" or something). > > Actually there is already an option for emerge to show the changelogs > of packages that will be upgraded. Take a look at the --changelog > option for emerge. It can be used along with --pretend to show you the > changelogs of packages that will be upgraded. For a moment, you really tricked me into believing I've been missing this feature. Specially by reading man emerge: "This will show the ChangeLog entries for all the packages" btw: shouldn't it read "ebuilds" here? /\ What I meant originally was to show the ChangeLog of the package (ChangeLog inside source tree), not the ebuild ChangeLog. > > Thanks, > > William > Regards, -- Angelo Arrifano AKA MiKNiX Gentoo Embedded/OMAP850 Developer Linwizard Developer http://www.gentoo.org/~miknix http://miknix.homelinux.com