Skip to content
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

Improve pull request description template #503

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
<!-- Thank you for submitting a pull request! -->
<!-- Provide an overview of the PR for maintainers and reviewers. -->
<!-- Thank you for submitting a pull request! Find more information
at https://trino.io/development/process.html,
at https://trinodb.github.io/trino-gateway/development/#contributing
Comment on lines +2 to +3
Copy link
Member

Choose a reason for hiding this comment

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

It's hard to copy these link. Ideally, it shouldn't have a leading at or a following ,.

Copy link
Member

Choose a reason for hiding this comment

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

I was talking to @wendigo in trino PR .. maybe we change these all to markdown outside the comment and at the end of the template.. then the links render properly. Wdyt @ebyhr

Copy link
Member

Choose a reason for hiding this comment

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

I can send a follow up PR here or in Trino repo

and contact us on #trino-gateway-dev in Slack. -->
<!-- Provide an overview for maintainers and reviewers. -->
## Description



<!-- Provide details that would help an engineer who is unfamiliar with this part of the code. -->
<!-- Provide details that help an engineer who is unfamiliar with this part of the code. -->
## Additional context and related issues



<!-- Mark the appropriate option with an (x). Propose a release note if you can. -->
<!-- Mark the appropriate option with an (x). Propose a release note if you can.
More info at https://trino.io/development/process#release-note -->
## Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:
- ( ) This is not user-visible or is docs only, and no release notes are
required.
Comment on lines +19 to +20
Copy link
Member

@ebyhr ebyhr Oct 2, 2024

Choose a reason for hiding this comment

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

Unwrap.

Copy link
Member

Choose a reason for hiding this comment

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

- ( ) Release notes are required. Please propose a release note for me.
- ( ) Release notes are required, with the following suggested text:

```markdown
*
## Section
Copy link
Member

Choose a reason for hiding this comment

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

I don't think "Section" is helpful in this project.

* Fix some things. ({issue}`issuenumber`)
Copy link
Member

@ebyhr ebyhr Oct 3, 2024

Choose a reason for hiding this comment

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

This format doesn't work well in this project. The existing release note format is

* xxx. ([#prnumber](https://github.com/trinodb/trino-gateway/pull/prnumber))
or
* xxx. ([#issuenumber](https://github.com/trinodb/trino-gateway/issue/issuenumber))

https://raw.githubusercontent.com/trinodb/trino-gateway/refs/heads/main/docs/release-notes.md

```