Skip to content

Commit fc8b9fa

Browse files
authored
Clone repos using https:// not git:// (#1597)
GitHub no longer supports the git:// protocol: https://github.blog/2021-09-01-improving-git-protocol-security-github/
1 parent 720c358 commit fc8b9fa

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

analysis/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ packages. To use it, add it as a Git dependency to your `pubspec.yaml`:
44
```yaml
55
dev_dependencies:
66
sass_analysis:
7-
git: {url: git://github.com/sass/dart-sass.git, path: analysis}
7+
git: {url:
8+
https://github.com/sass/dart-sass.git, path: analysis}
89
```
910
1011
and include it in your `analysis_options.yaml`:

pkg/sass_api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ released yet. Because this package directly re-exports names from the main
1919
dependency_overrides:
2020
sass:
2121
git:
22-
url: git://github.com/sass/sass
22+
url: https://github.com/sass/sass
2323
ref: main # Replace this with a feature branch if necessary
2424
sass_api:
2525
git:
26-
url: git://github.com/sass/sass
26+
url: https://github.com/sass/sass
2727
ref: main # Make sure this is the same as above!
2828
path: pkg/sass_api
2929
```

tool/grind/frameworks.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Future<void> fetchBulma() => _getLatestRelease('jgthms/bulma');
3131
/// If [pattern] is passed, this will clone the latest release that matches that
3232
/// pattern.
3333
Future<void> _getLatestRelease(String slug, {Pattern? pattern}) async {
34-
cloneOrCheckout('git://github.com/$slug',
34+
cloneOrCheckout('https://github.com/$slug',
3535
await _findLatestRelease(slug, pattern: pattern));
3636
}
3737

0 commit comments

Comments
 (0)