From 26c1dec7ae2980395f44e7cf8fc9a14755c9f60a Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Fri, 29 May 2020 09:23:45 +0000 Subject: [PATCH] Fix a number of outdated URLs across a number of markdown files http -> https where appropriate dartlang.org -> dart.dev ...and others Change-Id: I996afdd63d0c743cbabf7d29ade9e36cc3536fe8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149340 Auto-Submit: Kevin Moore Reviewed-by: Michael Thomsen Commit-Queue: Michael Thomsen --- CONTRIBUTING.md | 10 +++++----- README.md | 4 ++-- docs/language/informal/assert-in-initializer-list.md | 2 +- docs/language/informal/optional-new-const.md | 8 ++++---- docs/newsletter/20170728.md | 2 +- docs/process/breaking-changes.md | 2 +- docs/process/experimental-flags.md | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 101dfb2696b..0d6142ef722 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ Want to contribute? Great! First, read this page (including the small print at t ## Ways you can contribute -You can help the Dart project in many ways, in addition to contributing code. For example, you can [report bugs](http://dartbug.com), ask and answer [Dart questions on StackOverflow](http://stackoverflow.com/questions/tagged/dart), and improve the documentation. +You can help the Dart project in many ways, in addition to contributing code. For example, you can [report bugs](https://dartbug.com), ask and answer [Dart questions on StackOverflow](https://stackoverflow.com/questions/tagged/dart), and improve the documentation. If you'd like to improve the documentation, you have three options: @@ -69,7 +69,7 @@ Upload the patch for review: git cl upload -s ``` -The above command returns a URL for the review. Attach this review to your issue in http://dartbug.com +The above command returns a URL for the review. Attach this review to your issue in https://dartbug.com If you have commit access, when the review is done and the patch is good to go, submit the patch on https://dart-review.googlesource.com: @@ -84,7 +84,7 @@ git cl web # opens your review on https://dart-review.googlesource.com If you do not have commit access, a Dart engineer will commit on your behalf, assuming the patch is reviewed and accepted. -More detailed instructions for the `git cl` tools available on http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_creating_uploading_a_cl +More detailed instructions for the `git cl` tools available on https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_creating_uploading_a_cl ## For committers: Merging external contributions @@ -99,7 +99,7 @@ Once a patch gets an LGTM, it's easy for a committer to merge it in. The source code of Dart follows the: * [Google C++ style guide](https://google.github.io/styleguide/cppguide.html) - * [Dart style guide](https://www.dartlang.org/articles/style-guide/) + * [Dart style guide](https://dart.dev/guides/language/effective-dart/style) You should familiarize yourself with those guidelines. @@ -114,6 +114,6 @@ All files in the Dart project must start with the following header. If you add a ## The small print -Contributions made by corporations are covered by a different agreement than the one above, the [Software Grant and Corporate Contributor License Agreement](http://code.google.com/legal/corporate-cla-v1.0.html). +Contributions made by corporations are covered by a different agreement than the one above, the [Software Grant and Corporate Contributor License Agreement](https://cla.developers.google.com/about/google-corporate). We pledge to maintain an open and welcoming environment. For details, see our [code of conduct](https://dart.dev/code-of-conduct). diff --git a/README.md b/README.md index 27cbb2bdcba..4b4ee5ba74b 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,8 @@ You can also contribute patches, as described in [Contributing][contrib]. [website]: https://dart.dev [license]: https://github.com/dart-lang/sdk/blob/master/LICENSE [repo]: https://github.com/dart-lang/sdk -[lang]: https://www.dartlang.org/docs/dart-up-and-running/ch02.html -[tools]: https://www.dartlang.org/tools/ +[lang]: https://dart.dev/guides/language/language-tour +[tools]: https://dart.dev/tools [codelab]: https://dart.dev/codelabs [dartbug]: http://dartbug.com [contrib]: https://github.com/dart-lang/sdk/blob/master/CONTRIBUTING.md diff --git a/docs/language/informal/assert-in-initializer-list.md b/docs/language/informal/assert-in-initializer-list.md index 38e523dc3be..6fb33d6a81d 100644 --- a/docs/language/informal/assert-in-initializer-list.md +++ b/docs/language/informal/assert-in-initializer-list.md @@ -7,7 +7,7 @@ Version 1.1 (2017-06-08) [`609d26a`](https://github.com/dart-lang/sdk/commit/609d26a2274ccde0f74725f4df7e081ebc8ea020); this document is now background material. -(See: http://dartbug.com/24841, http://dartbug.com/27141) +(See: https://dartbug.com/24841, https://dartbug.com/27141) In some cases, you want to validate your inputs before creating an instance, even in a const constructor. To allow that, we have tested the possibility of allowing assert statements in the initializer list of a generative constructor. diff --git a/docs/language/informal/optional-new-const.md b/docs/language/informal/optional-new-const.md index 8e100a723ba..e249a63cc07 100644 --- a/docs/language/informal/optional-new-const.md +++ b/docs/language/informal/optional-new-const.md @@ -47,7 +47,7 @@ To allow all const constructor invocations to omit the `const`, the grammar need This syntax will only apply to unprefixed constructor invocations (at least unless we also introduce type-instantiated generic method tear-offs). ### Prior discussion -See http://dartbug.com/4046 and https://github.com/lrhn/dep-const/blob/master/proposal.md +See https://dartbug.com/4046 and https://github.com/lrhn/dep-const/blob/master/proposal.md The syntax for a constructor call is less ambiguous now than when these proposals were drafted, because generic methods have since been added to the language. The language has already decided how to resolve parsing of the otherwise ambiguous `Bar(Foo(42))`. @@ -103,7 +103,7 @@ Having optional `new` means that changing a static method to be a constructor is ### Prior discussion -See: http://dartbug.com/5680, http://dartbug.com/18241, http://dartbug.com/20750. +See: https://dartbug.com/5680, https://dartbug.com/18241, https://dartbug.com/20750. ### Informal specification @@ -258,7 +258,7 @@ This feature is more invasive and complicated than the previous three. If this f ### Prior discussion -See: [issue 18241](http://dartbug.com/18241) +See: [issue 18241](https://dartbug.com/18241) ### Informal specification @@ -338,7 +338,7 @@ The changes in this document allows `Foo` to occur: but doesn't allow `Foo` by itself, not even for the non-named constructor. -The syntax is available, and needs to be recognized in most settings anyway, so we could allow it as a type literal expression. That would allow the expression `List` to evaluate to the *Type* object for the class *List*. It's been a long time (refused) request: [issue 23221](http://dartbug.com/23221). +The syntax is available, and needs to be recognized in most settings anyway, so we could allow it as a type literal expression. That would allow the expression `List` to evaluate to the *Type* object for the class *List*. It's been a long time (refused) request: [issue 23221](https://dartbug.com/23221). The syntax will also be useful for instantiated generic method tear-off like `var intContinuation = future.then;` diff --git a/docs/newsletter/20170728.md b/docs/newsletter/20170728.md index d6a0c056735..a49cdb06bd9 100644 --- a/docs/newsletter/20170728.md +++ b/docs/newsletter/20170728.md @@ -93,7 +93,7 @@ As a first step, we will focus our attention on `docs/language` in the SDK repo. We will also be more aggressive in writing separate specs of features that aren't planned for immediate implementation, or store documents that aren't completely finished, yet. ### Resolved part-of -Resolved "part of"s have been implemented. (http://dartbug.com/20792) +Resolved "part of"s have been implemented. (https://dartbug.com/20792) In future versions of the Dart SDK it will be possible to use a URI to refer back from a part to its library: ``` dart diff --git a/docs/process/breaking-changes.md b/docs/process/breaking-changes.md index 274587256c8..b277e44bddd 100644 --- a/docs/process/breaking-changes.md +++ b/docs/process/breaking-changes.md @@ -43,7 +43,7 @@ abide by the following basic conditions: Compatibility is only considered between stable releases (i.e. releases from the [Dart stable -channel](https://www.dartlang.org/tools/sdk/archive#stable-channel)). +channel](https://dart.dev/tools/sdk/archive#stable-channel)). ## Breaking change notification diff --git a/docs/process/experimental-flags.md b/docs/process/experimental-flags.md index e0af8b27b64..9d319b4115d 100644 --- a/docs/process/experimental-flags.md +++ b/docs/process/experimental-flags.md @@ -4,8 +4,8 @@ The Dart SDK ships via a number of channels: -- Via the [Dart SDK](https://www.dartlang.org/tools/sdk#install) -- Via the [Flutter SDK](http://flutter.io) +- Via the [Dart SDK](https://dart.dev/get-dart#install) +- Via the [Flutter SDK](https://flutter.dev/) - Internally at Google via an internal channel Each of these channels use varying release calendars, and keeping these entirely