Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Reorder the checkboxes in the PR template #3666

Merged
merged 1 commit into from
Mar 13, 2021
Merged

Reorder the checkboxes in the PR template #3666

merged 1 commit into from
Mar 13, 2021

Conversation

Hixie
Copy link
Contributor

@Hixie Hixie commented Mar 2, 2021

...so that they are listed in more or less the likely order that people will do them in.

Pre-launch Checklist

  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
  • I updated CHANGELOG.md to add a description of the change.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

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

...so that they are listed in more or less the likely order that people will do them in.
@google-cla google-cla bot added the cla: yes label Mar 2, 2021
Copy link
Contributor

@stuartmorgan stuartmorgan left a comment

Choose a reason for hiding this comment

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

LGTM. Some optional thoughts.

(I'm curious whether you've found the checklist to actually be effective as a checklist; my experience has been that people mostly just check all the boxes whether they've done them or not. E.g., my impression from triage in this repo is that most PRs that don't list an issue have the box checked for listing an issue.)

- [ ] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
- [ ] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
- [ ] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides].
- [ ] I signed the [CLA].
Copy link
Contributor

Choose a reason for hiding this comment

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

New contributors generally do this after creating the PR since that's when the bot tells them to. I'm not sure whether the ordering is intended to be new or established contributors; I would have thought the former since for established contributors the checklist is much more rote.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well to be frank I put the order in the order that I usually complete them, but in any case, wouldn't the order be the same here for new or established contributors? New ones should hopefully read the contributor guide first, then the other two, before they write their PR, and certainly before they get it reviewed, but they don't need to sign the CLA until it's ready to land, really. And established contributors have already done all four.

- [ ] I listed at least one issue that this PR fixes in the description above.
- [ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
- [ ] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
- [ ] I updated CHANGELOG.md to add a description of the change.
Copy link
Contributor

Choose a reason for hiding this comment

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

I would probably put these two last.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well until you update the changelog, the tests can't pass, so I figured the tests one had to go last, and then for thematic consistency I put the other test one with it...

Copy link
Contributor

Choose a reason for hiding this comment

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

There's only a failure from not updating the CHANGELOG of you update the version, so as long as these two stay together it won't affect tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Surely the checkbox for "all the tests pass" has to go last though? Since as soon as you make any change the tests have to run again, so you can't know if the tests have passed yet? Seems like by definition you have to check the "changelog" one before the "tests" one...

Anyway I don't feel strongly about this at all, I'm happy to defer to whatever order you'd like to see. Let me know what order you want it in and I'll land that. :-)

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess that makes sense. LGTM as-is.

@Hixie
Copy link
Contributor Author

Hixie commented Mar 5, 2021

(I'm curious whether you've found the checklist to actually be effective as a checklist; my experience has been that people mostly just check all the boxes whether they've done them or not. E.g., my impression from triage in this repo is that most PRs that don't list an issue have the box checked for listing an issue.)

I would take that as a sign that the person isn't reading our contributing materials and treat the PR accordingly (e.g. close it with a polite comment saying that it seems the instructions were not followed).

I originally found these templates annoying but after the recent edits to make them more streamlined I've ended up finding I do use them, they're a useful way to make sure I remembered everything especially in repos I'm not frequently contributing to.

- [ ] I listed at least one issue that this PR fixes in the description above.
- [ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
- [ ] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
- [ ] I updated CHANGELOG.md to add a description of the change.
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess that makes sense. LGTM as-is.

@Hixie Hixie merged commit f7096d7 into master Mar 13, 2021
@Hixie Hixie deleted the Hixie-patch-1 branch March 13, 2021 07:23
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 15, 2021
yasargil added a commit to yasargil/plugins that referenced this pull request Mar 18, 2021
* master: (49 commits)
  Prep for alignment with Flutter analysis options (flutter#3703)
  [google_maps_flutter_platform_interface] Mark constructors as const for ids (flutter#3718)
  [image_picker] Endorse image_picker_for_web (flutter#3717)
  Add missing licenses, and add a check (flutter#3720)
  [ci] Add libgcrypt to Docker image. (flutter#3711)
  Reorder the checkboxes in the PR template (flutter#3666)
  Re-endorse connectivity_for_web (flutter#3708)
  Fix missing declaration of windows' default_package (flutter#3705)
  Typos in comments (flutter#2846)
  Skip flutter upgrade for pod linting Cirrus task (flutter#3700)
  [cross_file] Delete. (flutter#3698)
  [tool] Improve check version ci so that it enforces the version in CHANGELOG and pubspec matches. (flutter#3678)
  Streamline CI setup, and reenable macOS credits (flutter#3697)
  [video_player] fixed misleading size and aspect ratio documentation (flutter#3668)
  [image_picker] Implemented 2860 and added Unit Test to test functionality (flutter#3685)
  [shared_preferences] Fix concurrent modification of the shared preferences on Android (flutter#3684)
  [extension_google_sign_in_as_googleapis_auth] Deleted. (flutter#3694)
  Skip pod lint tests (flutter#3692)
  [Video_Player] Remove the deprecated API reference. (flutter#3669)
  [google_sign_in] fix test(flutter#3690)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants