[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reconsider defaults for use-package-vc-prefer-newest
From: |
Eli Zaretskii |
Subject: |
Re: Reconsider defaults for use-package-vc-prefer-newest |
Date: |
Tue, 17 Sep 2024 14:44:50 +0300 |
> From: Suhail Singh <suhailsingh247@gmail.com>
> Cc: "Martin Edstrom" <meedstrom@runbox.eu>, yandros@gmail.com,
> emacs-devel@gnu.org
> Date: Mon, 16 Sep 2024 16:16:03 -0400
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > If the problem is that there's a tag with the correct version, but the
> > Package-Version heading was not updated, we could perhaps have
> > use-package :vc detect that and either display a warning or even
> > automatically use the commit with the tag.
>
> FWIW, a situation I have encountered is when the commit corresponding to
> a release tag is not the same commit that introduced the version in the
> package header. This can come up, for instance, when a package is
> available both in melpa-stable and nongnu. The former uses git tags for
> versions whereas the latter uses the package header. However, while the
> version of the packages may nominally be the same, they may correspond
> to different commits. I.e., having two different sources of version
> information can result in ambiguity.
>
> When the two notions of version don't correspond to the same commit, it
> would be helpful if the user could be notified in some way.
Yes, that'd be another reason to alert the user.
Patches to that effect are welcome.
- Possible improvements in packaging (was: Reconsider defaults for use-package-vc-prefer-newest), (continued)
- Re: Reconsider defaults for use-package-vc-prefer-newest, Martin Edström, 2024/09/15
- Re: Reconsider defaults for use-package-vc-prefer-newest, Suhail Singh, 2024/09/16
- Re: Reconsider defaults for use-package-vc-prefer-newest,
Eli Zaretskii <=
- Re: Reconsider defaults for use-package-vc-prefer-newest, Suhail Singh, 2024/09/19
- Re: Reconsider defaults for use-package-vc-prefer-newest, Eli Zaretskii, 2024/09/19
- Re: Reconsider defaults for use-package-vc-prefer-newest, Suhail Singh, 2024/09/19
- Re: Reconsider defaults for use-package-vc-prefer-newest, Eli Zaretskii, 2024/09/19