Ihor Radchenko <[email protected]> writes:

>> But there are certainly other ways to install the git version, via the
>> git package managers (Elpaca, Straight, package-vc, ...). These package
>> managers have to make sure to not accidentally install the vendored
>> Compat. Do these tools blindly install every *.el file, or only files in
>> the lisp/ directory? If they only install lisp/, then there shouldn't be
>> a problem if you place the Compat code in vendor/compat/?
>
> I think straight only installs from root directory by default and
> explicitly from lisp/ for Org recipe. So, it should not be a
> problem. Just like org-test.el is not a problem.

Sounds good then.

Also in my opinion it would be reasonable to simply not solve the
"offline problem", if at the same time the "make clean" action is
adjusted to not delete cached dependencies. Only if you execute "make
clean-and-also-delete-cached-dependencies-please" these will be deleted
too, and it would be obvious to the user what is going to happen. If you
also want to protect against "git clean" you could install the
dependencies outside the repository, e.g., in $XDG_CACHE_HOME/org-dev-deps/.

Daniel

Reply via email to