From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4194 invoked by uid 1002); 11 Aug 2003 14:58:45 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 26631 invoked from network); 11 Aug 2003 14:58:44 -0000 From: Mike Frysinger Reply-To: vapier@gentoo.org To: gentoo-dev@gentoo.org Date: Mon, 11 Aug 2003 10:58:46 -0400 User-Agent: KMail/1.5.2 References: <200308022229.12533.vapier@gentoo.org> <200308022238.57835.vapier@gentoo.org> <20030811134532.GA30543@zaphod.anachem.ruhr-uni-bochum.de> In-Reply-To: <20030811134532.GA30543@zaphod.anachem.ruhr-uni-bochum.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308111058.46994.vapier@gentoo.org> Subject: Re: [gentoo-dev] Some 'proper coding' notes for ebuilds X-Archives-Salt: 6a97ea57-f9f7-4366-bc5a-6cf821ffac60 X-Archives-Hash: 648104bd85c94251be6f4cabb78a4f8f On Monday 11 August 2003 09:45, Patrick Kursawe wrote: > Too sad I can't remember the name, but a while ago someone discouraged > people from using epatch for simple patches because it's quite some > overkill... > If I have to apply just one or two patches, I don't see why I should not > run patch from the ebuild. too many people just run 'patch < patchfile' without checking for whether it worked correctly ... plus, there are many ways to patch from gz/bzip2 (cat it, uncompress it, pipe it, blah blah blah) ... running 'epatch ' standardizes patch handling in all ebuilds, plus developers dont have to worry about whether they did it correctly ... i know it took me a while to figure out how to apply a freakin patch over a src base :) as for 'being overkill' ... yes, it has the ability to apply a ton of patches very easily, but if you just give it a patch file, it'll skip all that other code ... plus, if a patch fails, it shows nice output with a log file and everything ... hands down, azarah pwned the patch cmd -mike -- gentoo-dev@gentoo.org mailing list