GNU bug report logs -
#60923
29.0.60; package-vc-install: Allow specifying directories
Previous Next
Reported by: Mohammed Sadiq <sadiq <at> sadiqpk.org>
Date: Wed, 18 Jan 2023 04:25:01 UTC
Severity: normal
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
On 2023-02-14 21:29, Philip Kaludercic wrote:
>
> But perhaps I am misunderstanding you. What would be the point of
> removing the files from the installation directory?
My need was to avoid letting the code in test files never available
in Emacs (as defuns and such are not namespace separated, functions
written in tests may confuse with other functions)
But given that the entire source including the vc history is kept
as such, I don't think removing the file is for this purpose is
worth.
>
>>> package.el already supports ignoring the contents of a .elpaignore
>>> file,
>>> but all that does is remove a few files from the byte-compilation
>>> process.
>>
>> I tried installing pareedit, and it doesn't seem to work. I tried:
>> emacs --batch --eval='(package-vc-install
>> "https://github.com/emacsmirror/paredit.git")'
>
> (Is there a reason you specified a URL instead of the package?)
I just chose the URL of a popular project that has a .elpaignore file.
>
>> Also, since
>> it is installed, I'm able to access functions like
>> `paredit-test-failed'.
>
> Just like that or after loading the file?
After loading the file. `paredit-test-failed` is no big problem.
But some projects may define functions like `load-test-file` etc,
which may not be obvious where the function is defined unless the
documentation or its code is inspected.
But anyway, as suggested, I don't think it's worth to have a way to
remove specified files as the entire vc history is cloned and kept
locally. So please close the issue.
Sorry for the delayed response. I was away last month.
cheers,
Mohammed Sadiq
This bug report was last modified 2 years and 137 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.