GNU bug report logs -
#60418
[PATCH] Add :vc keyword to use-package
Previous Next
Reported by: Tony Zorman <soliditsallgood <at> mailbox.org>
Date: Fri, 30 Dec 2022 07:04:03 UTC
Severity: normal
Tags: patch
Merged with 61937
Found in version 29.0.60
Done: Philip Kaludercic <philipk <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Felician Nemeth <felician.nemeth <at> gmail.com> writes:
> Philip Kaludercic <philipk <at> posteo.net> writes:
>
>> package-vc can check out the latest revision that bumped the version tag
>> (which is what {Non,}GNU ELPA uses to create new versions of a package),
>> you just need to call `package-vc-install' with `:last-release' as REV.
>> So the technical means are there.
>>
>> But if this is done, the question what advantage this has over just
>> installing a tarball this has? You would almost always get the same
>> code.
>
> Convenience, I suppose. You can copy your init file to a new machine,
> and it will work.
But isn't that is already given with use-package and package using
tarballs?
>> [...] All I want to understand is the motivation behind this feature
>> in the first place.
>
> One use-case is to let package developers to distribute thier packages
> without a package archive. Or more precisely, to let users conveniently
> install packages that are not in a package archive.
Hmm, I had not considered this use-case. I think that if we combine
this with falling back to :last-release by default, this could be a good
way to solve this problem.
--
Philip Kaludercic
This bug report was last modified 2 years and 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.