Skip to content

Conversation

@itsjustkevin
Copy link
Contributor

This PR contains the following:

  • Refactor to preface global variables making it easier to understand where variable definitions are coming from.
  • Move multiline post release steps to a constant as they are not reused elsewhere.

@flutter-dashboard flutter-dashboard bot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Jun 15, 2022
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@itsjustkevin itsjustkevin requested review from XilaiZhang and muditatandon and removed request for christopherfujino June 15, 2022 15:41
Copy link
Contributor

@XilaiZhang XilaiZhang left a comment

Choose a reason for hiding this comment

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

Overall LGTM. Thanks for cleaning up!

import 'package:platform/platform.dart';

import './globals.dart';
import './globals.dart' as globals;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: umm yeah I think this would cause variables and functions to be prefixed with globals.variables. just more typings in my opinion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is a fair assessment. My reasoning behind prefixing is to make it easier to find out where the variables are coming from. It is also consistent with some of the other prefixes.

Copy link
Contributor

Choose a reason for hiding this comment

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

umm looking at repository/start/next/state/clean.dart they seem to be not prefixed. Is our plan going forward to prefix them as well? I can RSLGTM

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah personally i d prefer without the prefix but its really nit

@itsjustkevin itsjustkevin requested a review from XilaiZhang June 15, 2022 17:56
Copy link
Contributor

@XilaiZhang XilaiZhang left a comment

Choose a reason for hiding this comment

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

RSLGTM

@itsjustkevin itsjustkevin merged commit a7ddb9b into flutter:master Jun 15, 2022
@itsjustkevin itsjustkevin deleted the conductor_post-release_comms branch June 15, 2022 18:14
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 16, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jun 16, 2022
camsim99 pushed a commit to camsim99/flutter that referenced this pull request Aug 10, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 30, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: contributor-productivity Team-specific productivity, code health, technical debt.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants