Subject: bug#65109: closed (Re: bug#65109: [PATCH] services: syncthing: Use the new command line syntax.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 10 Aug 2023 22:51:01 +0000

Your bug report

#65109: [PATCH] services: syncthing: Use the new command line syntax.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
65109: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65109
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#65109: [PATCH] services: syncthing: Use the new command line syntax.
From: Ludovic Courtès <[email-masked]>
To: Justin Veilleux <[email-masked]>
Cc: [email-masked]
Date: Fri, 11 Aug 2023 00:50:27 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Justin Veilleux <[email-masked]> skribis:

> From 07f90bb908b173f726309d8256f061a6fdad4710 Mon Sep 17 00:00:00 2001
> From: terramorpha <[email-masked]>
> 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’.

Subject: [PATCH] services: syncthing: Use the new command line syntax.
From: Justin Veilleux <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Sat, 5 Aug 2023 23:22:19 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Syncthing updated its command line interface to use --flag instead of -flag.
From 07f90bb908b173f726309d8256f061a6fdad4710 Mon Sep 17 00:00:00 2001
From: terramorpha <[email-masked]>
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 <[email-masked]>
+;;; Copyright © 2023 Justin Veilleux <[email-masked]>
 ;;;
 ;;; 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