From unknown Wed Jun 18 23:13:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#45476 <45476@debbugs.gnu.org> To: bug#45476 <45476@debbugs.gnu.org> Subject: Status: [PATCH] gnu: syncthing: Update to 1.12.0. Reply-To: bug#45476 <45476@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:13:13 +0000 retitle 45476 [PATCH] gnu: syncthing: Update to 1.12.0. reassign 45476 guix-patches submitter 45476 John Doe severity 45476 normal tag 45476 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 16:23:34 2020 Received: (at submit) by debbugs.gnu.org; 27 Dec 2020 21:23:34 +0000 Received: from localhost ([127.0.0.1]:33678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktdVk-0006OP-MJ for submit@debbugs.gnu.org; Sun, 27 Dec 2020 16:23:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:36538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktdVh-0006OF-Lv for submit@debbugs.gnu.org; Sun, 27 Dec 2020 16:23:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktdVh-0000Fy-AJ for guix-patches@gnu.org; Sun, 27 Dec 2020 16:23:29 -0500 Received: from smtp2-g21.free.fr ([2a01:e0c:1:1599::11]:64222) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktdVd-0004EZ-5U for guix-patches@gnu.org; Sun, 27 Dec 2020 16:23:29 -0500 Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6]) (Authenticated sender: dftxbs3e) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 1F3F3200385; Sun, 27 Dec 2020 22:23:18 +0100 (CET) From: John Doe To: guix-patches@gnu.org Subject: [PATCH] gnu: syncthing: Update to 1.12.0. Date: Sun, 27 Dec 2020 22:23:04 +0100 Message-Id: <20201227212304.19409-1-dftxbs3e@free.fr> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2a01:e0c:1:1599::11; envelope-from=dftxbs3e@free.fr; helo=smtp2-g21.free.fr X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.998, SPF_HELO_NONE=0.001, SPF_NONE=0.001, SPOOFED_FREEMAIL=1.609 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: John Doe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/syncthing.scm (syncthing): Update to 1.12.0. [source]: Do not delete bundled dependencies, maintaining the syncthing package without them is too much trouble. Syncthing's upstream seems committed to including only Free Software in their releases. [arguments]: Modify build phase to run build.go without any argument otherwise nothing would get built. This causes binaries to be written into a bin/ directory, adjust delete-file statement accordingly. Also adjust install phase to look for all binaries but syncthing in a bin/ subdirectory. * gnu/packages/syncthing.scm: Remove go-github-com-jackpal-go-nat-pmp, go-github-com-audriusbutkevicius-recli, go-github-com-bkaradzic-go-lz4, go-github-com-calmh-du, go-github-com-calmh-xdr, go-github-com-d4l3k-messagediff, go-github-com-gobwas-glob, go-github-com-golang-groupcache-lru, go-github-com-golang-snappy, go-github-com-jackpal-gateway, go-github-com-lib-pq, go-github-com-oschwald-geoip2-golang, go-github-com-oschwald-maxminddb-golang, go-github-com-stathat-go, go-github-com-rcrowley-go-metrics, go-github-com-sasha-s-go-deadlock, go-github-com-syndtr-goleveldb, go-github-com-thejerf-suture, go-github-com-vitrun-qart, go-github-com-chmduquesne-rollinghash, go-github-com-petermattis-goid, go-github-com-kballard-go-shellquote, go-github-com-syncthing-notify, go-github-com-beorn7-perks-quantile, go-github-com-prometheus-client-model, go-github-com-matttproud-golang-protobuf-extensions-pbutil, go-github-com-prometheus-common, go-github-com-prometheus-procfs, go-github-com-prometheus-client-golang, go-github-com-go-asn1-ber-asn1-ber, go-github-com-go-ldap-ldap, go-github-com-flynn-archive-go-shlex, go-github-com-audriusbutkevicius-pfilter, go-github-com-ccding-go-stun, and go-github-com-cespare-xxhash variables. --- gnu/packages/syncthing.scm | 987 +------------------------------------ 1 file changed, 11 insertions(+), 976 deletions(-) diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 7e479a0d39..0937e2bcff 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -43,7 +43,7 @@ (define-public syncthing (package (name "syncthing") - (version "1.5.0") + (version "1.12.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/syncthing/syncthing" @@ -51,68 +51,12 @@ "/syncthing-source-v" version ".tar.gz")) (sha256 (base32 - "1394b8y4nllihnjngc0kjpdy7pvyh6v1h09hkn8rdmwxpsdkqkjb")) - (modules '((guix build utils))) - ;; Delete bundled ("vendored") free software source code. - (snippet '(begin - (delete-file-recursively "vendor") - #t)))) + "0a8s7xmaiqg8j7zmwqr7gw6kip0lh42yig9gmnk51c2r3ic5f2zv")))) (build-system go-build-system) ;; The primary Syncthing executable goes to "out", while the auxiliary ;; server programs and utility tools go to "utils". This reduces the size ;; of "out" by ~80 MiB. (outputs '("out" "utils")) - ;; When updating Syncthing, check 'go.mod' in the source distribution to - ;; ensure we are using the correct versions of these dependencies. - (inputs - `(("go-github-com-jackpal-go-nat-pmp" - ,go-github-com-jackpal-go-nat-pmp) - ("go-github-com-bkaradzic-go-lz4" ,go-github-com-bkaradzic-go-lz4) - ("go-github-com-calmh-xdr" ,go-github-com-calmh-xdr) - ("go-github-com-chmduquesne-rollinghash" - ,go-github-com-chmduquesne-rollinghash) - ("go-github-com-gobwas-glob" ,go-github-com-gobwas-glob) - ("go-github-com-golang-groupcache-lru" - ,go-github-com-golang-groupcache-lru) - ("go-github-com-jackpal-gateway" ,go-github-com-jackpal-gateway) - ("go-github-com-kballard-go-shellquote" - ,go-github-com-kballard-go-shellquote) - ("go-github-com-lib-pq" ,go-github-com-lib-pq) - ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) - ("go-github-com-oschwald-geoip2-golang" - ,go-github-com-oschwald-geoip2-golang) - ("go-github-com-pkg-errors" ,go-github-com-pkg-errors) - ("go-github-com-rcrowley-go-metrics" ,go-github-com-rcrowley-go-metrics) - ("go-github-com-sasha-s-go-deadlock" ,go-github-com-sasha-s-go-deadlock) - ("go-github-com-syncthing-notify" ,go-github-com-syncthing-notify) - ("go-github-com-syndtr-goleveldb" ,go-github-com-syndtr-goleveldb) - ("go-github-com-thejerf-suture" ,go-github-com-thejerf-suture) - ("go-golang-org-x-time" ,go-golang-org-x-time) - ("go-github-com-go-ldap-ldap" ,go-github-com-go-ldap-ldap) - ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf) - ("go-github-com-shirou-gopsutil" ,go-github-com-shirou-gopsutil) - ("go-github-com-prometheus-client-golang" - ,go-github-com-prometheus-client-golang) - ("go-golang-org-x-net" ,go-golang-org-x-net) - ("go-golang-org-x-text" ,go-golang-org-x-text) - ("go-github-com-audriusbutkevicius-recli" - ,go-github-com-audriusbutkevicius-recli) - ("go-github-com-urfave-cli" ,go-github-com-urfave-cli) - ("go-github-com-vitrun-qart" ,go-github-com-vitrun-qart) - ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) - ("go-golang-org-x-crypto" ,go-golang-org-x-crypto) - ("go-github-com-flynn-archive-go-shlex" - ,go-github-com-flynn-archive-go-shlex) - ("go-github-com-getsentry-raven-go" ,go-github-com-getsentry-raven-go) - ("go-github-com-maruel-panicparse" ,go-github-com-maruel-panicparse) - ("go-github-com-ccding-go-stun" ,go-github-com-ccding-go-stun) - ("go-github-com-audriusbutkevicius-pfilter" ,go-github-com-audriusbutkevicius-pfilter) - ("go-github-com-lucas-clemente-quic-go" ,go-github-com-lucas-clemente-quic-go) - ("go-github-com-willf-bloom" ,go-github-com-willf-bloom) - - ;; For tests. - ("go-github-com-d4l3k-messagediff" ,go-github-com-d4l3k-messagediff))) - (arguments `(#:modules ((srfi srfi-26) ; for cut (guix build utils) @@ -135,8 +79,8 @@ ;; updater and to build the utilities is to "build all" and then ;; "build syncthing" again with -no-upgrade. ;; https://github.com/syncthing/syncthing/issues/6118 - (invoke "go" "run" "build.go" "build" "all") - (delete-file "syncthing") + (invoke "go" "run" "build.go") + (delete-file "bin/syncthing") (invoke "go" "run" "build.go" "-no-upgrade" "build" "syncthing")))) (replace 'check @@ -150,12 +94,13 @@ (utils (assoc-ref outputs "utils"))) (with-directory-excursion "src/github.com/syncthing/syncthing" (install-file "syncthing" (string-append out "/bin")) - (for-each (cut install-file <> (string-append utils "/bin/")) - '("stcli" "stcompdirs" "stcrashreceiver" - "stdisco" "stdiscosrv" "stevents" "stfileinfo" - "stfinddevice" "stfindignored" "stgenfiles" - "stindex" "strelaypoolsrv" "strelaysrv" "stsigtool" - "stvanity" "stwatchfile" "uraggregate" "ursrv")) + (with-directory-excursion "bin" + (for-each (cut install-file <> (string-append utils "/bin/")) + '("stcli" "stcompdirs" "stcrashreceiver" + "stdisco" "stdiscosrv" "stevents" "stfileinfo" + "stfinddevice" "stfindignored" "stgenfiles" + "stindex" "strelaypoolsrv" "strelaysrv" "stsigtool" + "stvanity" "stwatchfile" "uraggregate" "ursrv"))) #t)))) (add-after 'install 'install-docs @@ -251,913 +196,3 @@ notification area icon for Syncthing. Supported Syncthing features: @item Editing daemon settings @end itemize\n") (license gpl2))) - -(define-public go-github-com-jackpal-go-nat-pmp - (package - (name "go-github-com-jackpal-go-nat-pmp") - (version "1.0.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jackpal/go-nat-pmp") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1p2yrzfbkazc9nisr2iqjwzhb6q16zj6finyxxn2ikk7iiighl1g")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/jackpal/go-nat-pmp")) - (synopsis "Port mapping and discovery of external IP address") - (description "This package provides a Go client for the NAT-PMP internet -protocol for port mapping and discovering the external IP address of a -firewall.") - (home-page "https://github.com/jackpal/go-nat-pmp") - (license asl2.0))) - -(define-public go-github-com-audriusbutkevicius-recli - (package - (name "go-github-com-audriusbutkevicius-recli") - (version "0.0.5") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/AudriusButkevicius/recli") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1m1xna1kb78pkmr1lfmvvnpk9j7c4x71j3a7c6vj7zpzc4srpsmf")))) - (build-system go-build-system) - (inputs - `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors) - ("go-github-com-urfave-cli" ,go-github-com-urfave-cli))) - (arguments - `(#:import-path "github.com/AudriusButkevicius/recli")) - (synopsis "Reflection-based CLI generator") - (description "For a given struct, @code{recli} builds a set of -@code{urfave/cli} commands which allows you to modify it from the command line. -It is useful for generating command line clients for your application -configuration that is stored in a Go struct.") - (home-page "https://github.com/AudriusButkevicius/recli") - (license mpl2.0))) - -(define-public go-github-com-bkaradzic-go-lz4 - (let ((commit "7224d8d8f27ef618c0a95f1ae69dbb0488abc33a") - (revision "0")) - (package - (name "go-github-com-bkaradzic-go-lz4") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/bkaradzic/go-lz4") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "10lmya17vdqg2pvqni0p73iahni48s1v11ya9a0hcz4jh5vw4dkb")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/bkaradzic/go-lz4")) - (synopsis "LZ4 compression algorithm") - (description "This package provides @code{go-lz4}, a Go implementation of -the LZ4 compression algorithm.") - (home-page "https://github.com/bkaradzic/go-lz4") - (license bsd-2)))) - -(define-public go-github-com-calmh-du - (package - (name "go-github-com-calmh-du") - (version "1.0.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/calmh/du") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0qb3a6y3p9nkyn3s66k6zcm16y8n8578qh23ddj14cxf2scrr2n2")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/calmh/du")) - (synopsis "Get total and available disk space of a given volume") - (description "This is a Go implementation of `du`. It provides disk usage -information, such as how much storage space is available, free, and used.") - (home-page "https://github.com/calmh/du") - (license public-domain))) - -(define-public go-github-com-calmh-xdr - (package - (name "go-github-com-calmh-xdr") - (version "1.1.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/calmh/xdr") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "072wqdncz3nd4a3zkhvzzx1y3in1lm29wfvl0d8wrnqs5pyqh0mh")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/calmh/xdr")) - (synopsis "XDR marshalling and unmarshalling") - (description "XDR is an External Data Representation (XDR) -marshalling and unmarshalling library in Go. It uses code generation and not -reflection.") - (home-page "https://github.com/calmh/xdr") - (license expat))) - -(define-public go-github-com-d4l3k-messagediff - (package - (name "go-github-com-d4l3k-messagediff") - (version "1.2.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/d4l3k/messagediff") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "104hl8x57ciaz7mzafg1vp9qggxcyfm8hsv9bmlihbz9ml3nyr8v")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/d4l3k/messagediff")) - (synopsis "Diff arbitrary Go structs") - (description "Messagediff is a library for calculating diffs of arbitrary -structs in the Go programming language.") - (home-page "https://github.com/d4l3k/messagediff") - (license expat))) - -(define-public go-github-com-gobwas-glob - (package - (name "go-github-com-gobwas-glob") - (version "0.2.3") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gobwas/glob") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0jxk1x806zn5x86342s72dq2qy64ksb3zrvrlgir2avjhwb18n6z")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/gobwas/glob")) - (synopsis "Go globbing library") - (description "This package provides a Go implementation of globs.") - (home-page "https://github.com/gobwas/glob") - (license expat))) - - -(define-public go-github-com-golang-groupcache-lru - (let ((commit "869f871628b6baa9cfbc11732cdf6546b17c1298") - (revision "2")) - (package - (name "go-github-com-golang-groupcache-lru") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/golang/groupcache") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0r4nk8129bvx50qb4xzjaay39b2h6k7cbdqqzdlanmc82ygczsbw")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/golang/groupcache/lru" - #:unpack-path "github.com/golang/groupcache")) - (synopsis "Groupcache is a caching and cache-filling library") - (description "Groupcache is a caching and cache-filling library, intended -as a replacement for memcached in many cases. It provides a data loading -mechanism with caching and de-duplication that works across a set of peer -processes.") - (home-page "https://github.com/golang/groupcache") - (license asl2.0)))) - -(define-public go-github-com-golang-snappy - (let ((commit "553a641470496b2327abcac10b36396bd98e45c9") - (revision "0")) - (package - (name "go-github-com-golang-snappy") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/golang/snappy") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0kssxnih1l722hx9219c7javganjqkqhvl3i0hp0hif6xm6chvqk")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/golang/snappy")) - (synopsis "Snappy compression format in the Go programming language") - (description "This package provides a Go implementation of the Snappy -compression format.") - (home-page "https://github.com/golang/snappy") - (license bsd-3)))) - -(define-public go-github-com-jackpal-gateway - (package - (name "go-github-com-jackpal-gateway") - (version "1.0.6") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jackpal/gateway") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1yms2dw4dnz4cvj9vhwh6193d50jhvn5awsp2g3a4lcc3sjrgd6m")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/jackpal/gateway")) - (synopsis "Discover the address of a LAN gateway") - (description "@code{gateway} is a Go library for discovering the IP -address of the default LAN gateway.") - (home-page "https://github.com/jackpal/gateway") - (license bsd-3))) - -(define-public go-github-com-lib-pq - (package - (name "go-github-com-lib-pq") - (version "1.2.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/lib/pq") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "08j1smm6rassdssdks4yh9aspa1dv1g5nvwimmknspvhx8a7waqz")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/lib/pq" - ;; The tests seem to fail without access to the network or a running - ;; Postgres instance. - #:tests? #f)) - (synopsis "Golang Postgres driver for Go's database/sql") - (description "This package provides a pure Go Postgres driver for Go's -database/sql package.") - (home-page "https://github.com/lib/pq") - (license expat))) - -(define-public go-github-com-oschwald-geoip2-golang - (package - (name "go-github-com-oschwald-geoip2-golang") - (version "1.4.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/oschwald/geoip2-golang") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1jj4rbdpy87rbl79czg5hs5dyn6xlbnk0bnvyzi71dsxan57nixw")))) - (build-system go-build-system) - (propagated-inputs - `(("go-github-com-oschwald-maxminddb-golang" - ,go-github-com-oschwald-maxminddb-golang) - ("go-golang-org-x-sys" ,go-golang-org-x-sys))) - (arguments - `(#:import-path "github.com/oschwald/geoip2-golang" - #:tests? #f)) ; Requires some unpackaged software and test data - (synopsis "MaxMind GeoIP2 reader") - (description "This package provides a library for reading MaxMind -GeoLite2 and GeoIP2 databases in Go.") - (home-page "https://github.com/oschwald/geoip2-golang") - (license isc))) - -(define-public go-github-com-oschwald-maxminddb-golang - (package - (name "go-github-com-oschwald-maxminddb-golang") - (version "1.4.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/oschwald/maxminddb-golang") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "100wd5qv00pkcm6cb8c4x5gavc9jnn7drh6xrqh85hzci4rils66")))) - (build-system go-build-system) - (propagated-inputs - `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) - (arguments - `(#:import-path "github.com/oschwald/maxminddb-golang" - #:tests? #f)) ; Requires some unpackaged software and test data - (synopsis "MaxMind DB Reader for Go") - (description "This is a Go reader for the MaxMind DB format. Although -this can be used to read GeoLite2 and GeoIP2 databases, @code{geoip2} provides a -higher-level API for doing so.") - (home-page "https://github.com/oschwald/maxminddb-golang") - (license isc))) - -(define-public go-github-com-stathat-go - (let ((commit "74669b9f388d9d788c97399a0824adbfee78400e") - (revision "0")) - (package - (name "go-github-com-stathat-go") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/stathat/go") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1zzlsl24dyr202qkr2pay22m6d0gb7ssms77wgdx0r0clgm7dihw")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/stathat/go")) - (synopsis "Post statistics to StatHat") - (description "This is a Go package for posting to a StatHat account.") - (home-page "https://github.com/stathat/go") - (license expat)))) - -(define-public go-github-com-rcrowley-go-metrics - (let ((commit "cac0b30c2563378d434b5af411844adff8e32960") - (revision "2")) - (package - (name "go-github-com-rcrowley-go-metrics") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/rcrowley/go-metrics") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1hfxffnpaw49pr3wrkbzq3pnv3nyzsvk5dxndv0yz70xlrbg8a04")))) - (build-system go-build-system) - (arguments - ;; Arbitrary precision tests are known to be broken on aarch64, ppc64le - ;; and s390x. See: https://github.com/rcrowley/go-metrics/issues/249 - `(#:tests? ,(not (string-prefix? "aarch64" (or (%current-target-system) - (%current-system)))) - #:import-path "github.com/rcrowley/go-metrics")) - (propagated-inputs - `(("go-github-com-stathat-go" ,go-github-com-stathat-go))) - (synopsis "Go port of Coda Hale's Metrics library") - (description "This package provides a Go implementation of Coda Hale's -Metrics library.") - (home-page "https://github.com/rcrowley/go-metrics") - (license bsd-2)))) - -(define-public go-github-com-sasha-s-go-deadlock - (package - (name "go-github-com-sasha-s-go-deadlock") - (version "0.2.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/sasha-s/go-deadlock") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "13p7b7pakd9k1c2k0fs1hfim3c8mivz679977ai6zb01s4aw7gyg")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/sasha-s/go-deadlock")) - (propagated-inputs - `(("go-github-com-petermattis-goid" ,go-github-com-petermattis-goid))) - (synopsis "Deadlock detection in go") - (description "This package provides tools for detecting deadlocks at -run-time in Go.") - (home-page "https://github.com/sasha-s/go-deadlock") - (license asl2.0))) - -(define-public go-github-com-syndtr-goleveldb - (let ((commit "758128399b1df3a87e92df6c26c1d2063da8fabe") - (revision "4")) - (package - (name "go-github-com-syndtr-goleveldb") - (version (git-version "1.0.1" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/syndtr/goleveldb") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0mnkzrz4di13g6ggd54my7bkb9nwk8f5k672dyasn467wsg7bf8f")))) - (build-system go-build-system) - (propagated-inputs - `(("go-github-com-golang-snappy" ,go-github-com-golang-snappy))) - (arguments - `(#:import-path "github.com/syndtr/goleveldb/leveldb" - #:unpack-path "github.com/syndtr/goleveldb" - #:tests? #f)) ; XXX needs 'github.com/onsi/gomega' package - (synopsis "LevelDB key/value database") - (description "This is an implementation of the LevelDB key / value -database in Go.") - (home-page "https://github.com/syndtr/goleveldb") - (license bsd-2)))) - -(define-public go-github-com-thejerf-suture - (package - (name "go-github-com-thejerf-suture") - (version "3.0.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/thejerf/suture") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "03bdrl78jfwk0kw40lj63ga9cxhgccgss8yi9lp5j0m0ml7921gh")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/thejerf/suture")) - (synopsis "Supervisor trees for Go") - (description "Suture provides Erlang-ish supervisor trees for Go. -\"Supervisor trees\" -> \"sutree\" -> \"suture\" -> holds your code together -when it's trying to die. - -It is intended to deal gracefully with the real failure cases that can occur -with supervision trees (such as burning all your CPU time endlessly restarting -dead services), while also making no unnecessary demands on the \"service\" -code, and providing hooks to perform adequate logging with in a production -environment") - (home-page "https://github.com/thejerf/suture") - (license expat))) - -(define-public go-github-com-vitrun-qart - (let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa") - (revision "0")) - (package - (name "go-github-com-vitrun-qart") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/vitrun/qart") - (commit commit))) - (file-name (string-append "go-github-com-vitrun-qart-" - version "-checkout")) - (sha256 - (base32 - "1xk7qki703xmay9ghi3kq2bjf1iw9dz8wik55739d6i7sn77vvkc")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/vitrun/qart")) - (synopsis "Create QR codes with an embedded image") - (description "This package provides a library for embedding -human-meaningful graphics in QR codes. However, instead of scribbling on -redundant pieces and relying on error correction to preserve the meaning, -@code{qart} engineers the encoded values to create the picture in a code with no -inherent errors.") - (home-page "https://github.com/vitrun/qart") - (license bsd-3)))) - -(define-public go-github-com-chmduquesne-rollinghash - (let ((commit "a60f8e7142b536ea61bb5d84014171189eeaaa81") - (revision "0")) - (package - (name "go-github-com-chmduquesne-rollinghash") - (version (git-version "4.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/chmduquesne/rollinghash") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0fpaqq4zb0wikgbhn7vwqqj1h865f5xy195vkhivsp922p7qwsjr")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/chmduquesne/rollinghash/")) - (synopsis "Rolling hashes in Go") - (description "This package provides a Go implementation of several rolling -hashes.") - (home-page "https://github.com/chmduquesne/rollinghash") - (license expat)))) - -(define-public go-github-com-petermattis-goid - (let ((commit "b0b1615b78e5ee59739545bb38426383b2cda4c9") - (revision "1")) - (package - (name "go-github-com-petermattis-goid") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/petermattis/goid") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0ghfxn045r0bbn2vszw897lxzmhnm4k59aypjvpxl0pbzsw9ab2c")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/petermattis/goid")) - (synopsis "Identify the running goroutine") - (description "This package offers a method of programmatically retrieving -the current goroutine's ID.") - (home-page "https://github.com/petermattis/goid") - (license asl2.0)))) - -(define-public go-github-com-kballard-go-shellquote - (let ((commit "95032a82bc518f77982ea72343cc1ade730072f0") - (revision "1")) - (package - (name "go-github-com-kballard-go-shellquote") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/kballard/go-shellquote") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1rspvmnsikdq95jmx3dykxd4k1rmgl98ryjrysvl0cf18hl1vq80")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/kballard/go-shellquote")) - (synopsis "Shell-style string joins and splits") - (description "Shellquote provides utilities for joining/splitting strings -using sh's word-splitting rules.") - (home-page "https://github.com/kballard/go-shellquote") - (license expat)))) - -(define-public go-github-com-syncthing-notify - (let ((commit "69c7a957d3e261f9744f46b3dd4d608d8480ad90") - (revision "5")) - (package - (name "go-github-com-syncthing-notify") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/syncthing/notify") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1mmdzyfnmjabyhbipl4bggw4w5nlxyyjp0d93qd824kj07kmsr1f")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/syncthing/notify")) - (propagated-inputs - `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) - (synopsis "File system event notification library") - (description "This package provides @code{notify}, a file system event -notification library in Go.") - (home-page "https://github.com/syncthing/notify") - (license expat)))) - -(define-public go-github-com-beorn7-perks-quantile - (let ((commit "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9") - (revision "0")) - (package - (name "go-github-com-beorn7-perks-quantile") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/beorn7/perks") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1hrybsql68xw57brzj805xx2mghydpdiysv3gbhr7f5wlxj2514y")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/beorn7/perks/quantile" - #:unpack-path "github.com/beorn7/perks")) - (synopsis "Compute approximate quantiles over an unbounded data stream") - (description "Perks contains the Go package @code{quantile} that computes -approximate quantiles over an unbounded data stream within low memory and CPU -bounds.") - (home-page "https://github.com/beorn7/perks") - (license expat)))) - -(define-public go-github-com-prometheus-client-model - (let ((commit "14fe0d1b01d4d5fc031dd4bec1823bd3ebbe8016") - (revision "2")) - (package - (name "go-github-com-prometheus-client-model") - (version (git-version "0.0.2" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/client_model") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0zdmk6rbbx39cvfz0r59v2jg5sg9yd02b4pds5n5llgvivi99550")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/prometheus/client_model" - #:tests? #f - #:phases - (modify-phases %standard-phases - ;; Source-only package - (delete 'build)))) - (propagated-inputs - `(("go-github-com-golang-protobuf-proto" - ,go-github-com-golang-protobuf-proto))) - (synopsis "Data model artifacts for Prometheus") - (description "This package provides data model artifacts for Prometheus.") - (home-page "https://github.com/prometheus/client_model") - (license asl2.0)))) - -(define-public go-github-com-matttproud-golang-protobuf-extensions-pbutil - (let ((commit "c12348ce28de40eed0136aa2b644d0ee0650e56c") - (revision "0")) - (package - (name "go-github-com-matttproud-golang-protobuf-extensions-pbutil") - (version (git-version "1.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/matttproud/golang_protobuf_extensions") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/matttproud/golang_protobuf_extensions/pbutil" - #:unpack-path "github.com/matttproud/golang_protobuf_extensions")) - (propagated-inputs - `(("go-github-com-golang-protobuf-proto" - ,go-github-com-golang-protobuf-proto))) - (synopsis "Streaming Protocol Buffers in Go") - (description "This package provides various Protocol Buffer -extensions for the Go language, namely support for record length-delimited -message streaming.") - (home-page "https://github.com/matttproud/golang_protobuf_extensions") - (license asl2.0)))) - -(define-public go-github-com-prometheus-common - (package - (name "go-github-com-prometheus-common") - (version "0.4.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/common") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0sf4sjdckblz1hqdfvripk3zyp8xq89w7q75kbsyg4c078af896s")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/prometheus/common" - #:tests? #f - #:phases - (modify-phases %standard-phases - (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable - (lambda* (#:key outputs #:allow-other-keys) - (map (lambda (file) - (make-file-writable file)) - (find-files - (string-append (assoc-ref outputs "out") - "/src/github.com/prometheus/common/expfmt/testdata/") - ".*\\.gz$")) - #t)) - ;; Source-only package - (delete 'build)))) - (propagated-inputs - `(("go-github-com-golang-protobuf-proto" - ,go-github-com-golang-protobuf-proto) - ("go-github-com-matttproud-golang-protobuf-extensions-pbutil" - ,go-github-com-matttproud-golang-protobuf-extensions-pbutil) - ("go-github-com-prometheus-client-model" - ,go-github-com-prometheus-client-model))) - (synopsis "Prometheus metrics") - (description "This package provides tools for reading and writing -Prometheus metrics.") - (home-page "https://github.com/prometheus/common") - (license asl2.0))) - -(define-public go-github-com-prometheus-procfs - (package - (name "go-github-com-prometheus-procfs") - (version "0.0.4") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/procfs") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1z5jq5rjala0a0di4nwk1rai0z9f73qwqj6mgcbpjbg2qknlb544")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/prometheus/procfs" - ;; The tests require Go modules, which are not yet supported in Guix's - ;; Go build system. - #:tests? #f)) - (synopsis "Go library for reading @file{/proc}") - (description "The @code{procfs} Go package provides functions to retrieve -system, kernel, and process metrics from the @file{/proc} pseudo file system.") - (home-page "https://github.com/prometheus/procfs") - (license asl2.0))) - -(define-public go-github-com-prometheus-client-golang - (package - (name "go-github-com-prometheus-client-golang") - (version "1.2.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/client_golang") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0zs49psk23n9z8wrl02d5vib5wclpym8kaxcy6n5pk696i419065")))) - (build-system go-build-system) - (arguments - '(#:tests? #f - #:import-path "github.com/prometheus/client_golang" - #:phases - (modify-phases %standard-phases - ;; Source-only package - (delete 'build)))) - (propagated-inputs - `(("go-github-com-beorn7-perks-quantile" - ,go-github-com-beorn7-perks-quantile) - ("go-github-com-golang-protobuf-proto" - ,go-github-com-golang-protobuf-proto) - ("go-github-com-prometheus-client-model" - ,go-github-com-prometheus-client-model) - ("go-github-com-prometheus-common" - ,go-github-com-prometheus-common) - ("go-github-com-prometheus-procfs" ,go-github-com-prometheus-procfs) - ("go-github-com-cespare-xxhash" ,go-github-com-cespare-xxhash))) - (synopsis "HTTP server and client tools for Prometheus") - (description "This package @code{promhttp} provides HTTP client and -server tools for Prometheus metrics.") - (home-page "https://github.com/prometheus/client_golang") - (license asl2.0))) - -(define-public go-github-com-go-asn1-ber-asn1-ber - (package - (name "go-github-com-go-asn1-ber-asn1-ber") - (version "1.3.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/go-asn1-ber/asn1-ber") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0dxfmgk84fn0p6pz3i0cspynh6rly5pfk9wghm1q07mx99npln02")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/go-asn1-ber/asn1-ber")) - (synopsis "ASN.1 BER encoding and decoding in Go") - (description "This package provides ASN.1 BER encoding and decoding in the -Go language.") - (home-page "https://github.com/go-asn1-ber/asn1-ber") - (license expat))) - -(define-public go-github-com-go-ldap-ldap - (package - (name "go-github-com-go-ldap-ldap") - (version "3.1.7") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/go-ldap/ldap") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1z6wxia7a1jkmasa9mm6g4n8f0qqbp5rw6vk0zyh4vzk7azklnj2")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/go-ldap/ldap/v3" - #:tests? #f)) ; test suite requires internet access - (propagated-inputs - `(("go-github-com-go-asn1-ber-asn1-ber" ,go-github-com-go-asn1-ber-asn1-ber))) - (home-page "https://github.com/go-ldap/ldap") - (synopsis "LDAP v3 functionality for Go") - (description "This package provides basic LDAP v3 functionality in the Go -language.") - (license expat))) - -(define-public go-github-com-flynn-archive-go-shlex - (let ((commit "3f9db97f856818214da2e1057f8ad84803971cff") - (revision "0")) - (package - (name "go-github-com-flynn-archive-go-shlex") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/flynn-archive/go-shlex") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/flynn-archive/go-shlex")) - (synopsis "Go lexer") - (description "Shlex is a simple lexer for go that supports shell-style -quoting, commenting, and escaping.") - (home-page "https://github.com/flynn-archive/go-shlex") - (license asl2.0)))) - -(define-public go-github-com-audriusbutkevicius-pfilter - (package - (name "go-github-com-audriusbutkevicius-pfilter") - (version "0.0.5") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/AudriusButkevicius/pfilter") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0xzhwyd0w21bhvzl5pinn22hp0y6h44rh3s2ppql69rafc6zd3c6")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/AudriusButkevicius/pfilter")) - (synopsis "Filter packets into multiple virtual connections") - (description "Pfilter is a Go package for filtering packets into multiple -virtual connections from a single physical connection.") - (home-page "https://github.com/AudriusButkevicius/pfilter") - (license expat))) - -(define-public go-github-com-ccding-go-stun - (let ((commit "be486d185f3dfcb2dbf8429332da50a0da7f95a6") - (revision "2")) - (package - (name "go-github-com-ccding-go-stun") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ccding/go-stun") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1gr0rw1c1y7wh6913lyn5k4ig023by27i36bly6am8dwgrgp34ww")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/ccding/go-stun")) - (synopsis "STUN client implementation") - (description "Go-stun is a go implementation of the STUN client (RFC 3489 -and RFC 5389).") - (home-page "https://github.com/ccding/go-stun") - (license asl2.0)))) - -(define-public go-github-com-cespare-xxhash - (package - (name "go-github-com-cespare-xxhash") - (version "2.1.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/cespare/xxhash") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "12ad3z7ki9j07c4kx3ywkl6188i2afsjg7sl60wd21p6zkkpfjxq")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/cespare/xxhash")) - (synopsis "Go implementation of xxHash") - (description "This package provides of Go implementation of the 64-bit -xxHash algorithm (XXH64).") - (home-page "https://github.com/cespare/xxhash/") - (license expat))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 17:00:35 2020 Received: (at 45476) by debbugs.gnu.org; 27 Dec 2020 22:00:35 +0000 Received: from localhost ([127.0.0.1]:33701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kte5Z-0007J8-Bo for submit@debbugs.gnu.org; Sun, 27 Dec 2020 17:00:34 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:21526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kte5W-0007Iz-Q4 for 45476@debbugs.gnu.org; Sun, 27 Dec 2020 17:00:32 -0500 Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6]) (Authenticated sender: dftxbs3e) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 489702003CC; Sun, 27 Dec 2020 23:00:26 +0100 (CET) From: John Doe To: 45476@debbugs.gnu.org Subject: [PATCH v2] gnu: syncthing: Update to 1.12.0. Date: Sun, 27 Dec 2020 23:00:16 +0100 Message-Id: <20201227220016.20897-1-dftxbs3e@free.fr> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/syncthing.scm (syncthing): Update to 1.12.0. [source]: Do not delete bundled dependencies, maintaining the syncthing package without them is too much trouble. Syncthing's upstream seems [...] Content analysis details: (3.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.6 HK_RANDOM_ENVFROM Envelope sender username looks random 1.0 HK_RANDOM_FROM From username looks random -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.27.42.2 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [212.27.42.2 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (dftxbs3e[at]free.fr) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.6 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: 45476 Cc: John Doe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.6 (/) * gnu/packages/syncthing.scm (syncthing): Update to 1.12.0. [source]: Do not delete bundled dependencies, maintaining the syncthing package without them is too much trouble. Syncthing's upstream seems committed to including only Free Software in their releases. [inputs]: Remove. [arguments]: Modify build phase to run build.go without any argument otherwise nothing would get built. This causes binaries to be written into a bin/ directory, adjust delete-file statement accordingly. Also adjust install phase to look for all binaries but syncthing in a bin/ subdirectory. * gnu/packages/syncthing.scm: Remove go-github-com-jackpal-go-nat-pmp, go-github-com-audriusbutkevicius-recli, go-github-com-bkaradzic-go-lz4, go-github-com-calmh-du, go-github-com-calmh-xdr, go-github-com-d4l3k-messagediff, go-github-com-gobwas-glob, go-github-com-golang-groupcache-lru, go-github-com-golang-snappy, go-github-com-jackpal-gateway, go-github-com-lib-pq, go-github-com-oschwald-geoip2-golang, go-github-com-oschwald-maxminddb-golang, go-github-com-stathat-go, go-github-com-rcrowley-go-metrics, go-github-com-sasha-s-go-deadlock, go-github-com-syndtr-goleveldb, go-github-com-thejerf-suture, go-github-com-vitrun-qart, go-github-com-chmduquesne-rollinghash, go-github-com-petermattis-goid, go-github-com-kballard-go-shellquote, go-github-com-syncthing-notify, go-github-com-beorn7-perks-quantile, go-github-com-prometheus-client-model, go-github-com-matttproud-golang-protobuf-extensions-pbutil, go-github-com-prometheus-common, go-github-com-prometheus-procfs, go-github-com-prometheus-client-golang, go-github-com-go-asn1-ber-asn1-ber, go-github-com-go-ldap-ldap, go-github-com-flynn-archive-go-shlex, go-github-com-audriusbutkevicius-pfilter, go-github-com-ccding-go-stun, and go-github-com-cespare-xxhash variables. --- Fix commit message with mention of removing all package inputs. gnu/packages/syncthing.scm | 987 +------------------------------------ 1 file changed, 11 insertions(+), 976 deletions(-) diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm index 7e479a0d39..0937e2bcff 100644 --- a/gnu/packages/syncthing.scm +++ b/gnu/packages/syncthing.scm @@ -43,7 +43,7 @@ (define-public syncthing (package (name "syncthing") - (version "1.5.0") + (version "1.12.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/syncthing/syncthing" @@ -51,68 +51,12 @@ "/syncthing-source-v" version ".tar.gz")) (sha256 (base32 - "1394b8y4nllihnjngc0kjpdy7pvyh6v1h09hkn8rdmwxpsdkqkjb")) - (modules '((guix build utils))) - ;; Delete bundled ("vendored") free software source code. - (snippet '(begin - (delete-file-recursively "vendor") - #t)))) + "0a8s7xmaiqg8j7zmwqr7gw6kip0lh42yig9gmnk51c2r3ic5f2zv")))) (build-system go-build-system) ;; The primary Syncthing executable goes to "out", while the auxiliary ;; server programs and utility tools go to "utils". This reduces the size ;; of "out" by ~80 MiB. (outputs '("out" "utils")) - ;; When updating Syncthing, check 'go.mod' in the source distribution to - ;; ensure we are using the correct versions of these dependencies. - (inputs - `(("go-github-com-jackpal-go-nat-pmp" - ,go-github-com-jackpal-go-nat-pmp) - ("go-github-com-bkaradzic-go-lz4" ,go-github-com-bkaradzic-go-lz4) - ("go-github-com-calmh-xdr" ,go-github-com-calmh-xdr) - ("go-github-com-chmduquesne-rollinghash" - ,go-github-com-chmduquesne-rollinghash) - ("go-github-com-gobwas-glob" ,go-github-com-gobwas-glob) - ("go-github-com-golang-groupcache-lru" - ,go-github-com-golang-groupcache-lru) - ("go-github-com-jackpal-gateway" ,go-github-com-jackpal-gateway) - ("go-github-com-kballard-go-shellquote" - ,go-github-com-kballard-go-shellquote) - ("go-github-com-lib-pq" ,go-github-com-lib-pq) - ("go-github-com-minio-sha256-simd" ,go-github-com-minio-sha256-simd) - ("go-github-com-oschwald-geoip2-golang" - ,go-github-com-oschwald-geoip2-golang) - ("go-github-com-pkg-errors" ,go-github-com-pkg-errors) - ("go-github-com-rcrowley-go-metrics" ,go-github-com-rcrowley-go-metrics) - ("go-github-com-sasha-s-go-deadlock" ,go-github-com-sasha-s-go-deadlock) - ("go-github-com-syncthing-notify" ,go-github-com-syncthing-notify) - ("go-github-com-syndtr-goleveldb" ,go-github-com-syndtr-goleveldb) - ("go-github-com-thejerf-suture" ,go-github-com-thejerf-suture) - ("go-golang-org-x-time" ,go-golang-org-x-time) - ("go-github-com-go-ldap-ldap" ,go-github-com-go-ldap-ldap) - ("go-github-com-gogo-protobuf" ,go-github-com-gogo-protobuf) - ("go-github-com-shirou-gopsutil" ,go-github-com-shirou-gopsutil) - ("go-github-com-prometheus-client-golang" - ,go-github-com-prometheus-client-golang) - ("go-golang-org-x-net" ,go-golang-org-x-net) - ("go-golang-org-x-text" ,go-golang-org-x-text) - ("go-github-com-audriusbutkevicius-recli" - ,go-github-com-audriusbutkevicius-recli) - ("go-github-com-urfave-cli" ,go-github-com-urfave-cli) - ("go-github-com-vitrun-qart" ,go-github-com-vitrun-qart) - ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty) - ("go-golang-org-x-crypto" ,go-golang-org-x-crypto) - ("go-github-com-flynn-archive-go-shlex" - ,go-github-com-flynn-archive-go-shlex) - ("go-github-com-getsentry-raven-go" ,go-github-com-getsentry-raven-go) - ("go-github-com-maruel-panicparse" ,go-github-com-maruel-panicparse) - ("go-github-com-ccding-go-stun" ,go-github-com-ccding-go-stun) - ("go-github-com-audriusbutkevicius-pfilter" ,go-github-com-audriusbutkevicius-pfilter) - ("go-github-com-lucas-clemente-quic-go" ,go-github-com-lucas-clemente-quic-go) - ("go-github-com-willf-bloom" ,go-github-com-willf-bloom) - - ;; For tests. - ("go-github-com-d4l3k-messagediff" ,go-github-com-d4l3k-messagediff))) - (arguments `(#:modules ((srfi srfi-26) ; for cut (guix build utils) @@ -135,8 +79,8 @@ ;; updater and to build the utilities is to "build all" and then ;; "build syncthing" again with -no-upgrade. ;; https://github.com/syncthing/syncthing/issues/6118 - (invoke "go" "run" "build.go" "build" "all") - (delete-file "syncthing") + (invoke "go" "run" "build.go") + (delete-file "bin/syncthing") (invoke "go" "run" "build.go" "-no-upgrade" "build" "syncthing")))) (replace 'check @@ -150,12 +94,13 @@ (utils (assoc-ref outputs "utils"))) (with-directory-excursion "src/github.com/syncthing/syncthing" (install-file "syncthing" (string-append out "/bin")) - (for-each (cut install-file <> (string-append utils "/bin/")) - '("stcli" "stcompdirs" "stcrashreceiver" - "stdisco" "stdiscosrv" "stevents" "stfileinfo" - "stfinddevice" "stfindignored" "stgenfiles" - "stindex" "strelaypoolsrv" "strelaysrv" "stsigtool" - "stvanity" "stwatchfile" "uraggregate" "ursrv")) + (with-directory-excursion "bin" + (for-each (cut install-file <> (string-append utils "/bin/")) + '("stcli" "stcompdirs" "stcrashreceiver" + "stdisco" "stdiscosrv" "stevents" "stfileinfo" + "stfinddevice" "stfindignored" "stgenfiles" + "stindex" "strelaypoolsrv" "strelaysrv" "stsigtool" + "stvanity" "stwatchfile" "uraggregate" "ursrv"))) #t)))) (add-after 'install 'install-docs @@ -251,913 +196,3 @@ notification area icon for Syncthing. Supported Syncthing features: @item Editing daemon settings @end itemize\n") (license gpl2))) - -(define-public go-github-com-jackpal-go-nat-pmp - (package - (name "go-github-com-jackpal-go-nat-pmp") - (version "1.0.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jackpal/go-nat-pmp") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1p2yrzfbkazc9nisr2iqjwzhb6q16zj6finyxxn2ikk7iiighl1g")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/jackpal/go-nat-pmp")) - (synopsis "Port mapping and discovery of external IP address") - (description "This package provides a Go client for the NAT-PMP internet -protocol for port mapping and discovering the external IP address of a -firewall.") - (home-page "https://github.com/jackpal/go-nat-pmp") - (license asl2.0))) - -(define-public go-github-com-audriusbutkevicius-recli - (package - (name "go-github-com-audriusbutkevicius-recli") - (version "0.0.5") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/AudriusButkevicius/recli") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1m1xna1kb78pkmr1lfmvvnpk9j7c4x71j3a7c6vj7zpzc4srpsmf")))) - (build-system go-build-system) - (inputs - `(("go-github-com-pkg-errors" ,go-github-com-pkg-errors) - ("go-github-com-urfave-cli" ,go-github-com-urfave-cli))) - (arguments - `(#:import-path "github.com/AudriusButkevicius/recli")) - (synopsis "Reflection-based CLI generator") - (description "For a given struct, @code{recli} builds a set of -@code{urfave/cli} commands which allows you to modify it from the command line. -It is useful for generating command line clients for your application -configuration that is stored in a Go struct.") - (home-page "https://github.com/AudriusButkevicius/recli") - (license mpl2.0))) - -(define-public go-github-com-bkaradzic-go-lz4 - (let ((commit "7224d8d8f27ef618c0a95f1ae69dbb0488abc33a") - (revision "0")) - (package - (name "go-github-com-bkaradzic-go-lz4") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/bkaradzic/go-lz4") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "10lmya17vdqg2pvqni0p73iahni48s1v11ya9a0hcz4jh5vw4dkb")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/bkaradzic/go-lz4")) - (synopsis "LZ4 compression algorithm") - (description "This package provides @code{go-lz4}, a Go implementation of -the LZ4 compression algorithm.") - (home-page "https://github.com/bkaradzic/go-lz4") - (license bsd-2)))) - -(define-public go-github-com-calmh-du - (package - (name "go-github-com-calmh-du") - (version "1.0.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/calmh/du") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0qb3a6y3p9nkyn3s66k6zcm16y8n8578qh23ddj14cxf2scrr2n2")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/calmh/du")) - (synopsis "Get total and available disk space of a given volume") - (description "This is a Go implementation of `du`. It provides disk usage -information, such as how much storage space is available, free, and used.") - (home-page "https://github.com/calmh/du") - (license public-domain))) - -(define-public go-github-com-calmh-xdr - (package - (name "go-github-com-calmh-xdr") - (version "1.1.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/calmh/xdr") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "072wqdncz3nd4a3zkhvzzx1y3in1lm29wfvl0d8wrnqs5pyqh0mh")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/calmh/xdr")) - (synopsis "XDR marshalling and unmarshalling") - (description "XDR is an External Data Representation (XDR) -marshalling and unmarshalling library in Go. It uses code generation and not -reflection.") - (home-page "https://github.com/calmh/xdr") - (license expat))) - -(define-public go-github-com-d4l3k-messagediff - (package - (name "go-github-com-d4l3k-messagediff") - (version "1.2.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/d4l3k/messagediff") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "104hl8x57ciaz7mzafg1vp9qggxcyfm8hsv9bmlihbz9ml3nyr8v")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/d4l3k/messagediff")) - (synopsis "Diff arbitrary Go structs") - (description "Messagediff is a library for calculating diffs of arbitrary -structs in the Go programming language.") - (home-page "https://github.com/d4l3k/messagediff") - (license expat))) - -(define-public go-github-com-gobwas-glob - (package - (name "go-github-com-gobwas-glob") - (version "0.2.3") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gobwas/glob") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0jxk1x806zn5x86342s72dq2qy64ksb3zrvrlgir2avjhwb18n6z")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/gobwas/glob")) - (synopsis "Go globbing library") - (description "This package provides a Go implementation of globs.") - (home-page "https://github.com/gobwas/glob") - (license expat))) - - -(define-public go-github-com-golang-groupcache-lru - (let ((commit "869f871628b6baa9cfbc11732cdf6546b17c1298") - (revision "2")) - (package - (name "go-github-com-golang-groupcache-lru") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/golang/groupcache") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0r4nk8129bvx50qb4xzjaay39b2h6k7cbdqqzdlanmc82ygczsbw")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/golang/groupcache/lru" - #:unpack-path "github.com/golang/groupcache")) - (synopsis "Groupcache is a caching and cache-filling library") - (description "Groupcache is a caching and cache-filling library, intended -as a replacement for memcached in many cases. It provides a data loading -mechanism with caching and de-duplication that works across a set of peer -processes.") - (home-page "https://github.com/golang/groupcache") - (license asl2.0)))) - -(define-public go-github-com-golang-snappy - (let ((commit "553a641470496b2327abcac10b36396bd98e45c9") - (revision "0")) - (package - (name "go-github-com-golang-snappy") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/golang/snappy") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0kssxnih1l722hx9219c7javganjqkqhvl3i0hp0hif6xm6chvqk")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/golang/snappy")) - (synopsis "Snappy compression format in the Go programming language") - (description "This package provides a Go implementation of the Snappy -compression format.") - (home-page "https://github.com/golang/snappy") - (license bsd-3)))) - -(define-public go-github-com-jackpal-gateway - (package - (name "go-github-com-jackpal-gateway") - (version "1.0.6") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jackpal/gateway") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1yms2dw4dnz4cvj9vhwh6193d50jhvn5awsp2g3a4lcc3sjrgd6m")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/jackpal/gateway")) - (synopsis "Discover the address of a LAN gateway") - (description "@code{gateway} is a Go library for discovering the IP -address of the default LAN gateway.") - (home-page "https://github.com/jackpal/gateway") - (license bsd-3))) - -(define-public go-github-com-lib-pq - (package - (name "go-github-com-lib-pq") - (version "1.2.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/lib/pq") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "08j1smm6rassdssdks4yh9aspa1dv1g5nvwimmknspvhx8a7waqz")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/lib/pq" - ;; The tests seem to fail without access to the network or a running - ;; Postgres instance. - #:tests? #f)) - (synopsis "Golang Postgres driver for Go's database/sql") - (description "This package provides a pure Go Postgres driver for Go's -database/sql package.") - (home-page "https://github.com/lib/pq") - (license expat))) - -(define-public go-github-com-oschwald-geoip2-golang - (package - (name "go-github-com-oschwald-geoip2-golang") - (version "1.4.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/oschwald/geoip2-golang") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1jj4rbdpy87rbl79czg5hs5dyn6xlbnk0bnvyzi71dsxan57nixw")))) - (build-system go-build-system) - (propagated-inputs - `(("go-github-com-oschwald-maxminddb-golang" - ,go-github-com-oschwald-maxminddb-golang) - ("go-golang-org-x-sys" ,go-golang-org-x-sys))) - (arguments - `(#:import-path "github.com/oschwald/geoip2-golang" - #:tests? #f)) ; Requires some unpackaged software and test data - (synopsis "MaxMind GeoIP2 reader") - (description "This package provides a library for reading MaxMind -GeoLite2 and GeoIP2 databases in Go.") - (home-page "https://github.com/oschwald/geoip2-golang") - (license isc))) - -(define-public go-github-com-oschwald-maxminddb-golang - (package - (name "go-github-com-oschwald-maxminddb-golang") - (version "1.4.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/oschwald/maxminddb-golang") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "100wd5qv00pkcm6cb8c4x5gavc9jnn7drh6xrqh85hzci4rils66")))) - (build-system go-build-system) - (propagated-inputs - `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) - (arguments - `(#:import-path "github.com/oschwald/maxminddb-golang" - #:tests? #f)) ; Requires some unpackaged software and test data - (synopsis "MaxMind DB Reader for Go") - (description "This is a Go reader for the MaxMind DB format. Although -this can be used to read GeoLite2 and GeoIP2 databases, @code{geoip2} provides a -higher-level API for doing so.") - (home-page "https://github.com/oschwald/maxminddb-golang") - (license isc))) - -(define-public go-github-com-stathat-go - (let ((commit "74669b9f388d9d788c97399a0824adbfee78400e") - (revision "0")) - (package - (name "go-github-com-stathat-go") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/stathat/go") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1zzlsl24dyr202qkr2pay22m6d0gb7ssms77wgdx0r0clgm7dihw")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/stathat/go")) - (synopsis "Post statistics to StatHat") - (description "This is a Go package for posting to a StatHat account.") - (home-page "https://github.com/stathat/go") - (license expat)))) - -(define-public go-github-com-rcrowley-go-metrics - (let ((commit "cac0b30c2563378d434b5af411844adff8e32960") - (revision "2")) - (package - (name "go-github-com-rcrowley-go-metrics") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/rcrowley/go-metrics") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1hfxffnpaw49pr3wrkbzq3pnv3nyzsvk5dxndv0yz70xlrbg8a04")))) - (build-system go-build-system) - (arguments - ;; Arbitrary precision tests are known to be broken on aarch64, ppc64le - ;; and s390x. See: https://github.com/rcrowley/go-metrics/issues/249 - `(#:tests? ,(not (string-prefix? "aarch64" (or (%current-target-system) - (%current-system)))) - #:import-path "github.com/rcrowley/go-metrics")) - (propagated-inputs - `(("go-github-com-stathat-go" ,go-github-com-stathat-go))) - (synopsis "Go port of Coda Hale's Metrics library") - (description "This package provides a Go implementation of Coda Hale's -Metrics library.") - (home-page "https://github.com/rcrowley/go-metrics") - (license bsd-2)))) - -(define-public go-github-com-sasha-s-go-deadlock - (package - (name "go-github-com-sasha-s-go-deadlock") - (version "0.2.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/sasha-s/go-deadlock") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "13p7b7pakd9k1c2k0fs1hfim3c8mivz679977ai6zb01s4aw7gyg")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/sasha-s/go-deadlock")) - (propagated-inputs - `(("go-github-com-petermattis-goid" ,go-github-com-petermattis-goid))) - (synopsis "Deadlock detection in go") - (description "This package provides tools for detecting deadlocks at -run-time in Go.") - (home-page "https://github.com/sasha-s/go-deadlock") - (license asl2.0))) - -(define-public go-github-com-syndtr-goleveldb - (let ((commit "758128399b1df3a87e92df6c26c1d2063da8fabe") - (revision "4")) - (package - (name "go-github-com-syndtr-goleveldb") - (version (git-version "1.0.1" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/syndtr/goleveldb") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0mnkzrz4di13g6ggd54my7bkb9nwk8f5k672dyasn467wsg7bf8f")))) - (build-system go-build-system) - (propagated-inputs - `(("go-github-com-golang-snappy" ,go-github-com-golang-snappy))) - (arguments - `(#:import-path "github.com/syndtr/goleveldb/leveldb" - #:unpack-path "github.com/syndtr/goleveldb" - #:tests? #f)) ; XXX needs 'github.com/onsi/gomega' package - (synopsis "LevelDB key/value database") - (description "This is an implementation of the LevelDB key / value -database in Go.") - (home-page "https://github.com/syndtr/goleveldb") - (license bsd-2)))) - -(define-public go-github-com-thejerf-suture - (package - (name "go-github-com-thejerf-suture") - (version "3.0.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/thejerf/suture") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "03bdrl78jfwk0kw40lj63ga9cxhgccgss8yi9lp5j0m0ml7921gh")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/thejerf/suture")) - (synopsis "Supervisor trees for Go") - (description "Suture provides Erlang-ish supervisor trees for Go. -\"Supervisor trees\" -> \"sutree\" -> \"suture\" -> holds your code together -when it's trying to die. - -It is intended to deal gracefully with the real failure cases that can occur -with supervision trees (such as burning all your CPU time endlessly restarting -dead services), while also making no unnecessary demands on the \"service\" -code, and providing hooks to perform adequate logging with in a production -environment") - (home-page "https://github.com/thejerf/suture") - (license expat))) - -(define-public go-github-com-vitrun-qart - (let ((commit "bf64b92db6b05651d6c25a3dabf2d543b360c0aa") - (revision "0")) - (package - (name "go-github-com-vitrun-qart") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/vitrun/qart") - (commit commit))) - (file-name (string-append "go-github-com-vitrun-qart-" - version "-checkout")) - (sha256 - (base32 - "1xk7qki703xmay9ghi3kq2bjf1iw9dz8wik55739d6i7sn77vvkc")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/vitrun/qart")) - (synopsis "Create QR codes with an embedded image") - (description "This package provides a library for embedding -human-meaningful graphics in QR codes. However, instead of scribbling on -redundant pieces and relying on error correction to preserve the meaning, -@code{qart} engineers the encoded values to create the picture in a code with no -inherent errors.") - (home-page "https://github.com/vitrun/qart") - (license bsd-3)))) - -(define-public go-github-com-chmduquesne-rollinghash - (let ((commit "a60f8e7142b536ea61bb5d84014171189eeaaa81") - (revision "0")) - (package - (name "go-github-com-chmduquesne-rollinghash") - (version (git-version "4.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/chmduquesne/rollinghash") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0fpaqq4zb0wikgbhn7vwqqj1h865f5xy195vkhivsp922p7qwsjr")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/chmduquesne/rollinghash/")) - (synopsis "Rolling hashes in Go") - (description "This package provides a Go implementation of several rolling -hashes.") - (home-page "https://github.com/chmduquesne/rollinghash") - (license expat)))) - -(define-public go-github-com-petermattis-goid - (let ((commit "b0b1615b78e5ee59739545bb38426383b2cda4c9") - (revision "1")) - (package - (name "go-github-com-petermattis-goid") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/petermattis/goid") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0ghfxn045r0bbn2vszw897lxzmhnm4k59aypjvpxl0pbzsw9ab2c")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/petermattis/goid")) - (synopsis "Identify the running goroutine") - (description "This package offers a method of programmatically retrieving -the current goroutine's ID.") - (home-page "https://github.com/petermattis/goid") - (license asl2.0)))) - -(define-public go-github-com-kballard-go-shellquote - (let ((commit "95032a82bc518f77982ea72343cc1ade730072f0") - (revision "1")) - (package - (name "go-github-com-kballard-go-shellquote") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/kballard/go-shellquote") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1rspvmnsikdq95jmx3dykxd4k1rmgl98ryjrysvl0cf18hl1vq80")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/kballard/go-shellquote")) - (synopsis "Shell-style string joins and splits") - (description "Shellquote provides utilities for joining/splitting strings -using sh's word-splitting rules.") - (home-page "https://github.com/kballard/go-shellquote") - (license expat)))) - -(define-public go-github-com-syncthing-notify - (let ((commit "69c7a957d3e261f9744f46b3dd4d608d8480ad90") - (revision "5")) - (package - (name "go-github-com-syncthing-notify") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/syncthing/notify") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1mmdzyfnmjabyhbipl4bggw4w5nlxyyjp0d93qd824kj07kmsr1f")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/syncthing/notify")) - (propagated-inputs - `(("go-golang-org-x-sys" ,go-golang-org-x-sys))) - (synopsis "File system event notification library") - (description "This package provides @code{notify}, a file system event -notification library in Go.") - (home-page "https://github.com/syncthing/notify") - (license expat)))) - -(define-public go-github-com-beorn7-perks-quantile - (let ((commit "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9") - (revision "0")) - (package - (name "go-github-com-beorn7-perks-quantile") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/beorn7/perks") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1hrybsql68xw57brzj805xx2mghydpdiysv3gbhr7f5wlxj2514y")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/beorn7/perks/quantile" - #:unpack-path "github.com/beorn7/perks")) - (synopsis "Compute approximate quantiles over an unbounded data stream") - (description "Perks contains the Go package @code{quantile} that computes -approximate quantiles over an unbounded data stream within low memory and CPU -bounds.") - (home-page "https://github.com/beorn7/perks") - (license expat)))) - -(define-public go-github-com-prometheus-client-model - (let ((commit "14fe0d1b01d4d5fc031dd4bec1823bd3ebbe8016") - (revision "2")) - (package - (name "go-github-com-prometheus-client-model") - (version (git-version "0.0.2" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/client_model") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0zdmk6rbbx39cvfz0r59v2jg5sg9yd02b4pds5n5llgvivi99550")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/prometheus/client_model" - #:tests? #f - #:phases - (modify-phases %standard-phases - ;; Source-only package - (delete 'build)))) - (propagated-inputs - `(("go-github-com-golang-protobuf-proto" - ,go-github-com-golang-protobuf-proto))) - (synopsis "Data model artifacts for Prometheus") - (description "This package provides data model artifacts for Prometheus.") - (home-page "https://github.com/prometheus/client_model") - (license asl2.0)))) - -(define-public go-github-com-matttproud-golang-protobuf-extensions-pbutil - (let ((commit "c12348ce28de40eed0136aa2b644d0ee0650e56c") - (revision "0")) - (package - (name "go-github-com-matttproud-golang-protobuf-extensions-pbutil") - (version (git-version "1.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/matttproud/golang_protobuf_extensions") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/matttproud/golang_protobuf_extensions/pbutil" - #:unpack-path "github.com/matttproud/golang_protobuf_extensions")) - (propagated-inputs - `(("go-github-com-golang-protobuf-proto" - ,go-github-com-golang-protobuf-proto))) - (synopsis "Streaming Protocol Buffers in Go") - (description "This package provides various Protocol Buffer -extensions for the Go language, namely support for record length-delimited -message streaming.") - (home-page "https://github.com/matttproud/golang_protobuf_extensions") - (license asl2.0)))) - -(define-public go-github-com-prometheus-common - (package - (name "go-github-com-prometheus-common") - (version "0.4.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/common") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0sf4sjdckblz1hqdfvripk3zyp8xq89w7q75kbsyg4c078af896s")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/prometheus/common" - #:tests? #f - #:phases - (modify-phases %standard-phases - (add-before 'reset-gzip-timestamps 'make-gzip-archive-writable - (lambda* (#:key outputs #:allow-other-keys) - (map (lambda (file) - (make-file-writable file)) - (find-files - (string-append (assoc-ref outputs "out") - "/src/github.com/prometheus/common/expfmt/testdata/") - ".*\\.gz$")) - #t)) - ;; Source-only package - (delete 'build)))) - (propagated-inputs - `(("go-github-com-golang-protobuf-proto" - ,go-github-com-golang-protobuf-proto) - ("go-github-com-matttproud-golang-protobuf-extensions-pbutil" - ,go-github-com-matttproud-golang-protobuf-extensions-pbutil) - ("go-github-com-prometheus-client-model" - ,go-github-com-prometheus-client-model))) - (synopsis "Prometheus metrics") - (description "This package provides tools for reading and writing -Prometheus metrics.") - (home-page "https://github.com/prometheus/common") - (license asl2.0))) - -(define-public go-github-com-prometheus-procfs - (package - (name "go-github-com-prometheus-procfs") - (version "0.0.4") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/procfs") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1z5jq5rjala0a0di4nwk1rai0z9f73qwqj6mgcbpjbg2qknlb544")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/prometheus/procfs" - ;; The tests require Go modules, which are not yet supported in Guix's - ;; Go build system. - #:tests? #f)) - (synopsis "Go library for reading @file{/proc}") - (description "The @code{procfs} Go package provides functions to retrieve -system, kernel, and process metrics from the @file{/proc} pseudo file system.") - (home-page "https://github.com/prometheus/procfs") - (license asl2.0))) - -(define-public go-github-com-prometheus-client-golang - (package - (name "go-github-com-prometheus-client-golang") - (version "1.2.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/prometheus/client_golang") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0zs49psk23n9z8wrl02d5vib5wclpym8kaxcy6n5pk696i419065")))) - (build-system go-build-system) - (arguments - '(#:tests? #f - #:import-path "github.com/prometheus/client_golang" - #:phases - (modify-phases %standard-phases - ;; Source-only package - (delete 'build)))) - (propagated-inputs - `(("go-github-com-beorn7-perks-quantile" - ,go-github-com-beorn7-perks-quantile) - ("go-github-com-golang-protobuf-proto" - ,go-github-com-golang-protobuf-proto) - ("go-github-com-prometheus-client-model" - ,go-github-com-prometheus-client-model) - ("go-github-com-prometheus-common" - ,go-github-com-prometheus-common) - ("go-github-com-prometheus-procfs" ,go-github-com-prometheus-procfs) - ("go-github-com-cespare-xxhash" ,go-github-com-cespare-xxhash))) - (synopsis "HTTP server and client tools for Prometheus") - (description "This package @code{promhttp} provides HTTP client and -server tools for Prometheus metrics.") - (home-page "https://github.com/prometheus/client_golang") - (license asl2.0))) - -(define-public go-github-com-go-asn1-ber-asn1-ber - (package - (name "go-github-com-go-asn1-ber-asn1-ber") - (version "1.3.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/go-asn1-ber/asn1-ber") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0dxfmgk84fn0p6pz3i0cspynh6rly5pfk9wghm1q07mx99npln02")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/go-asn1-ber/asn1-ber")) - (synopsis "ASN.1 BER encoding and decoding in Go") - (description "This package provides ASN.1 BER encoding and decoding in the -Go language.") - (home-page "https://github.com/go-asn1-ber/asn1-ber") - (license expat))) - -(define-public go-github-com-go-ldap-ldap - (package - (name "go-github-com-go-ldap-ldap") - (version "3.1.7") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/go-ldap/ldap") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1z6wxia7a1jkmasa9mm6g4n8f0qqbp5rw6vk0zyh4vzk7azklnj2")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/go-ldap/ldap/v3" - #:tests? #f)) ; test suite requires internet access - (propagated-inputs - `(("go-github-com-go-asn1-ber-asn1-ber" ,go-github-com-go-asn1-ber-asn1-ber))) - (home-page "https://github.com/go-ldap/ldap") - (synopsis "LDAP v3 functionality for Go") - (description "This package provides basic LDAP v3 functionality in the Go -language.") - (license expat))) - -(define-public go-github-com-flynn-archive-go-shlex - (let ((commit "3f9db97f856818214da2e1057f8ad84803971cff") - (revision "0")) - (package - (name "go-github-com-flynn-archive-go-shlex") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/flynn-archive/go-shlex") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/flynn-archive/go-shlex")) - (synopsis "Go lexer") - (description "Shlex is a simple lexer for go that supports shell-style -quoting, commenting, and escaping.") - (home-page "https://github.com/flynn-archive/go-shlex") - (license asl2.0)))) - -(define-public go-github-com-audriusbutkevicius-pfilter - (package - (name "go-github-com-audriusbutkevicius-pfilter") - (version "0.0.5") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/AudriusButkevicius/pfilter") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0xzhwyd0w21bhvzl5pinn22hp0y6h44rh3s2ppql69rafc6zd3c6")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/AudriusButkevicius/pfilter")) - (synopsis "Filter packets into multiple virtual connections") - (description "Pfilter is a Go package for filtering packets into multiple -virtual connections from a single physical connection.") - (home-page "https://github.com/AudriusButkevicius/pfilter") - (license expat))) - -(define-public go-github-com-ccding-go-stun - (let ((commit "be486d185f3dfcb2dbf8429332da50a0da7f95a6") - (revision "2")) - (package - (name "go-github-com-ccding-go-stun") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ccding/go-stun") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1gr0rw1c1y7wh6913lyn5k4ig023by27i36bly6am8dwgrgp34ww")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/ccding/go-stun")) - (synopsis "STUN client implementation") - (description "Go-stun is a go implementation of the STUN client (RFC 3489 -and RFC 5389).") - (home-page "https://github.com/ccding/go-stun") - (license asl2.0)))) - -(define-public go-github-com-cespare-xxhash - (package - (name "go-github-com-cespare-xxhash") - (version "2.1.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/cespare/xxhash") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "12ad3z7ki9j07c4kx3ywkl6188i2afsjg7sl60wd21p6zkkpfjxq")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/cespare/xxhash")) - (synopsis "Go implementation of xxHash") - (description "This package provides of Go implementation of the 64-bit -xxHash algorithm (XXH64).") - (home-page "https://github.com/cespare/xxhash/") - (license expat))) -- 2.29.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 13 10:09:10 2021 Received: (at 45476) by debbugs.gnu.org; 13 Jan 2021 15:09:10 +0000 Received: from localhost ([127.0.0.1]:36244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzhlm-0008FU-1C for submit@debbugs.gnu.org; Wed, 13 Jan 2021 10:09:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzhll-0008FI-Bc for 45476@debbugs.gnu.org; Wed, 13 Jan 2021 10:09:09 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57676) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzhlf-0005zf-HE; Wed, 13 Jan 2021 10:09:03 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39386 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kzhld-0003ot-A8; Wed, 13 Jan 2021 10:09:02 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: John Doe Subject: Re: bug#45476: [PATCH] gnu: syncthing: Update to 1.12.0. References: <20201227212304.19409-1-dftxbs3e@free.fr> <20201227220016.20897-1-dftxbs3e@free.fr> Date: Wed, 13 Jan 2021 16:09:00 +0100 In-Reply-To: <20201227220016.20897-1-dftxbs3e@free.fr> (John Doe's message of "Sun, 27 Dec 2020 23:00:16 +0100") Message-ID: <87sg7498mr.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45476 Cc: Leo Famulari , 45476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, John Doe skribis: > * gnu/packages/syncthing.scm (syncthing): Update to 1.12.0. > [source]: Do not delete bundled dependencies, maintaining the > syncthing package without them is too much trouble. Syncthing's upstream > seems committed to including only Free Software in their releases. A large part of the hard unbundling work was already done, though, so intuitively I think we should not lose it. Leo, WDYT? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 13 15:49:27 2021 Received: (at 45476) by debbugs.gnu.org; 13 Jan 2021 20:49:27 +0000 Received: from localhost ([127.0.0.1]:36658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzn55-0004nN-9l for submit@debbugs.gnu.org; Wed, 13 Jan 2021 15:49:27 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:42375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzn53-0004n7-IN for 45476@debbugs.gnu.org; Wed, 13 Jan 2021 15:49:25 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 6C6E15C019D; Wed, 13 Jan 2021 15:49:20 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 13 Jan 2021 15:49:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=+KZc/ILl4n+ibodR5eoJpBi82nwCy21V1jFRMpSNmcA=; b=QEQypu9tZtx6 F0cdQqahdI2c0swUEegsqqbXjwuxxPGHMc8Z2dWUdscwzNcXzqjEb67US/8ALsZd NhINrAQHALZEYBpne0cv6eZ3OURJ7rHPggYf7j44euRHQVl64q8b+yyAXSzO1mwd id+g6YUkUi7mBfF6bFrULo+Jf6Zq8z4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=+KZc/ILl4n+ibodR5eoJpBi82nwCy21V1jFRMpSNm cA=; b=EtKkhiBOVK1ajn3DlXXdBTr/+86HyLDAB1pYpIpOpUggYFY+jgLQUntOX IhgHRUoy/1quj6V3UeA7umKl1BZYTKl5ImX73KzSQdQDPiCd8dnaQeX+QsXUdQ/Q aEwJVoujrBhYIEeozWXxnc5z91SvVhJmkIamdO0JQsrXccVTRe4zhK9chySUcuWp m89iGYEutxOYedcjSap0kF1pVRtIQlZVUkXPw9WHm7ue6Z053t7Urv9PLBAvILKC cThAoHyqFJCrvhBBtFns8cTPcd+wtXhpG9MshwkdJWNPYXoSzrmj841Qr1fESFIM OOVNm7Uj+//ION9TVmHhqNeEqGSeA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedukedrtdefgddugeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtudenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth htvghrnhepueeugedugfdvgfevuedvleduleefjefhgefgjeetgfegkedukefhvdefleej hefgnecukfhppedutddtrdduuddrudeiledruddukeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 0015E108005F; Wed, 13 Jan 2021 15:49:19 -0500 (EST) Date: Wed, 13 Jan 2021 15:49:18 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#45476: [PATCH] gnu: syncthing: Update to 1.12.0. Message-ID: References: <20201227212304.19409-1-dftxbs3e@free.fr> <20201227220016.20897-1-dftxbs3e@free.fr> <87sg7498mr.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87sg7498mr.fsf_-_@gnu.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45476 Cc: John Doe , 45476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Jan 13, 2021 at 04:09:00PM +0100, Ludovic Courtès wrote: > > * gnu/packages/syncthing.scm (syncthing): Update to 1.12.0. > > [source]: Do not delete bundled dependencies, maintaining the > > syncthing package without them is too much trouble. Syncthing's upstream > > seems committed to including only Free Software in their releases. > > A large part of the hard unbundling work was already done, though, so > intuitively I think we should not lose it. Leo, WDYT? That's correct. However, the mechanisms used to build Syncthing (and to build Go software in general) have changed since that work was done, and the go-build-system we have can no longer build recent versions of Syncthing except by using the bundled source code. We need to overhaul the go-build-system if we want to continue offering unbundled Go packages. I have not found the time to work on this. If anyone is interested in supporting this work, please get in touch! And of course, if anyone is interesting in *doing* the work, that's great too :) I will be happy to offer advice and help test. In the absence of a new go-build-system, it's hard to decide what to do here. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 14 06:46:30 2021 Received: (at 45476) by debbugs.gnu.org; 14 Jan 2021 11:46:31 +0000 Received: from localhost ([127.0.0.1]:37355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l015C-000779-Ig for submit@debbugs.gnu.org; Thu, 14 Jan 2021 06:46:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l015A-00076v-LM for 45476@debbugs.gnu.org; Thu, 14 Jan 2021 06:46:29 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49290) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0154-0006OK-Mr; Thu, 14 Jan 2021 06:46:22 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42464 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l0154-0001Xc-6a; Thu, 14 Jan 2021 06:46:22 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Leo Famulari Subject: Re: bug#45476: [PATCH] gnu: syncthing: Update to 1.12.0. References: <20201227212304.19409-1-dftxbs3e@free.fr> <20201227220016.20897-1-dftxbs3e@free.fr> <87sg7498mr.fsf_-_@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 =?utf-8?Q?Niv=C3=B4se?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 14 Jan 2021 12:46:20 +0100 In-Reply-To: (Leo Famulari's message of "Wed, 13 Jan 2021 15:49:18 -0500") Message-ID: <87ft3368s3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45476 Cc: John Doe , 45476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Leo Famulari skribis: > However, the mechanisms used to build Syncthing (and to build Go > software in general) have changed since that work was done, and the > go-build-system we have can no longer build recent versions of Syncthing > except by using the bundled source code. But it can build this older version of Syncthing. What=E2=80=99s fundament= ally different between the way the old and the new version of Syncthing are built? > We need to overhaul the go-build-system if we want to continue offering > unbundled Go packages. Could you explain what needs to be done? Perhaps starting a new thread on guix-devel, with an eye on recruiting interested hackers. :-) > In the absence of a new go-build-system, it's hard to decide what to do > here. I suppose it depends in part on the amount of work needed to keep using unbundled libraries. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 03 18:54:13 2021 Received: (at 45476) by debbugs.gnu.org; 3 Feb 2021 23:54:13 +0000 Received: from localhost ([127.0.0.1]:39204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7RyP-0002Jb-Hp for submit@debbugs.gnu.org; Wed, 03 Feb 2021 18:54:13 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:39919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7RyN-0002JM-Vs for 45476@debbugs.gnu.org; Wed, 03 Feb 2021 18:54:12 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id C00E2D58; Wed, 3 Feb 2021 18:54:05 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 03 Feb 2021 18:54:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=+WaK1WTmJt1pQzDkij7n878YgfJnmDBee3GIbwPgVTs=; b=dFmtgDVhXGi4 /vZAqPyLp+kJxms4kxgCp7YkehaCZ2NJiEn9c/4gcIomK9R2LbhKn1dVBaBll43p x6C073FvRhnLSePkD8PXFz82KQI4odyoITruyD1QFimlRWYn7XxjdAu53Cd7RGFa cfXkbDB7NiDGLJWrufl8Mgw/YEmcyc0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=+WaK1WTmJt1pQzDkij7n878YgfJnmDBee3GIbwPgV Ts=; b=LJQACHnpqlX5o0Ms9p1MayssA8mTPkpc1IfTGJlYB1HoN8yi5yZxdHefA 8ctB+ERATBGL9WlNUviHv/de36uMkFPoQaDGyGstVU2QD9ZpBDQz3VnZ4fceIm6s KzrCcC3DuqtzhQlqLOOMlQ+6j47fn4ec+WvEaYuOW7rkJaMtzkBePOL1ZfFWtuxm l0vXxCz00LgYvDlR+2Y6GLslBhFJv1JTyr2fD4piypHreBtWnW3E3WaaF9v6WEsb saSJerJ5P07XkfQIXyRLkC7RV1dniecE3DdhNnhVHcEBUyeM+vTugaiiZ7Wm1c5V Be81VLw1OObKV0vp2HLL/JrJ6mrDg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrgeefgddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggugfgjsehtkeertddttdejnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeegjeeggeehtddugfffuddtvdfffeffjeekffffveffheegvddvuedtffekjeej jeenucfkphepuddttddruddurdduieelrdduudeknecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 99DF6108005B; Wed, 3 Feb 2021 18:54:04 -0500 (EST) Date: Wed, 3 Feb 2021 18:54:02 -0500 From: Leo Famulari To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#45476: [PATCH] gnu: syncthing: Update to 1.12.0. Message-ID: References: <20201227212304.19409-1-dftxbs3e@free.fr> <20201227220016.20897-1-dftxbs3e@free.fr> <87sg7498mr.fsf_-_@gnu.org> <87ft3368s3.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87ft3368s3.fsf@gnu.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45476 Cc: John Doe , 45476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Thu, Jan 14, 2021 at 12:46:20PM +0100, Ludovic Courtès wrote: > Leo Famulari skribis: > > However, the mechanisms used to build Syncthing (and to build Go > > software in general) have changed since that work was done, and the > > go-build-system we have can no longer build recent versions of Syncthing > > except by using the bundled source code. > > But it can build this older version of Syncthing. What’s fundamentally > different between the way the old and the new version of Syncthing are > built? Basically, the Go language introduced a memoized cache for dependency management. Yes, just like Guix and Nix. More generally, "things changed" and the highly-choreographed orchestration of the old-style Go build tools in go-build-system.scm no longer works for Syncthing's dependencies, for some reason. Important to note: Go integrates dependency management, compilation, and deployment. > > We need to overhaul the go-build-system if we want to continue offering > > unbundled Go packages. > > Could you explain what needs to be done? Perhaps starting a new thread > on guix-devel, with an eye on recruiting interested hackers. :-) Sorry for the slow reply. I really ran out of energy for Go in Guix. As for this question, in the past I learned the answer and wrote it, somewhere in the Guix mailing lists. If I remember where, I'll reply with a link. But, it's a good time for us to nurture the next generation of Guix hackers who know about Go. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 15 20:11:56 2021 Received: (at 45476) by debbugs.gnu.org; 16 Feb 2021 01:11:56 +0000 Received: from localhost ([127.0.0.1]:38993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBouC-0003HP-EZ for submit@debbugs.gnu.org; Mon, 15 Feb 2021 20:11:56 -0500 Received: from r0-4.smtpout1.paris1.alwaysdata.com ([188.72.70.8]:48211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBou7-0003HC-NZ for 45476@debbugs.gnu.org; Mon, 15 Feb 2021 20:11:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alwaysdata.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=edjzY9agsywYnBN0yWu3NAukvYFt0Afxb4y6PHHJePA=; b=TQqJKV4DMbyxTa0N5iVqCZC2Rq hWKdC8jMnKnhDHxm4OS6N9LrzzARxaCgflxSDvUMDEgBSGE8Gq4DIHLxpnOfJTdennAR6pyz52O3P mcU5bTLTdsqnL+zZNRsAVQ4drouwqRgRN5cOz6UUbuHZEYeDZa1crNPSE+VyuWtJwRgE=; Received: from s0106441c12122d09.vf.shawcable.net ([174.1.63.31] helo=localhost) by smtpout1.paris1.alwaysdata.com with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBou4-0001yz-32 for 45476@debbugs.gnu.org; Tue, 16 Feb 2021 02:11:48 +0100 From: Tom Willemse To: 45476@debbugs.gnu.org Subject: [PATCH] gnu: syncthing: Update to 1.12.0. Date: Mon, 15 Feb 2021 17:11:44 -0800 Message-ID: <87czx0olyn.fsf@ryuslash.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-alwaysdata-ID: 867374 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45476 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi! I've been trying on my own to see if I could update Syncthing to 1.12.0 since I'm trying to switch from Archlinux to Guix. It's been a learning experience but I keep getting stuck since I ultimately don't know what I'm doing, I've only been using Guix off-and-on for a short while. I would really love for this to be done, and since I see in this thread that someone is needed to work on the go-build-system for this, I would be happy to try my best under the guidance of Leo. Unless you've posted to guix-devel already and have found someone else to do it, in which case I'd still be happy to help out in whichever way I can. Please let me know what I can do to help out with this. Cheers, Tom From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 16 15:50:47 2021 Received: (at 45476) by debbugs.gnu.org; 16 Feb 2021 20:50:47 +0000 Received: from localhost ([127.0.0.1]:41745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC7J1-00064z-4C for submit@debbugs.gnu.org; Tue, 16 Feb 2021 15:50:47 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:49861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lC7Iy-00064l-Ph for 45476@debbugs.gnu.org; Tue, 16 Feb 2021 15:50:45 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8327F5C0041; Tue, 16 Feb 2021 15:50:39 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 16 Feb 2021 15:50:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=SJT+Vif/Im03FpFcLbMH2L/G 57U1zydB0v/P3XzX00g=; b=wQ22Y8rdm8k7Mg53k8/u2kchndy5xhgJE8Irh3+7 sc14vaCHnwz+j7VDLMqGOQU9OQjFxryzVySJd9OJguf1iY5Q2nbrIpVXIaIZCvCJ aX5D91iN5kiqQgZGPRMW7muGrXl9bWez5VWm/cqQh9yYmWbsxefwhjcOc0t/MyUT /JE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=SJT+Vi f/Im03FpFcLbMH2L/G57U1zydB0v/P3XzX00g=; b=XPG3eE9Qo/ThiN/EhyThPE 9ibHBLftmkYRxJMW6dBWmLwPYKObfI9sMz+/TM9F0f/0eNNiE9513gVcWzG1QVUm YdBs9CLoFVsjqN8U8zr6s7qnUZPr5MSzWqZrXEX0IS6ZFqVEYAUyyulpZ3nq2tfk AWx3HFIOLj7cnmM/dcuROTDTXgLNtQCUsCuDZ0AnT47YU/3WYTuMJ/AmetFHAyYW Ba+tREmJ7CO2ib2OA6TnCac2xDOA/DCEi+HbyMf2c4xJKWxJ2iZM6iH15HhoART/ 4u6IJapjcdtjjNr3hFdLh8LiQPJdrxF4b+tWUM6mIpEC4KWOAN/Zzd4hU/wnOz1g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjedtgddugedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepvddvudegffefiedttdfhfedvuefhgf ekieekgeekveetgefhfeetgfegueduffeinecuffhomhgrihhnpehgnhhurdhorhhgnecu kfhppedutddtrdduuddrudeiledruddukeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 62EA124005C; Tue, 16 Feb 2021 15:50:38 -0500 (EST) Date: Tue, 16 Feb 2021 15:50:36 -0500 From: Leo Famulari To: Tom Willemse Subject: Re: [bug#45476] [PATCH] gnu: syncthing: Update to 1.12.0. Message-ID: References: <20201227212304.19409-1-dftxbs3e@free.fr> <87czx0olyn.fsf@ryuslash.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87czx0olyn.fsf@ryuslash.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45476 Cc: 45476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Feb 15, 2021 at 05:11:44PM -0800, Tom Willemse wrote: > I've been trying on my own to see if I could update Syncthing to 1.12.0 > since I'm trying to switch from Archlinux to Guix. It's been a learning > experience but I keep getting stuck since I ultimately don't know what > I'm doing, I've only been using Guix off-and-on for a short while. > > I would really love for this to be done, and since I see in this thread > that someone is needed to work on the go-build-system for this, I would > be happy to try my best under the guidance of Leo. Unless you've posted > to guix-devel already and have found someone else to do it, in which > case I'd still be happy to help out in whichever way I can. > > Please let me know what I can do to help out with this. Thanks for your interest! As far as I know, nobody has started working on this problem yet. If you want to help develop Guix, you'll need to learn the Guix development workflow, which is outlined in the manual chapter Contributing. Specifically, the sections Building From Git and Running Guix Before It Is Installed: https://guix.gnu.org/manual/en/html_node/Contributing.html The goal is to be able to use Guix from your Git tree with the 'pre-inst-env' script. Guix's go-build-system is implemented in these two files: https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build-system/go.scm?h=v1.2.0 https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/go-build-system.scm?h=v1.2.0 The second file, go-build-system.scm, contains the actual build-system logic. What needs to happen, basically, is for the build system to be rewritten to take into account "Go Modules". They were introduced after our go-build-system was created, and they are the mechanism used by the Go language to handle dependencies. I gave an extremely brief summary of the situation upthread: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45476#20 I think that things have changed enough with Go that, if I were doing this work, I'd start over by creating a "go-build-system2", rather than trying to adapt what already exists. It's common to base new build systems off of gnu-build-system, and change the parts that need changing. The Guix community is eager to help new contributors. Please, don't hesitate to ask for advice, on the mailing lists or the #guix IRC channel. From debbugs-submit-bounces@debbugs.gnu.org Wed May 05 23:56:20 2021 Received: (at 45476) by debbugs.gnu.org; 6 May 2021 03:56:20 +0000 Received: from localhost ([127.0.0.1]:36352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leV7c-000895-BO for submit@debbugs.gnu.org; Wed, 05 May 2021 23:56:20 -0400 Received: from r0-4.smtpout1.paris1.alwaysdata.com ([188.72.70.8]:48199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leV7Y-00088z-CP for 45476@debbugs.gnu.org; Wed, 05 May 2021 23:56:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alwaysdata.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NYkp7CCnhXjzt05phQ2I0en7nSR3c+G1nzOZhZFEHkI=; b=gCUs4TWCOu2tp71S5YE2wnjz/ netYp6qAocjLSMxMQvQPrbUVj1KoBVqeoeJfiD2tQH/VY7ypYMY+qe8/K6hwSqzh3vWVdBcv0sKZg Hxda97bkskjkDzVky1mnmlp3E4NrC1hB7SWq3Aojo+rjui/bOCZhjHuDaBTs94ipI+1eg=; Received: from s0106441c12122d09.vf.shawcable.net ([174.1.63.31] helo=localhost) by smtpout1.paris1.alwaysdata.com with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1leV7U-0005dH-Fa; Thu, 06 May 2021 05:56:12 +0200 From: Tom Willemse To: Leo Famulari Subject: Re: [bug#45476] [PATCH] gnu: syncthing: Update to 1.12.0. In-Reply-To: (Leo Famulari's message of "Tue, 16 Feb 2021 15:50:36 -0500") References: <20201227212304.19409-1-dftxbs3e@free.fr> <87czx0olyn.fsf@ryuslash.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Wed, 05 May 2021 20:56:09 -0700 Message-ID: <874kfgy0py.fsf@ryuslash.org> MIME-Version: 1.0 Content-Type: text/plain X-alwaysdata-ID: 20686808 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45476 Cc: 45476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hey Leo, Leo Famulari writes: > On Mon, Feb 15, 2021 at 05:11:44PM -0800, Tom Willemse wrote: >> I've been trying on my own to see if I could update Syncthing to 1.12.0 >> since I'm trying to switch from Archlinux to Guix. It's been a learning >> experience but I keep getting stuck since I ultimately don't know what >> I'm doing, I've only been using Guix off-and-on for a short while. >> >> I would really love for this to be done, and since I see in this thread >> that someone is needed to work on the go-build-system for this, I would >> be happy to try my best under the guidance of Leo. Unless you've posted >> to guix-devel already and have found someone else to do it, in which >> case I'd still be happy to help out in whichever way I can. >> >> Please let me know what I can do to help out with this. > > Thanks for your interest! > > As far as I know, nobody has started working on this problem yet. So I've been looking at this and I just wanted to run what I know so far by you. I don't know if someone else has since picked this up and finished this, but in case nobody has, this is what I have found so far. So we can set the GO111CACHE to on, and set the GOMODCACHE where we want it and potentially link in all of the inputs that it needs. For now other than getting everything to have the right name doesn't seem like such a big problem. But it's that name that I think might get in the way. So the Go mod cache is a directory structure in which each module a program (or library) depends on is contained. Each module is under a directory containing both the module's name and its version. For certain packages this means that it doesn't just contain any version, but it contains a partial hash of which submit it's based on and also the date on which it was committed. This doesn't seem impossible to do, we should have most of that information available, possibly we can get at the rest. The only thing I was thinking is that this might cause an explosion of packages to be maintained, because we won't be able to just have the latest version and have everything depend on that, we'll have to have all of the versions that any of the software in the packages requires. If there is some Guix magic that we could use here to make this maintainable I'd love to know, but for now it looks like the minimum we would need to maintain is a list of (version, hash, dependencies). On the other hand if this was expected and we want to do this, I can happily keep trying to get this to work. Cheers, Tom P.S.: I noticed that the original point of this issue was to update syncthing to 1.12.0. The current version in Guix is 1.15.1 (I think you were the one to update it), so technically that part of this issue is done. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 16 13:09:29 2023 Received: (at control) by debbugs.gnu.org; 16 Jan 2023 18:09:29 +0000 Received: from localhost ([127.0.0.1]:34714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHTvE-0000XA-UA for submit@debbugs.gnu.org; Mon, 16 Jan 2023 13:09:29 -0500 Received: from mail-qv1-f50.google.com ([209.85.219.50]:35618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHTvC-0000Wu-Ay for control@debbugs.gnu.org; Mon, 16 Jan 2023 13:09:27 -0500 Received: by mail-qv1-f50.google.com with SMTP id i12so20000546qvs.2 for ; Mon, 16 Jan 2023 10:09:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=fcLIEfIpymqdmmz2dviXMtdZAFCK4nLgo9WQS1Lp5vI=; b=Wk9MtjqLnKTGKcFmy99qyLbPFQPEiAZpd2dbIJrRypFNtw9Fm8aF035xBBUjApVLX5 gdMc7mZPRxGn9kDlHeVeKVvujOKXGhMA+shybgl0X3bDWFCVmjR+hf88Fx7kV4+klsAA iO1jczR3Mw6BGkR/EQFt3fknXgzGAhntWeqnT8Cg7MKDXrOlHtpDXTlVeZJX66DYSr9t 55E4aHYbEOzplTcrpE4NowOsESbHknIluylexylV/4627C0SD44teDGOQ4/fw6KcOjIJ F6MaW7iOIuK7KbjYVoBEJMm/b4QKbLNMoWv8CaswboZOvkpNwKPjn2fU/k4KqenUyLua ujbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fcLIEfIpymqdmmz2dviXMtdZAFCK4nLgo9WQS1Lp5vI=; b=SjscpCbMfni6xKJg1U+dWTatMq4PNOe6uP7ZJUbj0Ieqt7i1rIYN8cvvkvY3Qo/HGP 4UzTOT95J0VViz9rUzp4EO+zD1o6nkOwah42mxmG1/4rCsxuH78C71JGXOwPEqjsS98k dxJD2dpvIT09BqvEv19Orw2ziZS8b302Oa48LdxjHE3VfPlj1rMlURkYMggHXf5lwx1p IYAh4fM9aN+VKTXjR4nQfkAUHHSKDc82KYpB5jMGLKwud83UhL7t++cwhlEmG1myLGvJ hShgz0LV38tafimwRgndNIetKwlYYyW24jbiAIH1SB7hUGy3iQ8m4f3ULxl0/SFc7woS SjsQ== X-Gm-Message-State: AFqh2krfHnqDcEPhxDDAj0MDRobDuYS+ggEmcneDSXrHvDpTl/mwRQNm GZElI8GTuygxN7XlCIyN20ybfO9fanGZvN+v X-Google-Smtp-Source: AMrXdXuf/X1sSM+lY4kpEuKnfbtNr/kP1LcgSCZJCoEFDesH21bmmtOaC6l2GLfTCnfupI59H144wQ== X-Received: by 2002:a05:6214:1401:b0:4c7:cf4:f424 with SMTP id pr1-20020a056214140100b004c70cf4f424mr800607qvb.35.1673892560717; Mon, 16 Jan 2023 10:09:20 -0800 (PST) Received: from hurd (dsl-10-130-209.b2b2c.ca. [72.10.130.209]) by smtp.gmail.com with ESMTPSA id 64-20020a370c43000000b006cfc1d827cbsm18331723qkm.9.2023.01.16.10.09.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 10:09:20 -0800 (PST) Date: Mon, 16 Jan 2023 13:09:19 -0500 Message-Id: <87y1q24ai8.fsf@gmail.com> To: control@debbugs.gnu.org From: Maxim Cournoyer Subject: control message for bug #45476 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 45476 quit From unknown Wed Jun 18 23:13:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 14 Feb 2023 12:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator