From: Cayetano Santos <cayetano.santos@l2it.in2p3.fr>
To: Guix Devel <guix-devel@gnu.org>
Subject: emacs packaging: do we need to pull existing dependencies ?
Date: Wed, 01 Feb 2023 08:44:04 +0100 [thread overview]
Message-ID: <m1357psu1w.fsf@l2it.in2p3.fr> (raw)
Hello Guix,
I’m referring here to the way we handle propagated-inputs in
package
definitions, when dependencies are already present in the latest
stable emacs we provide (28.2 as for today.)
Think for example on all org-packages which depend on (and whose
package definition declare as a propagated-input) emacs-org.
This is
just an example, as many other similar examples may be found
(and
more to come on the upcoming 29.1).
From one side, it is up to the upstream package to declare in
the
package-requires fields all of its dependencies. Should not be
our
concern, as packagers, to take care of fixing / replacing that
in any
way. But, from another perspective, most of these packages
include
package-requires coherent to previous versions of emacs, which
is not
the case of guix.
So, do we need to pull most up-to-date dependencies, even if
already
present in current emacs, when upstream package requires them to
keep
backward compatibility ? Do we assume that guix emacs (28.2)
already
includes them, and remove the dependency from the inputs ? Is it
a
good strategy to deal with two different versions of a
dependency ?
Say for example emacs-org-roam@2.2.2: it requires emacs-org 9.4,
which
is not specified in the package definition, meaning we always
pull the
latest available. Do we have to, provided that emacs releases
with org
? Maybe there is already a clear rule about this topic, but to
me this
is not clear. We have package definitions with both criteria.
My two cents: let’s keep things as simple as possible. The lower
the
dependencies, the simpler the maintenance. I don’t see the point
on
pulling emacs-org@latest, provided that emacs already includes
the
minimum required org version. Same logic applies to all the
rest.
What do you think ?
Cayetano
next reply other threads:[~2023-02-02 14:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-01 7:44 Cayetano Santos [this message]
2023-02-04 17:58 ` emacs packaging: do we need to pull existing dependencies ? Liliana Marie Prikler
2023-02-05 10:50 ` Cayetano Santos
2023-02-05 19:46 ` Liliana Marie Prikler
2023-02-06 16:53 ` Simon Tournier
-- strict thread matches above, loose matches on Subject: below --
2023-01-31 8:13 Emacs " Cayetano Santos
2023-01-29 18:27 Cayetano Santos
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=m1357psu1w.fsf@l2it.in2p3.fr \
--to=cayetano.santos@l2it.in2p3.fr \
--cc=guix-devel@gnu.org \
/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).