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

chore: add new issue and PR templates according to the new spec process #516

Merged
merged 7 commits into from
Mar 19, 2021

Conversation

fmvilas
Copy link
Member

@fmvilas fmvilas commented Mar 16, 2021

Description

This PR removes the previous issue templates and creates a new one for issues and another for pull requests. They give you hints on how to contribute according to the new spec process.

Related issues

#511

@fmvilas fmvilas added the 🐝 Process Related to Governance, Tools, or other meta work label Mar 16, 2021
@aayushmau5
Copy link
Member

aayushmau5 commented Mar 16, 2021

Is it feasible to do the PR template as a checkbox and Q/A thing? Like for example:


  • Have you read the PR guidelines?
  • Describe your PR:
    answer
  • Issue related
    #issue no.

I feel like this kind of thing forces people to actually read the PR guidelines, and helps with the PR format.

OR is it how the spec does it? If it is, please ignore my idea.

@fmvilas
Copy link
Member Author

fmvilas commented Mar 16, 2021

This is more or less what we have right now but after triaging some issues it probably still makes sense to have this format of Q/A 👍

@fmvilas
Copy link
Member Author

fmvilas commented Mar 16, 2021

What about now? Many more options 😅

@aayushmau5
Copy link
Member

Yeah, that's good 😆


Before creating your issue:

* **Have a question?** Find community resources at [asyncapi/community](https://github.com/asyncapi/community).
Copy link
Member

Choose a reason for hiding this comment

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

you have some plans to extend https://github.com/asyncapi/community with some resources? maybe better link here asyncapi/community#1 ?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's a good point. I'll change it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed!

@@ -0,0 +1,19 @@
---
name: 💡 Proposal (RFC 1)
Copy link
Member

Choose a reason for hiding this comment

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

did you check how those templates and prs would show up? on some test repo? Last time I checked GH supported only one PR template

Copy link
Member Author

Choose a reason for hiding this comment

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

No, I haven't. And thanks for bringing the comment up. This file is wrong. It says "strawman" but in fact, it's a proposal RFC 1.

Copy link
Member

Choose a reason for hiding this comment

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

You can choose the template to use by adding the ?template=issue_template.md. Unfortunately, there is no UI for that yet.

More info at https://docs.github.com/en/github/managing-your-work-on-github/about-automation-for-issues-and-pull-requests-with-query-parameters#supported-query-parameters

Copy link
Member Author

Choose a reason for hiding this comment

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

Replaced Proposal (RFC 1) with Strawman (RFC 0).

Copy link
Member

Choose a reason for hiding this comment

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

@smoya how would it work with PR, no example in docs? I think we need one template with all sections and contributor just need to leave the one that is relevant

Copy link
Member

Choose a reason for hiding this comment

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

If it's gonna be always the same template, yes one should be enough. Otherwise you can also set a default one but also have more templates people can use (by adding the query parameter)

Copy link
Member

Choose a reason for hiding this comment

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

the thing is that if for now, the only way to use different PR templates is to use some mysterious query param, it is not very helpful. I mean who would even remember the names of templates anyway 🤷🏼 this is why better to consolidate all into one template that will always show up

Copy link
Member

Choose a reason for hiding this comment

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

Yup, makes sense as the ux doesnt help this time 👍

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, I'll remove them. It doesn't make sense with the PR workflow if there's no UI for that.

Copy link
Member Author

Choose a reason for hiding this comment

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

How about now?

Copy link
Member

@derberg derberg left a comment

Choose a reason for hiding this comment

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

:shipit:
but probably once the other PR is merged

Copy link
Member

@smoya smoya left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@fmvilas fmvilas merged commit 4ecabf3 into asyncapi:master Mar 19, 2021
@fmvilas fmvilas deleted the new-issue-and-pr-templates branch March 19, 2021 17:26
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@derberg
Copy link
Member

derberg commented May 24, 2021

It is actually not included in the release. This was an unintentional release caused by the release automation initial run. 1.0 version of the spec was released a long time ago. The release mentioned by the bot was removed.

@derberg derberg removed the released label May 24, 2021
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.0-2021-06-release.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@derberg
Copy link
Member

derberg commented Jun 15, 2021

Not included in release 2.1 yet, 2.1 was mistakenly triggered by our automation.

@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐝 Process Related to Governance, Tools, or other meta work released on @2021-06-release released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants