public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-pms] [PATCH] Fix typos in strings occurring in configure --help output.
@ 2015-02-16 19:18 Ulrich Müller
  2015-02-16 21:19 ` David Leverton
  2015-02-21 12:38 ` [gentoo-pms] " Ulrich Mueller
  0 siblings, 2 replies; 4+ messages in thread
From: Ulrich Müller @ 2015-02-16 19:18 UTC (permalink / raw
  To: gentoo-pms

These should be "--disable-dependency-tracking" and
"--disable-silent-rules", respectively (note the leading "--").
---
 pkg-mgr-commands.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 5fd3d62..ef65d0c 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -180,10 +180,10 @@ has returned.
     \item -{}-libdir must be set according to Algorithm~\ref{alg:econf-libdir}.
     \item -{}-disable-dependency-tracking, if the EAPI is listed in
         table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
-        string \t{disable-dependency-tracking} occurs in the output of \t{configure -{}-help}.
-    \item -{}-disable-silent-rules, if the EAPI is listed in
-        table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
-        string \t{disable-silent-rules} occurs in the output of \t{configure -{}-help}.
+        string \t{-{}-disable-dependency-tracking} occurs in the output of \t{configure -{}-help}.
+    \item -{}-disable-silent-rules, if the EAPI is listed in table~\ref{tab:econf-options-table} as
+        using it. This option will only be passed if the string \t{-{}-disable-silent-rules} occurs
+        in the output of \t{configure -{}-help}.
     \end{itemize}
 
     \ChangeWhenAddingAnEAPI{6}
-- 
2.3.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [gentoo-pms] [PATCH] Fix typos in strings occurring in configure --help output.
  2015-02-16 19:18 [gentoo-pms] [PATCH] Fix typos in strings occurring in configure --help output Ulrich Müller
@ 2015-02-16 21:19 ` David Leverton
  2015-02-16 23:33   ` Ulrich Mueller
  2015-02-21 12:38 ` [gentoo-pms] " Ulrich Mueller
  1 sibling, 1 reply; 4+ messages in thread
From: David Leverton @ 2015-02-16 21:19 UTC (permalink / raw
  To: gentoo-pms

Ulrich Müller wrote:
> These should be "--disable-dependency-tracking" and
> "--disable-silent-rules", respectively (note the leading "--").

The original implementation for --disable-dependency-tracking in Portage 
really did check without the "--", but it was changed in
7d7387b (2012-08-29) at the same time that --disable-silent-rules was 
added.  Paludis follows the spec as it currently is and doesn't include 
the "--".  As this is such a small detail I'm not going to complain too 
much, but technically it is a retroactive change....



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-pms] [PATCH] Fix typos in strings occurring in configure --help output.
  2015-02-16 21:19 ` David Leverton
@ 2015-02-16 23:33   ` Ulrich Mueller
  0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Mueller @ 2015-02-16 23:33 UTC (permalink / raw
  To: gentoo-pms

[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]

>>>>> On Mon, 16 Feb 2015, David Leverton wrote:

> The original implementation for --disable-dependency-tracking in
> Portage really did check without the "--", but it was changed in
> 7d7387b (2012-08-29) at the same time that --disable-silent-rules
> was added. Paludis follows the spec as it currently is and doesn't
> include the "--". As this is such a small detail I'm not going to
> complain too much, but technically it is a retroactive change....

I don't remember why we don't include the "--", but the earlist
mention of it seems to be this:
https://bugs.gentoo.org/show_bug.cgi?id=211529#c24
(I suspect that it was omitted simply because grepping for a string
starting with a hyphen is slightly more complicated ...)

Anyway, Portage includes the "--" since some time and there seem to be
no issues with it. More importantly, EAPI 6 will have --docdir and
--htmldir, and I fear that matching them without the "--" might lead
to false positives.

So our choices are a) inconsistent behaviour for EAPI 6, matching
"disable-silent-rules" but "--docdir", b) a complicated spec with
"disable-silent-rules" in EAPI 5 (and not matching Portage behaviour)
but "--disable-silent-rules" in EAPI 6, or c) a small retroactive
change. To me c) looks like the lesser evil.

Ulrich

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-pms] Re: [PATCH] Fix typos in strings occurring in configure --help output.
  2015-02-16 19:18 [gentoo-pms] [PATCH] Fix typos in strings occurring in configure --help output Ulrich Müller
  2015-02-16 21:19 ` David Leverton
@ 2015-02-21 12:38 ` Ulrich Mueller
  1 sibling, 0 replies; 4+ messages in thread
From: Ulrich Mueller @ 2015-02-21 12:38 UTC (permalink / raw
  To: gentoo-pms

[-- Attachment #1: Type: text/plain, Size: 194 bytes --]

>>>>> On Mon, 16 Feb 2015, Ulrich Müller wrote:

> These should be "--disable-dependency-tracking" and
> "--disable-silent-rules", respectively (note the leading "--").

Pushed to master.

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-21 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-16 19:18 [gentoo-pms] [PATCH] Fix typos in strings occurring in configure --help output Ulrich Müller
2015-02-16 21:19 ` David Leverton
2015-02-16 23:33   ` Ulrich Mueller
2015-02-21 12:38 ` [gentoo-pms] " Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox