mickeynp / combobulate

Structured Editing and Navigation in Emacs with Tree-Sitter
GNU General Public License v3.0
935 stars 54 forks source link

Installation failures when using quelpa #121

Open malcolmpurvis opened 1 week ago

malcolmpurvis commented 1 week ago

This isn't bug per-se but I thought that I should document this in case someone else is impacted by it.

Installing recent versions of combobulate with quelpa can fail with the following error:

fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:mickeynp/html-ts-mode.git' into submodule path '~/.emacs.d/quelpa/build/combobulate/tests/html-ts-mode' failed

This is because quelpa will clone the combobulate repo and its submodules as part of the install process and the submodule is referenced with a git URI. If the host machine is not configured for GitHub access the install will fail.

The solution is to use the vc support in package.el which doesn't check out submodules:

(use-package combobulate
  :vc ( :url "https://github.com/mickeynp/combobulate"
    :rev :newest)

No changes to combobulate are required.

mickeynp commented 1 week ago

As Emacs 30 is approaching, and because it has an html-ts-mode built in now, I can probably deprecate that as it is only used for testing.

Thanks for raising it.