GNU bug report logs -
#69019
[PATCH] package-vc: scan the correct directory for lisp files
Previous Next
Reported by: Steven Allen <steven <at> stebalien.com>
Date: Sat, 10 Feb 2024 18:53:02 UTC
Severity: normal
Tags: patch
Done: Philip Kaludercic <philipk <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 69019 <at> debbugs.gnu.org (full text, mbox):
>> Following up on my previous patch (Bug#68761), we need to scan for
>> package requirements inside the lisp-dir (if set), not in the root
>> package directory.
>
> Looks good, do you have any specific examples where this caused
> problems?
pdf-tools puts all its files in a "lisp" dir, so they weren't getting
searched when scanning for dependencies. The package definition is:
(:url "https://github.com/vedang/pdf-tools/pulls"
:lisp-dir "lisp")
This patch causes package-vc to scan for dependencies in elisp files in
"$pkg-dir/lisp/", instead of looking for elisp files in "$pkg-dir/".
>> * lisp/emacs-lisp/package-vc.el (package-vc--unpack-1):
>> Scan 'lisp-dir', if set, for lisp files instead of scanning the root
>> package directory.
>
> Just note that the convention of the commit message logs is not to
> indent the lines here. I can take care of that.
I did not, thanks!
This bug report was last modified 1 year and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.