From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3GNgboJ019733 for ; Sat, 16 Apr 2005 23:42:38 GMT Received: from adsl-67-39-48-198.dsl.milwwi.ameritech.net ([67.39.48.198] helo=exodus) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DMwva-0003ZA-5M for gentoo-dev@lists.gentoo.org; Sat, 16 Apr 2005 23:42:18 +0000 Date: Sat, 16 Apr 2005 18:43:40 -0500 From: Brian Harring To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Gentoo as a development platform Message-ID: <20050416234339.GD13053@exodus.wit.org> References: <4261A173.3070008@gentoo.org> 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-Disposition: inline In-Reply-To: <4261A173.3070008@gentoo.org> User-Agent: Mutt/1.5.8i X-Archives-Salt: cd4150dc-33d7-43b0-8e8f-ecbcda58bbed X-Archives-Hash: 724b296084c53773726ca37d874d9171 On Sun, Apr 17, 2005 at 12:36:19AM +0100, Daniel Drake wrote: > Hi, > > Quite often, I use Gentoo's from-source nature to my advantage when developing > or testing software packages. > > Gentoo is fairly well oriented for this kind of environment, but it's not > brilliant. As an example, foo-3.2.1 (the latest version) is installed on my > system, but more recently, they fixed a critical bug in the upstream CVS tree > which I'd like to test the fix for. It's not dead simple for me to do this - I > want to use the CVS sources with the ebuild already in portage. I have to use > "ebuild foo-3.2.1.ebuild unpack" to extract the sources, then manually replace > them with my CVS checkout. Or checkout CVS, make a new tarball, call it > foo-3.2.1.tar.bz2, redigest and remerge the ebuild. Or I could create a > foo-cvs ebuild and go to the trouble of making it mirror the contents of > foo-3.2.1.ebuild exactly. > > It's great that its *possible* right now thanks to portage and co, but I'm > interested in ways of making this easier. Before I give this more thought, I'd > be interested to know if anyone has already got any scripts or tips :) Abuse the cvs eclass, and write an ebuild that does a co itself. If you're after basically having the unpack func switchable (are we cvs based, or are we working from a known tarball)... yeah, eww. :) ~brian -- gentoo-dev@gentoo.org mailing list