GNU bug report logs - #59120
29.0.50; [package-vc] Nowhere to find package-vc-archive-spec-alist

Previous Next

Package: emacs;

Reported by: Yuan Fu <casouri <at> gmail.com>

Date: Tue, 8 Nov 2022 09:53:01 UTC

Severity: normal

Found in version 29.0.50

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 59120 <at> debbugs.gnu.org (full text, mbox):

From: Philip Kaludercic <philipk <at> posteo.net>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 59120 <at> debbugs.gnu.org
Subject: Re: bug#59120: 29.0.50; [package-vc] Nowhere to find
 package-vc-archive-spec-alist
Date: Tue, 15 Nov 2022 18:58:08 +0000
Yuan Fu <casouri <at> gmail.com> writes:

>>> More over, it would be nice if the documentation of package-vc-install
>>> (docstring or manual) can explain how do I specify the branch when
>>> Using package-vc-install. From what I can see you can only specify the url
>>> and revision.
>> 
>> There is no explicit way to do this right now, besides switching to a
>> different branch after checking out the repository.
>> 
>> The only other thing you can do is provide a package specification, as
>> documented in `package-vc-selected-packages'.  That has a :branch
>> property.
>
> I wonder if I can define my own package archive, so that I can control
> everything easily, without setting up a full-blown archive with
> tarballs and a server. Because I’m not going to download any tarballs
> from the archive, and will only use package-vc-install on this
> personal archive. IOW a package archive that only provide package
> specs. Is that possible?

It should possible, you would have an empty archive-contents and an
elpa-packages.eld file containing all the specifications.  I haven't
tried it out though, so something might be broken -- but nothing that
can't be fixed.




This bug report was last modified 2 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.