Skip to content

Commit

Permalink
Clone repos using https:// not git:// (#1597)
Browse files Browse the repository at this point in the history
GitHub no longer supports the git:// protocol: https://github.blog/2021-09-01-improving-git-protocol-security-github/
  • Loading branch information
nex3 committed Jan 12, 2022
1 parent 720c358 commit fc8b9fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion analysis/README.md
Expand Up @@ -4,7 +4,8 @@ packages. To use it, add it as a Git dependency to your `pubspec.yaml`:
```yaml
dev_dependencies:
sass_analysis:
git: {url: git://github.com/sass/dart-sass.git, path: analysis}
git: {url:
https://github.com/sass/dart-sass.git, path: analysis}
```

and include it in your `analysis_options.yaml`:
Expand Down
4 changes: 2 additions & 2 deletions pkg/sass_api/README.md
Expand Up @@ -19,11 +19,11 @@ released yet. Because this package directly re-exports names from the main
dependency_overrides:
sass:
git:
url: git://github.com/sass/sass
url: https://github.com/sass/sass
ref: main # Replace this with a feature branch if necessary
sass_api:
git:
url: git://github.com/sass/sass
url: https://github.com/sass/sass
ref: main # Make sure this is the same as above!
path: pkg/sass_api
```
2 changes: 1 addition & 1 deletion tool/grind/frameworks.dart
Expand Up @@ -31,7 +31,7 @@ Future<void> fetchBulma() => _getLatestRelease('jgthms/bulma');
/// If [pattern] is passed, this will clone the latest release that matches that
/// pattern.
Future<void> _getLatestRelease(String slug, {Pattern? pattern}) async {
cloneOrCheckout('git://github.com/$slug',
cloneOrCheckout('https://github.com/$slug',
await _findLatestRelease(slug, pattern: pattern));
}

Expand Down

0 comments on commit fc8b9fa

Please sign in to comment.