unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39418] [PATCH] doc: Improve documentation on Substitute Server Authorization
@ 2020-02-04 14:18 Damien Cassou
  2020-02-05  0:42 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Damien Cassou @ 2020-02-04 14:18 UTC (permalink / raw)
  To: 39418

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


-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-doc-Improve-documentation-on-Substitute-Server-Autho.patch --]
[-- Type: text/x-patch, Size: 1082 bytes --]

From 5055c85f9accf11284223f824f9fd7d4456da308 Mon Sep 17 00:00:00 2001
From: Damien Cassou <damien@cassou.me>
Date: Tue, 4 Feb 2020 15:13:06 +0100
Subject: [PATCH] doc: Improve documentation on Substitute Server Authorization

* doc/guix.texi (Substitute Server Authorization): Explain that this is the
absence of the .drv file extension that indicates a proper setup.
---
 doc/guix.texi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 956c25ba9e..36c2437d96 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -3292,8 +3292,9 @@ $ guix build emacs --dry-run
 @end example
 
 @noindent
-This indicates that substitutes from @code{@value{SUBSTITUTE-SERVER}} are usable and
-will be downloaded, when possible, for future builds.
+The absence of the @file{.drv} file extension indicates that substitutes
+from @code{@value{SUBSTITUTE-SERVER}} are usable and will be downloaded,
+when possible, for future builds.
 
 @cindex substitutes, how to disable
 The substitute mechanism can be disabled globally by running
-- 
2.24.1


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

* [bug#39418] [PATCH] doc: Improve documentation on Substitute Server Authorization
  2020-02-04 14:18 [bug#39418] [PATCH] doc: Improve documentation on Substitute Server Authorization Damien Cassou
@ 2020-02-05  0:42 ` Leo Famulari
  2020-02-05 10:31   ` Damien Cassou
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2020-02-05  0:42 UTC (permalink / raw)
  To: Damien Cassou; +Cc: 39418

On Tue, Feb 04, 2020 at 03:18:03PM +0100, Damien Cassou wrote:
> * doc/guix.texi (Substitute Server Authorization): Explain that this is the
> absence of the .drv file extension that indicates a proper setup.

> -This indicates that substitutes from @code{@value{SUBSTITUTE-SERVER}} are usable and
> -will be downloaded, when possible, for future builds.
> +The absence of the @file{.drv} file extension indicates that substitutes
> +from @code{@value{SUBSTITUTE-SERVER}} are usable and will be downloaded,
> +when possible, for future builds.

The text "would be downloaded" is what indicates that substitutes are
working.

It's in contrast to the text from the previous example "The following
derivations would be built".

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

* [bug#39418] [PATCH] doc: Improve documentation on Substitute Server Authorization
  2020-02-05  0:42 ` Leo Famulari
@ 2020-02-05 10:31   ` Damien Cassou
  2020-02-05 20:14     ` bug#39418: " Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Damien Cassou @ 2020-02-05 10:31 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 39418

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

Leo Famulari <leo@famulari.name> writes:
> On Tue, Feb 04, 2020 at 03:18:03PM +0100, Damien Cassou wrote:
> The text "would be downloaded" is what indicates that substitutes are
> working.

I didn't notice this difference :-). It seems pretty obvious now. I
still think making it explicit would improve understanding. Here is a
modified patch. You may close the issue if you think no change is
necessary.

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-doc-Improve-documentation-on-Substitute-Server-Autho.patch --]
[-- Type: text/x-patch, Size: 1178 bytes --]

From 8642c07f2a31c77cc84c70fd31b20f78515bf934 Mon Sep 17 00:00:00 2001
From: Damien Cassou <damien@cassou.me>
Date: Tue, 4 Feb 2020 15:13:06 +0100
Subject: [PATCH] doc: Improve documentation on Substitute Server Authorization

* doc/guix.texi (Substitute Server Authorization): Explain that this is the
absence of the .drv file extension that indicates a proper setup.
---
 doc/guix.texi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 956c25ba9e..5b325642db 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -3292,8 +3292,10 @@ $ guix build emacs --dry-run
 @end example
 
 @noindent
-This indicates that substitutes from @code{@value{SUBSTITUTE-SERVER}} are usable and
-will be downloaded, when possible, for future builds.
+Please note that the introductory text changed from ``The following
+derivations would be built'' to ``112.3 MB would be downloaded''. This
+indicates that substitutes from @code{@value{SUBSTITUTE-SERVER}} are
+usable and will be downloaded, when possible, for future builds.
 
 @cindex substitutes, how to disable
 The substitute mechanism can be disabled globally by running
-- 
2.24.1


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

* bug#39418: [PATCH] doc: Improve documentation on Substitute Server Authorization
  2020-02-05 10:31   ` Damien Cassou
@ 2020-02-05 20:14     ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2020-02-05 20:14 UTC (permalink / raw)
  To: Damien Cassou; +Cc: 39418-done

On Wed, Feb 05, 2020 at 11:31:07AM +0100, Damien Cassou wrote:
> -This indicates that substitutes from @code{@value{SUBSTITUTE-SERVER}} are usable and
> -will be downloaded, when possible, for future builds.
> +Please note that the introductory text changed from ``The following
> +derivations would be built'' to ``112.3 MB would be downloaded''. This
> +indicates that substitutes from @code{@value{SUBSTITUTE-SERVER}} are
> +usable and will be downloaded, when possible, for future builds.

Thanks! I simplified the text a bit and pushed as
ea9cc4ef219e62de569945816a5e666775e7fa41

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

end of thread, other threads:[~2020-02-05 20:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-04 14:18 [bug#39418] [PATCH] doc: Improve documentation on Substitute Server Authorization Damien Cassou
2020-02-05  0:42 ` Leo Famulari
2020-02-05 10:31   ` Damien Cassou
2020-02-05 20:14     ` bug#39418: " Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).