Update old wiki links (#149544)
Part of https://github.com/flutter/flutter/issues/145009 Finishes updating links in the repo that pointed to the old wiki
This commit is contained in:
@@ -10,7 +10,7 @@ Flutter build results are available at:
|
||||
|
||||
Flutter infra requires special permissions to retrigger builds on the
|
||||
[build dashboard](https://flutter-dashboard.appspot.com/#/build). File an
|
||||
[infra ticket](https://github.com/flutter/flutter/wiki/Infra-Ticket-Queue) to
|
||||
[infra ticket](../../docs/infra/Infra-Ticket-Queue.md) to
|
||||
request permission.
|
||||
|
||||
The [Cirrus](https://cirrus-ci.org)-based bots run the [`test.dart`](test.dart)
|
||||
@@ -28,7 +28,7 @@ The build dashboard includes post-commit testing run on physical devices. See
|
||||
A [set of infra scripts](https://flutter.googlesource.com/recipes/)
|
||||
run on Windows, Linux, and Mac machines. The configuration for how many
|
||||
machines and what kind are managed internally by Google. File an
|
||||
[infra ticket](https://github.com/flutter/flutter/wiki/Infra-Ticket-Queue)
|
||||
[infra ticket](../../docs/infra/Infra-Ticket-Queue.md)
|
||||
to request new machine types to be added. Both of these technologies are highly
|
||||
specific to the [LUCI](https://github.com/luci) project, which is the successor
|
||||
to Chromium's infra and the foundation to Flutter's infrastructure.
|
||||
|
||||
@@ -557,7 +557,7 @@ Future<void> verifyNoSyncAsyncStar(String workingDirectory, {int minimumMatches
|
||||
}
|
||||
if (errors.isNotEmpty) {
|
||||
foundError(<String>[
|
||||
'${bold}Do not use sync*/async* methods. See https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#avoid-syncasync for details.$reset',
|
||||
'${bold}Do not use sync*/async* methods. See https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#avoid-syncasync for details.$reset',
|
||||
...errors,
|
||||
]);
|
||||
}
|
||||
@@ -624,7 +624,7 @@ Future<void> verifyGoldenTags(String workingDirectory, { int minimumMatches = 20
|
||||
if (errors.isNotEmpty) {
|
||||
foundError(<String>[
|
||||
...errors,
|
||||
'${bold}See: https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter$reset',
|
||||
'${bold}See: https://github.com/flutter/flutter/blob/main/docs/contributing/testing/Writing-a-golden-file-test-for-package-flutter.md$reset',
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -696,7 +696,7 @@ Future<void> verifyDeprecations(String workingDirectory, { int minimumMatches =
|
||||
message = messageMatch.namedGroup('message');
|
||||
final String firstChar = String.fromCharCode(message!.runes.first);
|
||||
if (firstChar.toUpperCase() != firstChar) {
|
||||
throw 'Deprecation notice should be a grammatically correct sentence and start with a capital letter; see style guide: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo';
|
||||
throw 'Deprecation notice should be a grammatically correct sentence and start with a capital letter; see style guide: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md';
|
||||
}
|
||||
} else {
|
||||
message += messageMatch.namedGroup('message')!;
|
||||
@@ -743,7 +743,7 @@ Future<void> verifyDeprecations(String workingDirectory, { int minimumMatches =
|
||||
if (errors.isNotEmpty) {
|
||||
foundError(<String>[
|
||||
...errors,
|
||||
'${bold}See: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes$reset',
|
||||
'${bold}See: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes$reset',
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -878,7 +878,7 @@ Future<void> verifySkipTestComments(String workingDirectory) async {
|
||||
if (errors.isNotEmpty) {
|
||||
foundError(<String>[
|
||||
...errors,
|
||||
'\n${bold}See: https://github.com/flutter/flutter/wiki/Tree-hygiene#skipped-tests$reset',
|
||||
'\n${bold}See: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#skipped-tests$reset',
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -1818,7 +1818,7 @@ Future<void> verifyNoBinaries(String workingDirectory, { Set<Hash256>? legacyBin
|
||||
'to which you need access, you should consider how to fetch it from another repository;',
|
||||
'for example, the "assets-for-api-docs" repository is used for images in API docs.',
|
||||
'To add assets to flutter_tools templates, see the instructions in the wiki:',
|
||||
'https://github.com/flutter/flutter/wiki/Managing-template-image-assets',
|
||||
'https://github.com/flutter/flutter/blob/main/docs/tool/Managing-template-image-assets.md',
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -2114,9 +2114,9 @@ Future<void> verifyTabooDocumentation(String workingDirectory, { int minimumMatc
|
||||
}
|
||||
if (errors.isNotEmpty) {
|
||||
foundError(<String>[
|
||||
'${bold}Avoid the word "simply" in documentation. See https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#use-the-passive-voice-recommend-do-not-require-never-say-things-are-simple for details.$reset',
|
||||
'${bold}Avoid the word "simply" in documentation. See https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#use-the-passive-voice-recommend-do-not-require-never-say-things-are-simple for details.$reset',
|
||||
'${bold}In many cases these words can be omitted without loss of generality; in other cases it may require a bit of rewording to avoid implying that the task is simple.$reset',
|
||||
'${bold}Similarly, avoid using "note:" or the phrase "note that". See https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#avoid-empty-prose for details.$reset',
|
||||
'${bold}Similarly, avoid using "note:" or the phrase "note that". See https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#avoid-empty-prose for details.$reset',
|
||||
...errors,
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
//
|
||||
// For documentation on creating sample code, see ../../examples/api/README.md
|
||||
// See also our style guide's discussion on documentation and sample code:
|
||||
// https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#documentation-dartdocs-javadocs-etc
|
||||
// https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
|
||||
//
|
||||
// This tool is used to analyze smaller snippets of code in the API docs.
|
||||
// Such snippets are wrapped in ```dart ... ``` blocks, which may themselves
|
||||
|
||||
@@ -66,14 +66,14 @@ void main() {
|
||||
.map((String line) {
|
||||
return line
|
||||
.replaceAll('/', Platform.isWindows ? r'\' : '/')
|
||||
.replaceAll('STYLE_GUIDE_URL', 'https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo')
|
||||
.replaceAll('STYLE_GUIDE_URL', 'https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md')
|
||||
.replaceAll('RELEASES_URL', 'https://flutter.dev/docs/development/tools/sdk/releases');
|
||||
})
|
||||
.join('\n');
|
||||
expect(result,
|
||||
'╔═╡ERROR #1╞════════════════════════════════════════════════════════════════════\n'
|
||||
'$lines\n'
|
||||
'║ See: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes\n'
|
||||
'║ See: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes\n'
|
||||
'╚═══════════════════════════════════════════════════════════════════════════════\n'
|
||||
);
|
||||
});
|
||||
@@ -92,7 +92,7 @@ void main() {
|
||||
expect(result.length, 4 + lines.length, reason: 'output had unexpected number of lines:\n${result.join('\n')}');
|
||||
expect(result[0], '╔═╡ERROR #1╞════════════════════════════════════════════════════════════════════');
|
||||
expect(result.getRange(1, result.length - 3).toSet(), lines.toSet());
|
||||
expect(result[result.length - 3], '║ See: https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter');
|
||||
expect(result[result.length - 3], '║ See: https://github.com/flutter/flutter/blob/main/docs/contributing/testing/Writing-a-golden-file-test-for-package-flutter.md');
|
||||
expect(result[result.length - 2], '╚═══════════════════════════════════════════════════════════════════════════════');
|
||||
expect(result[result.length - 1], ''); // trailing newline
|
||||
});
|
||||
@@ -187,7 +187,7 @@ void main() {
|
||||
'║ to which you need access, you should consider how to fetch it from another repository;\n'
|
||||
'║ for example, the "assets-for-api-docs" repository is used for images in API docs.\n'
|
||||
'║ To add assets to flutter_tools templates, see the instructions in the wiki:\n'
|
||||
'║ https://github.com/flutter/flutter/wiki/Managing-template-image-assets\n'
|
||||
'║ https://github.com/flutter/flutter/blob/main/docs/tool/Managing-template-image-assets.md\n'
|
||||
'╚═══════════════════════════════════════════════════════════════════════════════\n'
|
||||
);
|
||||
}
|
||||
|
||||
@@ -271,7 +271,7 @@ void _printLoudly(String message) {
|
||||
|
||||
// THE FOLLOWING CODE IS A VIOLATION OF OUR STYLE GUIDE
|
||||
// BECAUSE IT INTRODUCES A VERY FLAKY RACE CONDITION
|
||||
// https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#never-check-if-a-port-is-available-before-using-it-never-add-timeouts-and-other-race-conditions
|
||||
// https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#never-check-if-a-port-is-available-before-using-it-never-add-timeouts-and-other-race-conditions
|
||||
// DO NOT USE THE FOLLOWING FUNCTIONS
|
||||
// DO NOT WRITE CODE LIKE THE FOLLOWING FUNCTIONS
|
||||
// https://github.com/flutter/flutter/issues/109474
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Flutter Conductor
|
||||
|
||||
Command-line tool for managing a release of the Flutter SDK. Also see
|
||||
https://github.com/flutter/flutter/wiki/Release-process for more information on
|
||||
[Release Process](../../docs/releases/Release-process.md) for more information on
|
||||
the release process.
|
||||
|
||||
## Requirements
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// See: https://github.com/flutter/flutter/wiki/Release-process
|
||||
// See: https://github.com/flutter/flutter/blob/main/docs/releases/Release-process.md
|
||||
|
||||
import 'dart:io' as io;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// See: https://github.com/flutter/flutter/wiki/Release-process
|
||||
// See: https://github.com/flutter/flutter/blob/main/docs/releases/Release-process.md
|
||||
|
||||
export 'src/candidates.dart';
|
||||
export 'src/clean.dart';
|
||||
|
||||
@@ -16,7 +16,7 @@ const List<String> kBaseReleaseChannels = <String>['stable', 'beta'];
|
||||
|
||||
const List<String> kReleaseChannels = <String>[...kBaseReleaseChannels, FrameworkRepository.defaultBranch];
|
||||
|
||||
const String kReleaseDocumentationUrl = 'https://github.com/flutter/flutter/wiki/Flutter-Cherrypick-Process';
|
||||
const String kReleaseDocumentationUrl = 'https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md';
|
||||
|
||||
const String kLuciPackagingConsoleLink = 'https://ci.chromium.org/p/dart-internal/g/flutter_packaging/console';
|
||||
|
||||
@@ -29,13 +29,13 @@ const String flutterReleaseHotline =
|
||||
'https://mail.google.com/chat/u/0/#chat/space/AAAA6RKcK2k';
|
||||
|
||||
const String hotfixToStableWiki =
|
||||
'https://github.com/flutter/flutter/wiki/Hotfixes-to-the-Stable-Channel';
|
||||
'https://github.com/flutter/flutter/blob/main/docs/releases/Hotfixes-to-the-Stable-Channel.md';
|
||||
|
||||
const String flutterAnnounceGroup =
|
||||
'https://groups.google.com/g/flutter-announce';
|
||||
|
||||
const String hotfixDocumentationBestPractices =
|
||||
'https://github.com/flutter/flutter/wiki/Hotfix-Documentation-Best-Practices';
|
||||
'https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md';
|
||||
|
||||
final RegExp releaseCandidateBranchRegex = RegExp(
|
||||
r'flutter-(\d+)\.(\d+)-candidate\.(\d+)',
|
||||
|
||||
@@ -32,7 +32,7 @@ renderer (`--web-renderer=html`).
|
||||
More resources:
|
||||
|
||||
* chromedriver: https://chromedriver.chromium.org/getting-started
|
||||
* FlutterDriver: https://github.com/flutter/flutter/wiki/Running-Flutter-Driver-tests-with-Web
|
||||
* FlutterDriver: https://github.com/flutter/flutter/blob/main/docs/contributing/testing/Running-Flutter-Driver-tests-with-Web.md
|
||||
* `package:integration_test`: https://pub.dev/packages/integration_test
|
||||
|
||||
[1]: https://chromedriver.chromium.org/downloads
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Regenerates a Dart file with a class containing IconData constants.
|
||||
// See https://github.com/flutter/flutter/wiki/Updating-Material-Design-Fonts-&-Icons
|
||||
// See https://github.com/flutter/flutter/blob/main/docs/libraries/material/Updating-Material-Design-Fonts-%26-Icons.md
|
||||
// Should be idempotent with:
|
||||
// dart dev/tools/update_icons.dart --new-codepoints bin/cache/artifacts/material_fonts/codepoints
|
||||
|
||||
|
||||
Reference in New Issue
Block a user