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

Switch dependency Git URLs to HTTPS #1735

Merged
merged 2 commits into from
Jul 30, 2020
Merged

Switch dependency Git URLs to HTTPS #1735

merged 2 commits into from
Jul 30, 2020

Conversation

whymarrh
Copy link
Contributor

This PR switches all of the URLs of the Git dependencies to use HTTPS (git+https) from SSH (git+ssh). All of the dependencies are public and using git+ssh requires a key that has a valid GitHub account associated with it.

That is, this does not work:

$ docker run node:10 git ls-remote --tags --heads ssh://[email protected]/MetaMask/lottie-react-native.git | wc -l
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

This does work:

$ docker run node:10 git ls-remote --tags --heads https://github.com/MetaMask/lottie-react-native.git | wc -l
      39

All of the dependencies are public and using `git+ssh` requires a key that has
a valid GitHub account associated with it.

That is, this does not work:

```bash
$ docker run node:10 git ls-remote --tags --heads ssh://[email protected]/MetaMask/lottie-react-native.git | wc -l
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
```

This does work:

```bash
$ docker run node:10 git ls-remote --tags --heads https://github.com/MetaMask/lottie-react-native.git | wc -l
      39
```
@whymarrh whymarrh requested a review from a team as a code owner July 30, 2020 00:27
Copy link
Contributor

@rickycodes rickycodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me

@whymarrh whymarrh merged commit 56a0454 into develop Jul 30, 2020
@whymarrh whymarrh deleted the package-git-urls branch July 30, 2020 15:08
rickycodes pushed a commit that referenced this pull request Jan 31, 2022
All of the dependencies are public and using `git+ssh` requires a key that has
a valid GitHub account associated with it.

That is, this does not work:

```bash
$ docker run node:10 git ls-remote --tags --heads ssh://[email protected]/MetaMask/lottie-react-native.git | wc -l
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
```

This does work:

```bash
$ docker run node:10 git ls-remote --tags --heads https://github.com/MetaMask/lottie-react-native.git | wc -l
      39
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants