emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reconsider defaults for use-package-vc-prefer-newest


From: Philip Kaludercic
Subject: Re: Reconsider defaults for use-package-vc-prefer-newest
Date: Fri, 20 Sep 2024 20:43:27 +0000

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Philip Kaludercic <philipk@posteo.net>
>> Cc: suhailsingh247@gmail.com,  meedstrom@runbox.eu,  emacs-devel@gnu.org,
>>   tonyzorman@mailbox.org
>> Date: Fri, 20 Sep 2024 15:14:26 +0000
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> >> This is the fix:
>> >
>> > Can you explain in plain English what this does?
>> 
>> Sure, each package has a description object (search for "(cl-defstruct
>> (package-desc" in package.el), with some fixed attributes like name,
>> version, dependencies and others that are stored in an alist.  The
>> commit used to create a package is one such attribute stored in the
>> "extras" slot of a package-desc.  My chance modifies the package
>> description given by the ELPA server and updates the :commit field to
>> store the commit that was checked out when the package was built
>> locally.  I hope that is clear enough?
>
> Yes, thanks.  What was the :commit field storing before the change?

The commit the ELPA build server used to release a new version of the
package.  M-x list-packages lists the commit of the local checkout for
VC packages, btw.  I could have sworn that M-x describe-package did the
same.

-- 
        Philip Kaludercic on siskin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]