Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[github] Tweak PR template #20381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 13, 2016
Merged

[github] Tweak PR template #20381

merged 1 commit into from
Dec 13, 2016

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Nov 2, 2016

Q A
Branch? 2.7
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Related to #20295

<!--
- Features and deprecations should be submitted against the master branch
- Bug fixes should be submitted against the lowest branch where they apply
(lowest branches are regularly merged to upper ones so they get the fixes too)
Copy link
Member Author

@nicolas-grekas nicolas-grekas Nov 2, 2016

Choose a reason for hiding this comment

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

we have to give this explanation too often, let's add it upfront

@@ -1,11 +1,18 @@
<!--
- Please edit this template according to the PR you're about to submit
- Features and deprecations should be submitted against the master branch
Copy link
Member

Choose a reason for hiding this comment

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

should be -> must be

Copy link
Member Author

Choose a reason for hiding this comment

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

updated

- Please fill in this template according to the PR you're about to submit
- Features and deprecations must be submitted against the master branch
- Bug fixes must be submitted against the lowest branch where they apply
(lowest branches are regularly merged to upper ones so they get the fixes too)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add full stops at the end of the sentences? I was reading it like one big sentence and it felt off

Copy link
Member Author

Choose a reason for hiding this comment

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

added

| Q | A
| ------------- | ---
| Branch? | "master" for new features / 2.7, 2.8 or 3.1 for fixes
Copy link
Contributor

@ogizanagi ogizanagi Nov 2, 2016

Choose a reason for hiding this comment

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

Would wrapping the placeholders in a comment be relevant, in order to simply have to type value in front of it, instead of removing the whole thing everytime ?

-| Branch?       | master / 2.7, 2.8 or 3.1 (see comment)
+| Branch?       | <!-- master / 2.7, 2.8 or 3.1 (see comment) -->

Copy link
Member Author

@nicolas-grekas nicolas-grekas Nov 2, 2016

Choose a reason for hiding this comment

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

Bad idea IMHO: makes more things to remove, both for newcomers and oldcomers. And failling to remove the surrounding <!-- --> will make the field blank. And you know this will happen :)

Copy link
Contributor

@ogizanagi ogizanagi Nov 2, 2016

Choose a reason for hiding this comment

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

No need for removing it actually. Having this as a comment (as for the top comment you added in this PR) allows to simply keep it, and just type the value in front of it.
Having the field blank by mistake is probably not worse than having the full placeholder displayed 😅

(but as for the top comment, it'll appear in the merge commit description :/)

Copy link
Contributor

Choose a reason for hiding this comment

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

How about moving the top comment below then ?

Copy link
Contributor

@ro0NL ro0NL Nov 2, 2016

Choose a reason for hiding this comment

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

Wild idea: use github's base branch, drop this field and mention the supported branches with a comment...

@nicolas-grekas nicolas-grekas force-pushed the pr-tpl branch 5 times, most recently from 9916b15 to 1f7b416 Compare November 2, 2016 10:27
@wouterj
Copy link
Member

wouterj commented Nov 2, 2016

I don't like the comments. PR templates should be templates. Contributing guidelines should be described in CONTRIBUTING.md or the Symfony Contribution Guide in the docs.

If it turns out people don't read that doc, simply adding a small link to it seems better than duplicating contributing guidelines in so many places imo.

@nicolas-grekas
Copy link
Member Author

If it turns out people don't read that doc

that is already proven, and I suggest trying with a comment here instead, see if it makes things better.

@nicolas-grekas
Copy link
Member Author

Comment moved to the bottom

@nicolas-grekas nicolas-grekas force-pushed the pr-tpl branch 3 times, most recently from 516cd94 to 6f87939 Compare November 3, 2016 09:50
@jakzal
Copy link
Contributor

jakzal commented Nov 10, 2016

👍 let's see if this improves PR descriptions

@xabbuh
Copy link
Member

xabbuh commented Nov 10, 2016

👍 let's try it

@fabpot
Copy link
Member

fabpot commented Nov 10, 2016

I like @wouterj suggestion to add a link to the CONTRIBUTOR guide.

@nicolas-grekas nicolas-grekas force-pushed the pr-tpl branch 2 times, most recently from d21d57c to 63bd6d2 Compare November 21, 2016 09:00
@nicolas-grekas
Copy link
Member Author

nicolas-grekas commented Nov 21, 2016

The link to contributing is already there in the UI:

capture du 2016-11-21 10-09-29

@nicolas-grekas nicolas-grekas force-pushed the pr-tpl branch 3 times, most recently from b867d66 to 06aa298 Compare November 21, 2016 09:12
@nicolas-grekas nicolas-grekas added this to the 3.2 milestone Nov 23, 2016
@fabpot fabpot removed this from the 3.2 milestone Nov 24, 2016
@nicolas-grekas nicolas-grekas added this to the 2.7 milestone Dec 6, 2016
@fabpot
Copy link
Member

fabpot commented Dec 13, 2016

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 2acaf5f into symfony:2.7 Dec 13, 2016
fabpot added a commit that referenced this pull request Dec 13, 2016
This PR was merged into the 2.7 branch.

Discussion
----------

[github] Tweak PR template

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Related to #20295

Commits
-------

2acaf5f [github] Tweak PR template
@nicolas-grekas nicolas-grekas deleted the pr-tpl branch December 13, 2016 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.