Skip to content

v4.6.2

Choose a tag to compare

@myurasov-nv myurasov-nv released this 05 Sep 09:28
· 8 commits to main since this release

Follow-up to v4.6.1, from QA feedback on the internal-repository support.

Fixed

  • An authentication failure is no longer reported as a missing ref. Pointing a component at a
    private repository without credentials produced git ref 'develop' was not found in ..., even
    though the branch existed - git simply could not authenticate. The two cases are now told apart and
    the message says which one happened, quoting git's own reason:

    could not read ref 'develop' in https://github.com/my-org/IsaacSim-Internal:
    fatal: could not read Username for 'https://github.com': terminal prompts disabled.
    The repository is private, does not exist, or is unreachable from here. ...
    

    The same applies when no ref is given and the newest release is being detected, which previously
    reported could not auto-detect the latest release.

  • The message now says how to authenticate from where the command actually runs. Inside the
    container neither the GitHub CLI nor your SSH keys are available, so a private repository needs its
    credentials in the URL. An SSH deploy key still works for the clone on the instance.

  • Credentials are kept out of the output. Git quotes the URL it tried, credentials included, and
    percent-decodes it on the way - a token in a repository URL is now masked in error messages and in
    --debug traces, in both spellings.

Notes

A private repository still needs its own access from the instance, which performs the real clone.
Passing the token in the URL covers both the pre-provisioning check and the clone. See "Installing
from a fork or an internal repository" in the README.

Fixes NVBug 6696514.

Full Changelog: v4.6.1...v4.6.2