unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#33387] [PATCH] doc: fix typo in connman config
@ 2018-11-14 21:30 Giovanni Biscuolo
  2018-11-15 18:10 ` Efraim Flashner
  2018-11-15 18:12 ` bug#33387: " Efraim Flashner
  0 siblings, 2 replies; 3+ messages in thread
From: Giovanni Biscuolo @ 2018-11-14 21:30 UTC (permalink / raw)
  To: 33387


[-- Attachment #1.1: Type: text/plain, Size: 137 bytes --]

Dear maintainers,

reading at the manual I found what it seems a typo to me, please have a
look at my tiny patch

best regards
Giovanni


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-doc-fix-typo-in-connman-config.patch --]
[-- Type: text/x-diff, Size: 794 bytes --]

From 8cf66fa64d495857a71bafffcd0c6cc56abf2eec Mon Sep 17 00:00:00 2001
From: Giovanni Biscuolo <g@xelera.eu>
Date: Wed, 14 Nov 2018 21:44:13 +0100
Subject: [PATCH] doc: fix typo in connman config

* doc/guix.texi (Networking Services): fix typo in connman config
  "disable-vpn?" parameter documentation, semantic is inverted
---
 doc/guix.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 0ba034e82..765261fc6 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -11832,7 +11832,7 @@ Data Type representing the configuration of connman.
 The connman package to use.
 
 @item @code{disable-vpn?} (default: @code{#f})
-When true, enable connman's vpn plugin.
+When true, disable connman's vpn plugin.
 @end table
 @end deftp
 
-- 
2.11.0


[-- Attachment #3: Type: text/plain, Size: 50 bytes --]


-- 
Giovanni Biscuolo

Xelera IT Infrastructures

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

* [bug#33387] [PATCH] doc: fix typo in connman config
  2018-11-14 21:30 [bug#33387] [PATCH] doc: fix typo in connman config Giovanni Biscuolo
@ 2018-11-15 18:10 ` Efraim Flashner
  2018-11-15 18:12 ` bug#33387: " Efraim Flashner
  1 sibling, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2018-11-15 18:10 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: 33387

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

On Wed, Nov 14, 2018 at 10:30:46PM +0100, Giovanni Biscuolo wrote:
> Dear maintainers,
> 
> reading at the manual I found what it seems a typo to me, please have a
> look at my tiny patch
> 
> best regards
> Giovanni
> 

Here's the relevant code from gnu/services/networking.scm:

(define-record-type* <connman-configuration>
  connman-configuration make-connman-configuration
  connman-configuration?
  (connman      connman-configuration-connman
                (default connman))
  (disable-vpn? connman-configuration-disable-vpn?
                (default #f)))

(define (connman-activation config)
  (let ((disable-vpn? (connman-configuration-disable-vpn? config)))
    (with-imported-modules '((guix build utils))
      #~(begin
          (use-modules (guix build utils))
          (mkdir-p "/var/lib/connman/")
          (unless #$disable-vpn?
            (mkdir-p "/var/lib/connman-vpn/"))))))

So it looks like the documentation is wrong.


> From 8cf66fa64d495857a71bafffcd0c6cc56abf2eec Mon Sep 17 00:00:00 2001
> From: Giovanni Biscuolo <g@xelera.eu>
> Date: Wed, 14 Nov 2018 21:44:13 +0100
> Subject: [PATCH] doc: fix typo in connman config
> 
> * doc/guix.texi (Networking Services): fix typo in connman config
>   "disable-vpn?" parameter documentation, semantic is inverted
> ---
>  doc/guix.texi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/doc/guix.texi b/doc/guix.texi
> index 0ba034e82..765261fc6 100644
> --- a/doc/guix.texi
> +++ b/doc/guix.texi
> @@ -11832,7 +11832,7 @@ Data Type representing the configuration of connman.
>  The connman package to use.
>  
>  @item @code{disable-vpn?} (default: @code{#f})
> -When true, enable connman's vpn plugin.
> +When true, disable connman's vpn plugin.
>  @end table
>  @end deftp
>  
> -- 
> 2.11.0
> 

> 
> -- 
> Giovanni Biscuolo
> 
> Xelera IT Infrastructures


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#33387: [PATCH] doc: fix typo in connman config
  2018-11-14 21:30 [bug#33387] [PATCH] doc: fix typo in connman config Giovanni Biscuolo
  2018-11-15 18:10 ` Efraim Flashner
@ 2018-11-15 18:12 ` Efraim Flashner
  1 sibling, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2018-11-15 18:12 UTC (permalink / raw)
  To: Giovanni Biscuolo; +Cc: 33387-done

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

Commit pushed as c61f36f368c563c48815de0abe625383909b0a8d

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2018-11-15 18:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-14 21:30 [bug#33387] [PATCH] doc: fix typo in connman config Giovanni Biscuolo
2018-11-15 18:10 ` Efraim Flashner
2018-11-15 18:12 ` bug#33387: " Efraim Flashner

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).