unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65109] [PATCH] services: syncthing: Use the new command line syntax.
@ 2023-08-05 23:22 Justin Veilleux
  2023-08-08 14:42 ` [bug#65109] Justin Veilleux
  2023-08-10 22:50 ` bug#65109: [PATCH] services: syncthing: Use the new command line syntax Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Justin Veilleux @ 2023-08-05 23:22 UTC (permalink / raw)
  To: 65109


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

Syncthing updated its command line interface to use --flag instead of -flag.

[-- Attachment #1.2: Type: text/html, Size: 437 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-services-syncthing-Use-the-new-command-line-syntax.patch --]
[-- Type: text/x-patch; name="0001-services-syncthing-Use-the-new-command-line-syntax.patch", Size: 1509 bytes --]

From 07f90bb908b173f726309d8256f061a6fdad4710 Mon Sep 17 00:00:00 2001
From: terramorpha <terramorpha@cock.li>
Date: Thu, 13 Jul 2023 16:16:51 -0400
Subject: [PATCH] services: syncthing: Use the new command line syntax.

* gnu/services/syncthing.scm (syncthing-shepherd-service): Use the new command line syntax.
---
 gnu/services/syncthing.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/services/syncthing.scm b/gnu/services/syncthing.scm
index 7c3d5b027d..c1a0cdd81f 100644
--- a/gnu/services/syncthing.scm
+++ b/gnu/services/syncthing.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2021 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2023 Justin Veilleux <terramorpha@cock.li>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -60,9 +61,9 @@ (define syncthing-shepherd-service
        (requirement '(loopback))
        (start #~(make-forkexec-constructor
                  (append (list (string-append #$syncthing "/bin/syncthing")
-                               "-no-browser"
-                               "-no-restart"
-                               (string-append "-logflags=" (number->string #$logflags)))
+                               "--no-browser"
+                               "--no-restart"
+                               (string-append "--logflags=" (number->string #$logflags)))
                          '#$arguments)
                  #:user #$user
                  #:group #$group
-- 
2.39.2


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

* [bug#65109]
  2023-08-05 23:22 [bug#65109] [PATCH] services: syncthing: Use the new command line syntax Justin Veilleux
@ 2023-08-08 14:42 ` Justin Veilleux
  2023-08-10 22:50 ` bug#65109: [PATCH] services: syncthing: Use the new command line syntax Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Justin Veilleux @ 2023-08-08 14:42 UTC (permalink / raw)
  To: 65109@debbugs.gnu.org

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

Please note that syncthing-service-type is currently broken because of this.

[-- Attachment #2: Type: text/html, Size: 437 bytes --]

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

* bug#65109: [PATCH] services: syncthing: Use the new command line syntax.
  2023-08-05 23:22 [bug#65109] [PATCH] services: syncthing: Use the new command line syntax Justin Veilleux
  2023-08-08 14:42 ` [bug#65109] Justin Veilleux
@ 2023-08-10 22:50 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2023-08-10 22:50 UTC (permalink / raw)
  To: Justin Veilleux; +Cc: 65109-done

Hi,

Justin Veilleux <justin.veilleux@umontreal.ca> skribis:

> From 07f90bb908b173f726309d8256f061a6fdad4710 Mon Sep 17 00:00:00 2001
> From: terramorpha <terramorpha@cock.li>
> Date: Thu, 13 Jul 2023 16:16:51 -0400
> Subject: [PATCH] services: syncthing: Use the new command line syntax.
>
> * gnu/services/syncthing.scm (syncthing-shepherd-service): Use the new command line syntax.

Applied, thanks!

Ludo’.




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

end of thread, other threads:[~2023-08-10 22:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-05 23:22 [bug#65109] [PATCH] services: syncthing: Use the new command line syntax Justin Veilleux
2023-08-08 14:42 ` [bug#65109] Justin Veilleux
2023-08-10 22:50 ` bug#65109: [PATCH] services: syncthing: Use the new command line syntax Ludovic Courtès

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