public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Volkov <pva@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: qa@gentoo.org
Subject: Re: [gentoo-dev] [gentoo-commits] gentoo-x86 commit in dev-util/netbeans: ChangeLog netbeans-6.9-r3.ebuild
Date: Thu, 22 Jul 2010 12:44:21 +0400	[thread overview]
Message-ID: <1279788261.6915.45.camel@tablet> (raw)
In-Reply-To: <4C470FC1.1060503@gentoo.org>

В Срд, 21/07/2010 в 17:18 +0200, "Miroslav Šulc (fordfrog)" пишет:

> > epatch_user() from euitls.eclass

> so this is undocumented feature? i did not know about this cool
> feature till now.

It's undocumented since it's better to avoid this feature in ebuilds
because this hack makes impossible to know what patches user have and
why package fails the way it fails. So better drop this code. If user
wants some useful patch {s}he should open the bug or use overlay.

epatch_user() was created for rare cases where package requires random
third-party patches for additional functionality that is impossible to
maintain in the tree. Good example is iptables: it has tons of
third-party patches. This patches are released days/months after
iptables release and even skip some iptables releases, don't have
upstream and thus making impossible to maintain them in the tree.

In general I think this is problem with our tools - we need some way to
apply custom patches and make emerge --info pkg could give us all
information about that custom patches... But until such or similar
solution implemented, please, avoid epatch_user() in the tree.

CC'ing QA: guys, I think this is your domain so in case you have any
comments here, please, do :)

-- 
Peter.




  reply	other threads:[~2010-07-22  8:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100719202440.76AB22CF39@corvid.gentoo.org>
2010-07-21 14:35 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-util/netbeans: ChangeLog netbeans-6.9-r3.ebuild Jeremy Olexa
2010-07-21 15:18   ` "Miroslav Šulc (fordfrog)"
2010-07-22  8:44     ` Peter Volkov [this message]
2010-07-22 12:32       ` [gentoo-dev] " "Miroslav Šulc (fordfrog)"
2010-07-22 13:19         ` Peter Volkov
2010-07-22 17:14           ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1279788261.6915.45.camel@tablet \
    --to=pva@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=qa@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox