Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failures when using quelpa #121

Open
malcolmpurvis opened this issue Oct 31, 2024 · 1 comment
Open

Installation failures when using quelpa #121

malcolmpurvis opened this issue Oct 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@malcolmpurvis
Copy link

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 '[email protected]: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 mickeynp added the bug Something isn't working label Oct 31, 2024
@mickeynp
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants