[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [package-vc] Consider cleaning up files from install process
From: |
Stefan Monnier |
Subject: |
Re: [package-vc] Consider cleaning up files from install process |
Date: |
Wed, 20 Sep 2023 08:13:49 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> Well, I would expect it to act similarly to Quelpa:
>
> 1. Clone the git repo (shallowly, at least by default) to a directory
> (perhaps a temporary one, but at least one stored in the appropriate XDG
> cache directory, outside of user-emacs-directory).
>
> 2. Call package-install-file on that worktree.
>
> 3. The package ends up installed into package-user-dir as if it were
> installed with package-install from ELPA.
So that treats the Git repository as a sort of "distribution site for
tarball-like thingies". If you like it, use Quelpa (or argue for ELPA to
support other repository formats).
That's not the purpose of `package-vc`.
`package-vc`s purpose is to install the source so you can hack on it.
Stefan
Re: [package-vc] Consider cleaning up files from install process, Stefan Monnier, 2023/09/20