From: Dmitry Gutov <dmitry@gutov.dev>
To: Eli Zaretskii <eliz@gnu.org>
Cc: joaotavora@gmail.com, emacs-devel@gnu.org
Subject: Re: Stability of core packages (was: Not easy at all to upgrade :core packages like Eglot)
Date: Wed, 19 Apr 2023 01:10:56 +0300 [thread overview]
Message-ID: <bffa9451-45bb-47f3-b698-f98cb7089c67@gutov.dev> (raw)
In-Reply-To: <83r0sh8i1q.fsf@gnu.org>
On 18/04/2023 15:57, Eli Zaretskii wrote:
>>>> On 14/04/2023 22:28, Eli Zaretskii wrote:
>>>>> If, OTOH,
>>>>> you think that it's imperative to allow_all_ users of Eglot with
>>>>> Emacs 29 to upgrade to Eglot 1.14 (and 1.15, 1.16, etc., when those
>>>>> become available), then we should release Emacs 29 with 1.14.
>>>>
>>>> Was this question about stability only?
>>>
>>> It was about the criteria for which versions of core packages to ship
>>> with a release.
>>
>> I don't think we can get a single set of criteria across core packages.
>
> We don't need to have just one set. Packages are different in both
> their complexity, their dependence on other packages, and dependence
> of other packages on them. So one set is unlikely to fit the bill,
> indeed.
>
> But that doesn't mean we shouldn't have criteria at all. We should
> strive to have a small number of them, and we should know which set is
> applicable to which class of packages.
It's a good question, but not a deciding one WRT what we should do with
Eglot for Emacs 29, I think. I hope I'll be able to explain that below.
> This will be one of the serious issues if we ever move to having some
> packages only in elpa.git, and will then bundle them when preparing an
> Emacs release tarball. It will be imperative to know at that time
> which version/branch of each such package to take as part of preparing
> a release. We must have a solution by then, so this is as good time
> as any to start discussing the issue.
Sure. Please keep in mind, however, that very few of external packages
have separate branches for releases and development. I guess Org does,
but I'm not sure if others exist. One of the reasons for that is that
the ELPA repositories only package the very latest released version
anyway and quickly delete the older ones. And package.el is the foremost
distribution method for Elisp code.
For :core package, we also have Emacs's own development and release
branches. But only master branch has versioned releases cut from it.
It's hard to say whether the time the code has spent in a given
'emacs-xy' branch brings maturity to it, and how much.
So every time a new version if tagged, it's a value judgment on the part
of the maintainer: whether enough time has passed since the most recent
big feature was added, whether there were bug reports or not.
The MELPA project has helped a lot with this over the years because it
popularized snapshot versions. So when a package is feature on MELPA,
the author could be fairly sure that a lot of users have downloaded the
latest snapshot and gave it a try, and the lack of new reports means
it's probably okay. MELPA has the problem that the "Stable" repository
is not very popular, though. We here have it in the reverse: I'm not
sure how many people make use of elpa-devel (GNU-devel ELPA). Probably
not many.
>> E.g. Org is developed externally, has its own community of significant
>> size, and does split off release branches (with additional testing, I',m
>> guessing).
>>
>> Eglot, OTOH, is developed only here, with no additional release workflow
>> other than what MELPA/GNU ELPA historically provided: collect up some
>> features/fixes, bump the Version header, and push a new release out to
>> the users. The lack of extended testing period is made up for with the
>> capability to push out a new fixed version overnight. That's why the
>> difficulty in upgrading to the latest version (for Emacs 29 users) is
>> going to hurt.
>
> If some core package is not tested enough before it gets a new
> version, then why are we okay with telling users of a stable Emacs to
> update the package willy-nilly as soon as another version is on ELPA?
> Shouldn't we at least warn them, or, better, somehow indicate that
> this version is not yet considered stable?
I have a different answer from all that had been presented here: because
the user can uninstall it.
Uninstall any newer installed version and stay with that one that had
been bundled with the Emacs release. As long as *that* one has been
picked well enough to be stable, and can be reverted to, we can afford
not to worry too much about the user installing another version.
It's like reverting to a more stable distribution channel, to use the
analogy from the bug discussion.
> IOW, shouldn't packages have some "stability gradation" that is
> visible when users look at the list of packages via package.el?
> Shouldn't we allow users to tell package.el which stability they want
> to download, so that unstable packages don't inadvertently get
> installed and mess up their production environment?
We have elpa and elpa-devel. The latter is "explicitly unstable" and the
former is "checkpoint releases".
Neither keeps the previous versions around, so it's not like the user at
any point could make a choice to install a minor version update instead
of going up a full major version. The only choice is to update to the
latest, or not (by using elpa-devel, though, the user might opt into
having "the latest" mean "the latest commit in master").
>> BTW, if you recall the threads before Eglot was added, I was against
>> that, and one of the things I cited is an LSP client has inherently high
>> development velocity. Maybe the LSP community will settle/mature/stop
>> adding features one day, but it's not there yet.
>
> I don't see what development pace has to do with this issue. If a
> package is being developed at a high pace, it might mean that the
> stable version will lag more. But what does this change in principle?
It matters when we're talking not about simple additional, optional
features, but about changes that keep pace with the evolution of the LSP
standard, with new LSP servers that arrive, new changes in existing
protocols. Things that users come to expect to be able to use now, and
not in 3 years.
Taking a conservative stance can work when the ecosystem supports it
too. E.g. if every LSP server that we support now had an implicit
promise to be properly maintained for 3 years since, at least. I don't
think that's the case. Almost every one could be deprecated in that time
frame, with community being recommended to switch to a newer one.
>>>> Because since we've decided in favor of stability of package.el, and
>>>> against eglot's easy upgradability, I would suggest to backport Eglot
>>>> 1.14 to emacs-29.
>>>
>>> I won't object. In fact, I asked up front why not.
>>
>> Note that that suggestion comes with a fix to eldoc which you so far
>> have rejected for emacs-29.
>
> You mean, the change in ElDoc that avoids the "jumping mode line"
> issue? If so, it is unfortunate for Eglot to depend on that, because
> it means users of Emacs 29 will be unable to upgrade to Eglot 1.15
> without by side effect installing a newer and potentially less stable
> ElDoc. (I also am surprised that change is a must for Eglot 1.15.)
Sorry if that was unclear: yes, the fix for "jumping mode-line and
blinking text", but not as a bump in dependency. Just to backport the
fix to eldoc.el inside emacs-29.
But Joao has explained that that idea is impractical because Eglot 1.14
depends on Eldoc 1.14.0. And I just wanted a particular fix from it. So
backporting the thing I wanted from Eglot 1.14 (taking up much less
space in the echo area) is not really feasible because it depends on a
fairly recent addition to eldoc.
To clarify: I made that suggestion from the premise that we do expect
and encourage a fair fraction of the users to use just the versions of
Eglot and Eldoc that come with Emacs 29, and never upgrade to the latest
ones.
> So this again goes back to the main issue: how should the stability
> considerations affect development of core packages and their
> "stability gradation"? Developers of core packages should keep these
> aspects in mind at all times, and, for example, avoid dependencies on
> other packages that aren't absolutely necessary.
I agree with that stance, in general.
And as per above explanation, Eglot 0.14 depends on Eldoc 0.14.0 not
because it's the very latest and spiffiest version, but because it needs
a particular feature from it.
next prev parent reply other threads:[~2023-04-18 22:10 UTC|newest]
Thread overview: 92+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87a5zj2vfo.fsf@gmail.com>
[not found] ` <83wn2h5825.fsf@gnu.org>
[not found] ` <87wn2gkhzr.fsf@posteo.net>
[not found] ` <83cz485oxi.fsf@gnu.org>
[not found] ` <87leiwdyff.fsf@posteo.net>
[not found] ` <834jpk5hih.fsf@gnu.org>
[not found] ` <871qkom3fj.fsf@posteo.net>
[not found] ` <83mt3b4yfc.fsf@gnu.org>
[not found] ` <87edonlsxi.fsf@posteo.net>
[not found] ` <83jzyf4vzb.fsf@gnu.org>
[not found] ` <871qknllkj.fsf@posteo.net>
[not found] ` <83fs934pjf.fsf@gnu.org>
[not found] ` <87wn2fk47y.fsf@posteo.net>
[not found] ` <83sfd2g2ek.fsf@gnu.org>
[not found] ` <875y9yfxrr.fsf@gmail.com>
[not found] ` <CALDnm50-Su4SAGDSBiLjt0yrjrVsvyW71NSMi=zt7uHgv7rdng@mail.gmail.com>
[not found] ` <87y1muefks.fsf@gmail.com>
[not found] ` <CALDnm50b6hRu+4EFqQDVydOF07HdiZT4nHA=aLDjYQKtMBTk2Q@mail.gmail.com>
[not found] ` <fc2ed4a0-2368-682d-e34d-5cf94ac261fc@gutov.dev>
[not found] ` <CALDnm527Avsa-MBTD-bvRqOn52AeBLfPvffxjL-NB3tqM=43ZQ@mail.gmail.com>
[not found] ` <834jpifizy.fsf@gnu.org>
[not found] ` <CALDnm53X5Yyn_EitG+iHJVx=RO2hjNaWkrgPz0+jKVWVM=eEBQ@mail.gmail.com>
[not found] ` <83y1mue1qi.fsf@gnu.org>
[not found] ` <CALDnm51hmRMxstQdZdstA2LrbvYw=zD5=XRVy6uCU=Z+OmONRg@mail.gmail.com>
[not found] ` <83sfd2e01f.fsf@gnu.org>
[not found] ` <1a5e5837-513b-84d8-3260-cdbf42b71267@gutov.dev>
[not found] ` <83sfcz9rf2.fsf@gnu.org>
[not found] ` <09a49ab9-ac72-36a9-3e68-9c633710eba7@gutov.dev>
2023-04-18 12:57 ` Stability of core packages (was: Not easy at all to upgrade :core packages like Eglot) Eli Zaretskii
2023-04-18 14:02 ` João Távora
2023-04-18 14:47 ` Eli Zaretskii
2023-04-18 15:45 ` João Távora
2023-04-18 16:19 ` Eli Zaretskii
2023-04-18 17:49 ` João Távora
2023-04-18 21:19 ` Dmitry Gutov
2023-04-18 18:56 ` Jim Porter
2023-04-18 19:21 ` Eli Zaretskii
2023-04-18 19:36 ` Jim Porter
2023-04-19 11:55 ` Eli Zaretskii
2023-04-19 8:50 ` João Távora
2023-04-19 12:13 ` Dr. Arne Babenhauserheide
2023-04-19 17:03 ` Eli Zaretskii
2023-04-19 17:21 ` João Távora
2023-04-19 18:07 ` Eli Zaretskii
2023-04-19 18:14 ` Dmitry Gutov
2023-04-19 18:32 ` Eli Zaretskii
2023-04-19 19:33 ` João Távora
2023-04-20 4:26 ` tomas
2023-04-19 19:39 ` Dmitry Gutov
2023-04-19 19:46 ` João Távora
2023-04-19 20:50 ` Dmitry Gutov
2023-04-19 20:57 ` João Távora
2023-04-19 21:58 ` Jim Porter
2023-04-19 22:29 ` João Távora
2023-04-19 22:42 ` Jim Porter
2023-04-19 22:58 ` João Távora
2023-04-19 22:06 ` Dmitry Gutov
2023-04-19 22:21 ` Jim Porter
2023-04-19 22:27 ` Dmitry Gutov
2023-04-19 22:43 ` Jim Porter
[not found] ` <f32d7008-ea39-a9d7-8224-2c5b969236b7@gutov.dev>
[not found] ` <CALDnm53vPnODxpv_=nvOHRjLX-PfhyTS0MFudR0qZ3Pa-Lw-AQ@mail.gmail.com>
2023-04-19 23:25 ` Dmitry Gutov
2023-04-20 0:13 ` João Távora
2023-04-20 1:13 ` Dmitry Gutov
2023-04-20 1:49 ` João Távora
2023-04-20 2:04 ` Dmitry Gutov
2023-04-19 19:15 ` João Távora
2023-04-20 9:38 ` Eli Zaretskii
2023-04-20 9:48 ` João Távora
2023-04-20 11:47 ` Eli Zaretskii
2023-04-20 12:00 ` João Távora
2023-04-20 12:16 ` Eli Zaretskii
2023-04-20 12:24 ` João Távora
2023-04-19 17:35 ` John Yates
2023-04-19 17:42 ` João Távora
2023-04-19 18:02 ` Eli Zaretskii
2023-04-19 18:04 ` Jim Porter
2023-04-19 18:34 ` Eli Zaretskii
2023-04-19 19:35 ` Jim Porter
2023-04-20 9:49 ` Eli Zaretskii
2023-04-19 19:40 ` Dr. Arne Babenhauserheide
2023-04-20 6:02 ` Eli Zaretskii
2023-04-29 5:21 ` Stability of core packages emacs
2023-04-29 6:26 ` Eli Zaretskii
2023-04-29 21:47 ` Mohsen BANAN
2023-04-30 6:21 ` Eli Zaretskii
2023-04-30 9:07 ` Philip Kaludercic
2023-04-30 13:12 ` Corwin Brust
2023-05-07 5:58 ` Mohsen BANAN
2023-05-05 4:36 ` David Masterson
2023-05-05 4:56 ` David Masterson
[not found] ` <878re3bdj6.fsf@penguin>
2023-05-05 4:59 ` David Masterson
2023-04-19 12:55 ` Stability of core packages (was: Not easy at all to upgrade :core packages like Eglot) Eli Zaretskii
2023-04-19 13:18 ` João Távora
2023-04-19 13:44 ` Eli Zaretskii
2023-04-19 14:13 ` João Távora
2023-04-18 22:10 ` Dmitry Gutov [this message]
2023-04-19 8:34 ` João Távora
2023-04-19 12:47 ` Eli Zaretskii
2023-04-19 18:22 ` Jim Porter
2023-04-19 18:37 ` Eli Zaretskii
2023-04-19 19:32 ` Jim Porter
2023-04-19 22:51 ` Lynn Winebarger
2023-04-20 13:47 ` history of ELPA packages and dependencies (was: Stability of core packages (was: Not easy at all to upgrade :core packages like Eglot)) Lynn Winebarger
2023-04-20 13:58 ` Stability of core packages (was: Not easy at all to upgrade :core packages like Eglot) Lynn Winebarger
2023-04-19 19:25 ` Dmitry Gutov
2023-04-19 19:40 ` João Távora
2023-04-20 9:47 ` Eli Zaretskii
2023-04-20 13:03 ` Dmitry Gutov
2023-04-20 14:03 ` Eli Zaretskii
2023-04-20 14:22 ` Dmitry Gutov
2023-04-20 14:42 ` Eli Zaretskii
2023-04-20 15:30 ` Dmitry Gutov
2023-04-20 15:49 ` Eli Zaretskii
2023-04-20 17:26 ` Stability of core packages Philip Kaludercic
2023-04-20 18:46 ` Eli Zaretskii
2023-04-20 21:25 ` Stability of core packages (was: Not easy at all to upgrade :core packages like Eglot) Dmitry Gutov
2023-04-21 14:12 ` Lynn Winebarger
2023-04-19 12:31 ` What is :core? (was: Stability of core packages (was: Not easy at all to upgrade :core packages like Eglot)) Lynn Winebarger
2023-04-19 12:57 ` João Távora
2023-04-19 13:03 ` Eli Zaretskii
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://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bffa9451-45bb-47f3-b698-f98cb7089c67@gutov.dev \
--to=dmitry@gutov.dev \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=joaotavora@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/emacs.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).