From: Leo Famulari <leo@famulari.name>
To: Sharlatan Hellseher <sharlatanus@gmail.com>
Cc: 74917@debbugs.gnu.org
Subject: [bug#74917] [PATCH] gnu: Syncthing: Update to 1.28.1.
Date: Wed, 18 Dec 2024 13:41:45 -0500 [thread overview]
Message-ID: <Z2MXaYACKeFH4oXf@jasmine.lan> (raw)
In-Reply-To: <87msgvuwu6.fsf@gmail.com>
On Mon, Dec 16, 2024 at 09:44:33PM +0000, Sharlatan Hellseher wrote:
> I've notice syncthing was build from source without vendor that swap
> back to the release tarball containing bundled vendor.
Yes, we made that change a while ago.
For me, I decided that I didn't think that "unbundling" the dependencies
was a good use of my time so I stopped doing it.
> Would it be reasonable to built it completely relaying on the packages
> available in Guix, WDYT?
Personally, I don't think it's reasonable.
The GPL says that source code must be available in "the preferred form
of the work for making modifications to it."
https://www.gnu.org/licenses/gpl-3.0.en.html
Syncthing is not GPL, but I think that requirement is a good guideline
for us to follow so that Guix can give the benefits of GNU and the GPL
to our users.
For Go software, the preffered from for editing is a Git tree with
bundled / vendored dependencies at specific Git commits. Not a bunch of
separate trees that the user would have to laboriously re-assemble.
However, if we must unbundle, we could consider creating a new Guix
mechanism to ease the maintenance burden of Go packages: package
variants with parameterized versions.
For example, you have a main package variant of some Go module, call it
go-foo. That looks like a normal Guix package. If a package needs to use
go-foo, it would look like this:
(inputs
(list (go-foo
"1.0.0"
"cabba6edr1x2231hw0zsxm53sw34wxcs4ijjjcnzcg1vz9drjrg9")))
At least that would be easy for package maintenance.
But I think that using the bundled dependencies for Go packages is the
right thing to do from a GNU perspective. Of course we have to make sure
they are all free software.
prev parent reply other threads:[~2024-12-18 18:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-16 21:12 [bug#74917] [PATCH] gnu: Syncthing: Update to 1.28.1 Leo Famulari
2024-12-16 21:44 ` Sharlatan Hellseher
2024-12-18 18:41 ` Leo Famulari [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z2MXaYACKeFH4oXf@jasmine.lan \
--to=leo@famulari.name \
--cc=74917@debbugs.gnu.org \
--cc=sharlatanus@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).