bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#63757: 29.0.91 order of package paths changed: random old versions o


From: Philip Kaludercic
Subject: bug#63757: 29.0.91 order of package paths changed: random old versions of packages in load-path
Date: Sun, 04 Jun 2023 18:40:11 +0000

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Together with the sorting patch from above, it seems this would also
>> work for VC packages, since "foo" is always listed before "foo-...".
>
> The `directory-files` sort should make no difference since its output is
> fed to the sort of `package-process-define-package`.

Just to make sure I am not missing something in that case:
package-load-all-descriptors reads package descriptors either in
alphabetical order or in the order the operating system will list them
in the elpa/ directory.  Via package-load-descriptor, the descriptor
expression is passed to the package-process-define-package, which will
insert them into package-alist according to the version number.

If this is so, then if the package developer does not bump the commit to
something else after releasing the package on GNU ELPA, then order of
the VC package vs. the tarball package would depend on order in which
they are returned from via `directory-files', since their version
according to `version-list-=' would be the same?
                         
-- 
Philip Kaludercic





reply via email to

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