Skip to content

Conversation

@Piinks
Copy link
Contributor

@Piinks Piinks commented Jun 1, 2024

Part of #145009

Finishes updating links in the repo that pointed to the old wiki

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@Piinks Piinks requested a review from christopherfujino as a code owner June 1, 2024 23:46
@github-actions github-actions bot added a: tests "flutter test", flutter_test, or one of our tests c: contributor-productivity Team-specific productivity, code health, technical debt. tool Affects the "flutter" command-line tool. See also t: labels. framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. a: internationalization Supporting other languages or locales. (aka i18n) f: integration_test The flutter/packages/integration_test plugin team-release d: docs/ flutter/flutter/docs, for contributors labels Jun 1, 2024
@flutter-dashboard

This comment was marked as outdated.

@flutter-dashboard flutter-dashboard bot added the will affect goldens Changes to golden files label Jun 2, 2024
@Piinks Piinks removed the will affect goldens Changes to golden files label Jun 2, 2024
Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM, but one question about main vs master.

description: >-
Explain this CP in less than 80 characters that is accessible to most Flutter developers
See https://github.com/flutter/flutter/wiki/Hotfix-Documentation-Best-Practices for examples
See https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md for examples
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we really want to link to main everywhere? Don't edits still have to be made to master, making it harder to edit if we link to main?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, this really annoyed me. I feel like if we put main, we're more likely to get PRs opened against main.
However, our analyzer script (only in flutter/flutter) enforces using main and does not allow master.

When I first put up this PR is was all master, and then I changed it to main to make CI happy. We don't do it that other repos. It feels like a footgun for contributors. 🤷

Copy link
Contributor

Choose a reason for hiding this comment

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

Weird! Hopefully our bot that changes branch targets will auto-fix that when people open PRs.

Copy link
Contributor

Choose a reason for hiding this comment

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

However, our analyzer script (only in flutter/flutter) enforces using main and does not allow master.

Can we change the script instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

However, our analyzer script (only in flutter/flutter) enforces using main and does not allow master.

Can we change the script instead?

Oh can we? It looks like it's fairly recent, added in #146882 as part of #121564. But if that issue is not actively being worked on, maybe we can revert this analyzer bit.

There is already quite a list of exempt repos.. because they don't have a main branch.

flutter/dev/bots/analyze.dart

Lines 1303 to 1320 in a92318d

const Set<String> repoExceptions = <String>{
'bdero/flutter-gpu-examples',
'chromium/chromium',
'clojure/clojure',
'dart-lang/test', // TODO(guidezpl): remove when https://github.com/dart-lang/test/issues/2209 is closed
'dart-lang/webdev',
'eseidelGoogle/bezier_perf',
'flutter/devtools', // TODO(guidezpl): remove when https://github.com/flutter/devtools/issues/7551 is closed
'flutter/flutter_gallery_assets', // TODO(guidezpl): remove when subtask in https://github.com/flutter/flutter/issues/121564 is complete
'flutter/flutter-intellij', // TODO(guidezpl): remove when https://github.com/flutter/flutter-intellij/issues/7342 is closed
'flutter/platform_tests', // TODO(guidezpl): remove when subtask in https://github.com/flutter/flutter/issues/121564 is complete
'flutter/web_installers',
'glfw/glfw',
'GoogleCloudPlatform/artifact-registry-maven-tools',
'material-components/material-components-android', // TODO(guidezpl): remove when https://github.com/material-components/material-components-android/issues/4144 is closed
'torvalds/linux',
'tpn/winsdk-10',
};

Copy link
Contributor

Choose a reason for hiding this comment

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

Lemme take a look

Copy link
Contributor

Choose a reason for hiding this comment

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

Added 'flutter/flutter' with a TODO and link to the tracking issue, which is currently unassigned

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Circling back on this, I won't change all of the instance of main in this PR, since that will put us in a mixed state with all the other main links we previously enforced. I'll send another PR that switches all instances back to master if that is what we'd like to do.

@Piinks Piinks added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 17, 2024
@auto-submit
Copy link
Contributor

auto-submit bot commented Jun 17, 2024

auto label is removed for flutter/flutter/149544, due to - The status or check suite Mac_arm64 framework_tests_misc has failed. Please fix the issues identified (or deflake) before re-applying this label.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 17, 2024
@Piinks Piinks added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 17, 2024
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 17, 2024
@auto-submit
Copy link
Contributor

auto-submit bot commented Jun 17, 2024

auto label is removed for flutter/flutter/149544, due to - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label.

@Piinks Piinks added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 17, 2024
@auto-submit auto-submit bot merged commit 62586dc into flutter:master Jun 17, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 17, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 17, 2024
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Jun 17, 2024
flutter/flutter@5187cab...ccf3abe

2024-06-17 [email protected] Roll Flutter Engine from 2218a4566765 to 5989f0215fed (9 revisions) (flutter/flutter#150373)
2024-06-17 [email protected] Update API docs footer (flutter/flutter#150347)
2024-06-17 [email protected] Update old wiki links (flutter/flutter#149544)
2024-06-17 [email protected] Fix flaky complex_layout_scroll_perf__memory  & flutter_gallery__memory_nav (flutter/flutter#150368)
2024-06-17 [email protected] Roll Packages from dd04ab1 to 711b4ac (3 revisions) (flutter/flutter#150359)
2024-06-17 [email protected] Roll Flutter Engine from 9779c273aac3 to 2218a4566765 (3 revisions) (flutter/flutter#150298)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: internationalization Supporting other languages or locales. (aka i18n) a: tests "flutter test", flutter_test, or one of our tests autosubmit Merge PR when tree becomes green via auto submit App c: contributor-productivity Team-specific productivity, code health, technical debt. d: docs/ flutter/flutter/docs, for contributors f: integration_test The flutter/packages/integration_test plugin f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants