GNU bug report logs -
#62750
29.0.50; Commands 'package-update' and 'package-update-all' should be called '*-upgrade'
Previous Next
Reported by: Adam Porter <adam <at> alphapapa.net>
Date: Mon, 10 Apr 2023 12:54:01 UTC
Severity: normal
Found in version 29.0.50
Done: Dmitry Gutov <dmitry <at> gutov.dev>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62750 in the body.
You can then email your comments to 62750 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Mon, 10 Apr 2023 12:54:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Adam Porter <adam <at> alphapapa.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 10 Apr 2023 12:54:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
Browsing the NEWS file for the first Emacs 29 pretest, I was glad to see
the following new commands:
+++
*** New command 'package-update'.
This command allows you to upgrade packages without using 'M-x
list-packages'.
+++
*** New command 'package-update-all'.
This command allows updating all packages without any queries.
But, IMHO, these commands should be named 'package-upgrade' and
'package-upgrade-all'.
In my experience in GNU/Linux systems and other software, the verb
"update" is commonly used to refer to updating the list of available
packages and their versions without changing the installed versions of
packages (e.g. in Debian, "apt update"), while the verb "upgrade" is
used to refer to actually installing newer versions of packages
(e.g. "apt upgrade", or GNU Guix's "guix upgrade"). This terminology
mirrors the inverse, i.e. "downgrading"; it's not said that packages are
"downdated" or "backdated."
Even the first NEWS entry seems to suggest this conflation, as it says,
"This command allows you to upgrade packages...".
If it's not too late to make this change, I think it would be
worthwhile, as I think it would help prevent confusion for many users.
OTOH, if Emacs 29 is released with "update packages" meaning "to upgrade
packages to newer versions", we may be stuck with this confusing
language for a long time.
Thanks for your consideration, and for your work on Emacs.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Mon, 10 Apr 2023 13:18:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 62750 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 10 Apr 2023 07:53:52 -0500
> From: Adam Porter <adam <at> alphapapa.net>
>
> +++
> *** New command 'package-update'.
> This command allows you to upgrade packages without using 'M-x
> list-packages'.
>
> +++
> *** New command 'package-update-all'.
> This command allows updating all packages without any queries.
>
> But, IMHO, these commands should be named 'package-upgrade' and
> 'package-upgrade-all'.
These commands exist for the last year. I'm not sure how reasonable
it is to rename them now, they are probably used in umpteen places
outside Emacs already. Maybe if we leave behind an alias.
And what if someone teaches these commands to downgrade as well, at
some future time?
Does anyone else have an opinion? Lars, Stefan, Philip?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Mon, 10 Apr 2023 13:25:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 62750 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Date: Mon, 10 Apr 2023 07:53:52 -0500
>> From: Adam Porter <adam <at> alphapapa.net>
>>
>> +++
>> *** New command 'package-update'.
>> This command allows you to upgrade packages without using 'M-x
>> list-packages'.
>>
>> +++
>> *** New command 'package-update-all'.
>> This command allows updating all packages without any queries.
>>
>> But, IMHO, these commands should be named 'package-upgrade' and
>> 'package-upgrade-all'.
>
> These commands exist for the last year. I'm not sure how reasonable
> it is to rename them now, they are probably used in umpteen places
> outside Emacs already. Maybe if we leave behind an alias.
>
> And what if someone teaches these commands to downgrade as well, at
> some future time?
>
> Does anyone else have an opinion? Lars, Stefan, Philip?
I don't think that "update" and "upgrade" have that clear of a semantic
difference in practice to necessitate a renaming. E.g. Debian's "apt"
distinguishes between updating (ie. synchronising the local repository
state) and upgrading (fetching and installing newer versions of a
package), while Fedora's dnf bundles both into one step and refers to it
as updating.
The term "update" probably has a minor edge over "upgrade" since it is a
more popular term, that users are more likely to search for.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Mon, 10 Apr 2023 14:33:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 62750 <at> debbugs.gnu.org (full text, mbox):
> I don't think that "update" and "upgrade" have that clear of a semantic
> difference in practice to necessitate a renaming.
I'd tend to agree.
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Tue, 11 Apr 2023 21:29:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 62750 <at> debbugs.gnu.org (full text, mbox):
On 10/04/2023 17:31, Stefan Monnier via Bug reports for GNU Emacs, the
Swiss army knife of text editors wrote:
>> I don't think that "update" and "upgrade" have that clear of a semantic
>> difference in practice to necessitate a renaming.
> I'd tend to agree.
Here's an argument in favor of renaming:
These commands use the term 'update'. But package-menu-mark-upgrades,
which has been in package.el for years, uses the term 'upgrade' in its
name and its docstring ("all upgradable packages", etc). There are a few
auxiliary functions which also use that term, but this is the
public-facing one.
So now we have divergent terminology. Which implies that there is some
difference between "upgrading" and "updating" in package.el, while there
is none.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Tue, 11 Apr 2023 21:41:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 62750 <at> debbugs.gnu.org (full text, mbox):
>>> I don't think that "update" and "upgrade" have that clear of a semantic
>>> difference in practice to necessitate a renaming.
>> I'd tend to agree.
>
> Here's an argument in favor of renaming:
>
> These commands use the term 'update'. But package-menu-mark-upgrades, which
> has been in package.el for years, uses the term 'upgrade' in its name and
> its docstring ("all upgradable packages", etc). There are a few auxiliary
> functions which also use that term, but this is the public-facing one.
>
> So now we have divergent terminology. Which implies that there is some
> difference between "upgrading" and "updating" in package.el, while there
> is none.
Good point.
It's annoyingly late to rename, but if we rename without compatibility
aliases (which seems to be an option since these are new in Emacs-29),
then I'd be in favor.
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Wed, 12 Apr 2023 07:45:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 62750 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>>>> I don't think that "update" and "upgrade" have that clear of a semantic
>>>> difference in practice to necessitate a renaming.
>>> I'd tend to agree.
>>
>> Here's an argument in favor of renaming:
>>
>> These commands use the term 'update'. But package-menu-mark-upgrades, which
>> has been in package.el for years, uses the term 'upgrade' in its name and
>> its docstring ("all upgradable packages", etc). There are a few auxiliary
>> functions which also use that term, but this is the public-facing one.
I have to admit that I didn't even notice that the command used the word
upgrade... Probably because I only invoked it using the binding, though
I do get the point with it being inconsistent.
>> So now we have divergent terminology. Which implies that there is some
>> difference between "upgrading" and "updating" in package.el, while there
>> is none.
>
> Good point.
>
> It's annoyingly late to rename, but if we rename without compatibility
> aliases (which seems to be an option since these are new in Emacs-29),
> then I'd be in favor.
What are compatibility aliases? I must have missed something?
> Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Wed, 12 Apr 2023 13:23:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 62750 <at> debbugs.gnu.org (full text, mbox):
>> It's annoyingly late to rename, but if we rename without compatibility
>> aliases (which seems to be an option since these are new in Emacs-29),
>> then I'd be in favor.
>
> What are compatibility aliases? I must have missed something?
I thought we'd rename `package-update` to `package-upgrade` by adding
the new name and marking the old name as an obsolete alias (a
"compatibility alias").
I hadn't realized that `package-update` hasn't been in a release yet, so
we don't need such a compatibility alias.
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Wed, 12 Apr 2023 13:29:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 62750 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Dmitry Gutov <dmitry <at> gutov.dev>, Adam Porter <adam <at> alphapapa.net>, Eli
> Zaretskii <eliz <at> gnu.org>, Lars Ingebrigtsen <larsi <at> gnus.org>,
> 62750 <at> debbugs.gnu.org
> Date: Wed, 12 Apr 2023 09:22:03 -0400
>
> >> It's annoyingly late to rename, but if we rename without compatibility
> >> aliases (which seems to be an option since these are new in Emacs-29),
> >> then I'd be in favor.
> >
> > What are compatibility aliases? I must have missed something?
>
> I thought we'd rename `package-update` to `package-upgrade` by adding
> the new name and marking the old name as an obsolete alias (a
> "compatibility alias").
>
> I hadn't realized that `package-update` hasn't been in a release yet, so
> we don't need such a compatibility alias.
Even though these commands were available under those names for the
last year or so?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Wed, 12 Apr 2023 13:35:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 62750 <at> debbugs.gnu.org (full text, mbox):
>> I hadn't realized that `package-update` hasn't been in a release yet, so
>> we don't need such a compatibility alias.
> Even though these commands were available under those names for the
> last year or so?
Well, that's for you to judge :-)
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Wed, 12 Apr 2023 13:45:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 62750 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>>> It's annoyingly late to rename, but if we rename without compatibility
>>> aliases (which seems to be an option since these are new in Emacs-29),
>>> then I'd be in favor.
>>
>> What are compatibility aliases? I must have missed something?
>
> I thought we'd rename `package-update` to `package-upgrade` by adding
> the new name and marking the old name as an obsolete alias (a
> "compatibility alias").
>
> I hadn't realized that `package-update` hasn't been in a release yet, so
> we don't need such a compatibility alias.
If this were to happen, I'd like to also be able to rename the analogous
package-vc commands to upgrade as well.
(On a related topic I have been wondering if package-update should
handle package-vc packages at all, or if that was a mistake?)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Wed, 12 Apr 2023 14:38:01 GMT)
Full text and
rfc822 format available.
Message #38 received at 62750 <at> debbugs.gnu.org (full text, mbox):
On Wed, Apr 12, 2023 at 2:45 PM Philip Kaludercic <philipk <at> posteo.net> wrote:
>
> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
> >>> It's annoyingly late to rename, but if we rename without compatibility
> >>> aliases (which seems to be an option since these are new in Emacs-29),
> >>> then I'd be in favor.
> >>
> >> What are compatibility aliases? I must have missed something?
> >
> > I thought we'd rename `package-update` to `package-upgrade` by adding
> > the new name and marking the old name as an obsolete alias (a
> > "compatibility alias").
> >
> > I hadn't realized that `package-update` hasn't been in a release yet, so
> > we don't need such a compatibility alias.
>
> If this were to happen, I'd like to also be able to rename the analogous
> package-vc commands to upgrade as well.
>
> (On a related topic I have been wondering if package-update should
> handle package-vc packages at all, or if that was a mistake?)
Also, in the off-chance that no-one has noticed yet the new
package-update-*commands and the older package-menu*upgrade
commands use entirely different logic to discover what _can_
be updated. Only by sheer skill or luck will this logic match exactly.
João
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Sat, 15 Apr 2023 01:35:01 GMT)
Full text and
rfc822 format available.
Message #41 received at 62750 <at> debbugs.gnu.org (full text, mbox):
On 12/04/2023 16:34, Stefan Monnier wrote:
>>> I hadn't realized that `package-update` hasn't been in a release yet, so
>>> we don't need such a compatibility alias.
>> Even though these commands were available under those names for the
>> last year or so?
> Well, that's for you to judge 😄
Since they're not very likely to be used in Lisp code, I'd say it's
unlikely to be a problem.
Alternatively, we'll probably get around to fixing this inconsistency
sometime after this release, and then carry the compatibility aliases
for a number of years.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Wed, 19 Apr 2023 22:24:02 GMT)
Full text and
rfc822 format available.
Message #44 received at 62750 <at> debbugs.gnu.org (full text, mbox):
On 4/11/2023 2:28 PM, Dmitry Gutov wrote:
> These commands use the term 'update'. But package-menu-mark-upgrades,
> which has been in package.el for years, uses the term 'upgrade' in its
> name and its docstring ("all upgradable packages", etc). There are a few
> auxiliary functions which also use that term, but this is the
> public-facing one.
Given this, I think we should rename the functions. If that means adding
obsolete aliases to be polite, that's ok too. (Personally, I don't think
it's necessary, since users tracking the development builds should
expect some minor breakage, but it doesn't hurt to have aliases.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Sun, 23 Apr 2023 23:07:01 GMT)
Full text and
rfc822 format available.
Message #47 received at 62750 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 15/04/2023 04:34, Dmitry Gutov wrote:
> On 12/04/2023 16:34, Stefan Monnier wrote:
>>>> I hadn't realized that `package-update` hasn't been in a release
>>>> yet, so
>>>> we don't need such a compatibility alias.
>>> Even though these commands were available under those names for the
>>> last year or so?
>> Well, that's for you to judge 😄
>
> Since they're not very likely to be used in Lisp code, I'd say it's
> unlikely to be a problem.
>
> Alternatively, we'll probably get around to fixing this inconsistency
> sometime after this release, and then carry the compatibility aliases
> for a number of years.
Here's a couple of other existing functions:
package--update-selected-packages
package--update-downloads-in-progress
Neither of these relate to upgrading packages. Although the former could
be easy to mistake for that now.
In all older functions, the term "update" (in comments and variable
names) refers to updating the value of some variable, not packages.
By analogy, 'M-x package-update-all' might be easy enough to mistake for
updating the list of packages available for installation, for example.
Here's a patch that does the rename. Also including package-vc-update*
that Philip mentioned.
[0001-Rename-all-functions-called-package-update-to-packag.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Mon, 24 Apr 2023 12:03:01 GMT)
Full text and
rfc822 format available.
Message #50 received at 62750 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 24 Apr 2023 02:06:45 +0300
> From: Dmitry Gutov <dmitry <at> gutov.dev>
> Cc: adam <at> alphapapa.net, philipk <at> posteo.net, larsi <at> gnus.org,
> 62750 <at> debbugs.gnu.org
>
> Here's a couple of other existing functions:
>
> package--update-selected-packages
> package--update-downloads-in-progress
>
> Neither of these relate to upgrading packages. Although the former could
> be easy to mistake for that now.
>
> In all older functions, the term "update" (in comments and variable
> names) refers to updating the value of some variable, not packages.
>
> By analogy, 'M-x package-update-all' might be easy enough to mistake for
> updating the list of packages available for installation, for example.
>
> Here's a patch that does the rename. Also including package-vc-update*
> that Philip mentioned.
Any objections to these renames, anyone?
Does anyone think we need to leave behind aliases for the old names?
Me, I have only one potential issue: since "update" just means "delete
the installed version, then install another version", it could be
easily made to downgrade, not just to upgrade. So if we ever would
like to allow downgrading, the new names will get in the way. But if
this is not an issue we should be bothered about, it's fine by me.
Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Mon, 24 Apr 2023 17:29:01 GMT)
Full text and
rfc822 format available.
Message #53 received at 62750 <at> debbugs.gnu.org (full text, mbox):
On 4/24/23 07:02, Eli Zaretskii wrote:
> Me, I have only one potential issue: since "update" just means "delete
> the installed version, then install another version", it could be
> easily made to downgrade, not just to upgrade. So if we ever would
> like to allow downgrading, the new names will get in the way. But if
> this is not an issue we should be bothered about, it's fine by me.
IMHO, a command to downgrade ought to be a separate command with a
different name--not only to reduce confusion, but because downgrading
packages is an operation that is more likely to require manual user
intervention, such as recompiling other packages that depend on the
downgraded package (e.g. if struct or macro definitions change, or
symbols disappear).
It's easy enough to cause that problem when upgrading, and much more
likely when downgrading, to the extent that it's arguable that a command
to downgrade shouldn't exist, because users who want to downgrade a
package should be prepared to deal with the potential fallout.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Mon, 24 Apr 2023 18:56:01 GMT)
Full text and
rfc822 format available.
Message #56 received at 62750 <at> debbugs.gnu.org (full text, mbox):
On 24/04/2023 20:28, Adam Porter wrote:
> On 4/24/23 07:02, Eli Zaretskii wrote:
>
>> Me, I have only one potential issue: since "update" just means "delete
>> the installed version, then install another version", it could be
>> easily made to downgrade, not just to upgrade. So if we ever would
>> like to allow downgrading, the new names will get in the way. But if
>> this is not an issue we should be bothered about, it's fine by me.
>
> IMHO, a command to downgrade ought to be a separate command with a
> different name--not only to reduce confusion, but because downgrading
> packages is an operation that is more likely to require manual user
> intervention, such as recompiling other packages that depend on the
> downgraded package (e.g. if struct or macro definitions change, or
> symbols disappear).
That might also be the case when upgrading a package that some others
depend on (newer version could also have macros deleted or renamed).
Either way, though, we could make it a separate command.
Or even augment the current one: (package-upgrade 'name
"some-older-version") has a similar feel to (forward-char -1), not
exactly unfamiliar to us.
Would "update" be a more proper term to cover both upgrading and
downgrading? I'm not sure about that. Aside from "downgrade", I would
probably say "revert" or "install an older version". E.g. when using
apt-get, the relevant subcommand would be "install".
> It's easy enough to cause that problem when upgrading, and much more
> likely when downgrading, to the extent that it's arguable that a command
> to downgrade shouldn't exist, because users who want to downgrade a
> package should be prepared to deal with the potential fallout.
Or that. We don't keep older versions around in ELPA anyway, so for now
the question is moot.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Mon, 24 Apr 2023 19:14:02 GMT)
Full text and
rfc822 format available.
Message #59 received at 62750 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 24 Apr 2023 21:54:58 +0300
> Cc: monnier <at> iro.umontreal.ca, philipk <at> posteo.net, larsi <at> gnus.org,
> 62750 <at> debbugs.gnu.org
> From: Dmitry Gutov <dmitry <at> gutov.dev>
>
> On 24/04/2023 20:28, Adam Porter wrote:
> > On 4/24/23 07:02, Eli Zaretskii wrote:
> >
> >> Me, I have only one potential issue: since "update" just means "delete
> >> the installed version, then install another version", it could be
> >> easily made to downgrade, not just to upgrade. So if we ever would
> >> like to allow downgrading, the new names will get in the way. But if
> >> this is not an issue we should be bothered about, it's fine by me.
> >
> > IMHO, a command to downgrade ought to be a separate command with a
> > different name--not only to reduce confusion, but because downgrading
> > packages is an operation that is more likely to require manual user
> > intervention, such as recompiling other packages that depend on the
> > downgraded package (e.g. if struct or macro definitions change, or
> > symbols disappear).
>
> That might also be the case when upgrading a package that some others
> depend on (newer version could also have macros deleted or renamed).
>
> Either way, though, we could make it a separate command.
A separate command that does the same, or almost the same, as
package-upgrade? That's uneconomical, let alone elegant.
> Or even augment the current one: (package-upgrade 'name
> "some-older-version") has a similar feel to (forward-char -1), not
> exactly unfamiliar to us.
We are talking about invoking commands, not about Lisp programs. How
many times did you do "C-- C-f" instead of "C-b"?
> We don't keep older versions around in ELPA anyway, so for now the
> question is moot.
I was trying to raise a possible future issue. We all know that
command names, once they gain enough tenure, cannot be easily changed.
So this is the time to think about future issues; we won't have
another chance. It's exactly why we should consider what is today a
"moot point" but could be a real one later.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Mon, 24 Apr 2023 19:39:01 GMT)
Full text and
rfc822 format available.
Message #62 received at 62750 <at> debbugs.gnu.org (full text, mbox):
On 24/04/2023 22:13, Eli Zaretskii wrote:
>> Or even augment the current one: (package-upgrade 'name
>> "some-older-version") has a similar feel to (forward-char -1), not
>> exactly unfamiliar to us.
> We are talking about invoking commands, not about Lisp programs. How
> many times did you do "C-- C-f" instead of "C-b"?
Considering one would have to enter a specific version to downgrade to
(right?), they'd have to do it interactively. Unlike in the case of
upgrading, where we almost always want the most recent version.
If one had to explicitly input the number of chars to go forward anyway,
we would have little use for backward-char.
Reply sent
to
Dmitry Gutov <dmitry <at> gutov.dev>
:
You have taken responsibility.
(Thu, 27 Apr 2023 23:28:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Adam Porter <adam <at> alphapapa.net>
:
bug acknowledged by developer.
(Thu, 27 Apr 2023 23:28:02 GMT)
Full text and
rfc822 format available.
Message #67 received at 62750-done <at> debbugs.gnu.org (full text, mbox):
On 10/04/2023 15:53, Adam Porter wrote:
> But, IMHO, these commands should be named 'package-upgrade' and
> 'package-upgrade-all'.
They have now been renamed (with Eli's blessing in another bug's
thread). Without compatibility aliases.
Functions inside package-vc.el have been renamed too.
Thanks everybody! Closing.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Fri, 28 Apr 2023 14:26:02 GMT)
Full text and
rfc822 format available.
Message #70 received at 62750-done <at> debbugs.gnu.org (full text, mbox):
Dmitry Gutov <dmitry <at> gutov.dev> writes:
> On 10/04/2023 15:53, Adam Porter wrote:
>> But, IMHO, these commands should be named 'package-upgrade' and
>> 'package-upgrade-all'.
>
> They have now been renamed (with Eli's blessing in another bug's
> thread). Without compatibility aliases.
>
> Functions inside package-vc.el have been renamed too.
Thanks for that.
> Thanks everybody! Closing.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Mon, 01 May 2023 01:56:02 GMT)
Full text and
rfc822 format available.
Message #73 received at 62750 <at> debbugs.gnu.org (full text, mbox):
> That might also be the case when upgrading a package that some others
> depend on (newer version could also have macros deleted or renamed).
We try to make upgrades "safe", but there's usually no such effort the
other way around, so downgrading is definitely more risky in practice,
even though in theory things can break in all cases.
> Would "update" be a more proper term to cover both upgrading and
> downgrading?
I think if you specify the target version, then `package-install` sounds
about right (and I suspect it may already "work").
> Or that. We don't keep older versions around in ELPA anyway, so for
> now the question is moot.
Well, we do keep them some `elpa.gnu.org` but indeed the ELPA protocol
doesn't include any way to advertise them.
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#62750
; Package
emacs
.
(Mon, 01 May 2023 13:20:02 GMT)
Full text and
rfc822 format available.
Message #76 received at 62750 <at> debbugs.gnu.org (full text, mbox):
On 01/05/2023 04:55, Stefan Monnier wrote:
>> That might also be the case when upgrading a package that some others
>> depend on (newer version could also have macros deleted or renamed).
>
> We try to make upgrades "safe", but there's usually no such effort the
> other way around, so downgrading is definitely more risky in practice,
> even though in theory things can break in all cases.
Very true.
>> Would "update" be a more proper term to cover both upgrading and
>> downgrading?
>
> I think if you specify the target version, then `package-install` sounds
> about right (and I suspect it may already "work").
It indeed "works" in the sense that package-install performs two
different functions
- "Install package xyz" (i.e. make sure it is installed, some version),
- "Install xyz version 1.2.3 (installs that version)
It doesn't delete the currently installed version in the latter case
either, though, and when downgrading we'll almost certainly want that
to happen.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 30 May 2023 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 79 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.