Compare commits

..
Author SHA1 Message Date
Dr.Lt.Data 77a8fc0cdc An install by a git URL clones a repository that the registry lists
`cm-cli install <url>` and Install via Git URL asked the registry for the
latest version of the nodepack and unpacked its archive when the URL was of
a repository that the registry lists, since #1813 (3.32). The URL with
`@<commit>` was cloned.

- `gitclone_install` asks for the nightly of such a nodepack, which is a
  clone of its repository. A version of the registry that is enabled is
  disabled for the clone, as for any nightly install
- `_install_git` enables that version again when the clone fails. It
  disabled the version before the clone and left the nodepack with no
  enabled version, also for `<id>@nightly` and for a switch to nightly in
  Custom Nodes Manager
- `gitclone_install` passes `instant_execution` and `no_deps` on, which were
  dropped for such a repository, and the URL, which `install_by_id` now
  takes as `reinstall_by_id` does. The clone is of the URL that was given,
  also when the channel has another repository under the name of the nodepack
- `_get_git_install_url` takes the repository of a nightly from the registry
  when the channel does not list the nodepack. Without it that install fails
  with `Node '<id>@nightly' not found`, which #1813 avoided by asking for no
  version (#1812)
- `cm-cli reinstall` of a nightly clone that only the registry lists clones
  it again. The test that pinned `not found` for it now expects the clone
- Add tests: the URL of a repository that only the registry lists is cloned
  from a repository of the test with the flags of the caller, also over a
  version that is enabled or disabled, and the enabled version is enabled
  again when the clone fails
- Add a CHANGELOG entry
2026-12-05 21:11:48 +09:00

Diff Content Not Available