From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from outbound.mailhop.org (outbound.mailhop.org [63.208.196.171]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3H0mZEa006910 for ; Sun, 17 Apr 2005 00:48:35 GMT Received: from ip68-10-19-238.hr.hr.cox.net ([68.10.19.238] helo=phobos) by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.44) id 1DMxxj-000OMU-TF for gentoo-dev@lists.gentoo.org; Sat, 16 Apr 2005 20:48:35 -0400 Received: by phobos (Postfix, from userid 1000) id 7E542229C; Sat, 16 Apr 2005 20:48:38 -0400 (EDT) Date: Sat, 16 Apr 2005 20:48:38 -0400 From: Jason Cooper To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Gentoo as a development platform Message-ID: <20050417004838.GN16840@lakedaemon.net> 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-Mail-Handler: MailHop Outbound by DynDNS.org X-Originating-IP: 68.10.19.238 X-Report-Abuse-To: abuse@dyndns.org (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: jac299792458 X-Archives-Salt: ca8d9b51-e604-47cb-bf6d-b5477baeb1f3 X-Archives-Hash: d4123c4a414f5b791c55984b64075aff Daniel Drake (dsd@gentoo.org) scribbled: > 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 :) What about something akin to gcc? ie. you create a /usr/local/portage/foo-ness/foo/foo-cvs.ebuild, then adapt gcc-config to select which installed package to use, foo-1.2.3 or foo-cvs? Would definitely be some work, but would be a good long-term, easily maintainable solution. 'foo-config cvs' would use the last cvs build you did, then 'foo-config 1.2.3' would drop you back to regular. hth, Cooper. -- gentoo-dev@gentoo.org mailing list