From: Saku Laesvuori <saku@laesvuori.fi>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Contribute or create a channel?
Date: Fri, 1 Mar 2024 20:16:54 +0200 [thread overview]
Message-ID: <k6sz2eph7wumutyfknnvxb7aro4x76njgl6mq54oo4s2exrvxt@b4r4pni6mhqk> (raw)
In-Reply-To: <ed02e829-2ff5-5b0f-9849-61b48465f17b@crazy-compilers.com>
[-- Attachment #1: Type: text/plain, Size: 1875 bytes --]
> I'm currently updating Tryton to version 7.0 and am wondering whether
> it's better to contribute the change to Guix or to set up a channel for
> Tryton.
As a general rule: it is always better to contribute a change instead of
maintaining a separate channel for it if the change could be accepted in
Guix.
> * Bugfixes happens rather often and per-module, since they are
> published even for smaller fixes. Upstream promises to not contain
> functional changes or change requirements. Each bugfix could be
> implemented as a graft, since .
I don't think it would make much sense to implement bugfixes as grafts
if the package isn't depended on by a huge number of other packages.
> Given this, it might be interesting to have three versions of Tryton
> available: the two LTS versions and the latest version.
>
> Now the idea is to provide a channel which provides a branch for each
> LTS version and a "main" branch for the latest release. This would allow
> to checkout the respective branch and refresh the packages of the
> respective version semi-automatically.
>
> OTOH in Guix, maintaining several version seems laborious.
It just requires a different updating method. The different versions can
just be defined as separate packages (see postgresql for an example) and
the user the defines which one they want to use. They can either refer
to the package variable directly in scheme (e.g. postgresql-15) or on
the command line with the name@version syntax (e.g. postgresql@15).
> Some more background-info:
>
> * Within each version, there is guarantee that the database schema
> will not be changed. Anyhow between versions the db schema might
> change, requiring manual migration steps.
This is the case with postgresql, too. (which is why I chose it as the
example before)
- Saku
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2024-03-01 18:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-01 16:36 Contribute or create a channel? Hartmut Goebel
2024-03-01 18:16 ` Saku Laesvuori [this message]
2024-03-02 10:35 ` Hartmut Goebel
2024-03-01 21:13 ` Attila Lendvai
2024-03-01 22:35 ` Ricardo Wurmus
2024-03-12 13:18 ` Attila Lendvai
2024-03-12 16:56 ` Troy Figiel
2024-03-12 22:43 ` Carlo Zancanaro
2024-03-13 12:35 ` Attila Lendvai
2024-03-14 18:06 ` Josselin Poiret
2024-03-01 22:39 ` Ricardo Wurmus
2024-03-02 10:32 ` Hartmut Goebel
2024-03-04 8:32 ` Andreas Enge
2024-03-05 14:19 ` Hartmut Goebel
2024-03-05 22:34 ` Ricardo Wurmus
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=k6sz2eph7wumutyfknnvxb7aro4x76njgl6mq54oo4s2exrvxt@b4r4pni6mhqk \
--to=saku@laesvuori.fi \
--cc=guix-devel@gnu.org \
--cc=h.goebel@crazy-compilers.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).