Skip to content

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

Merged
fmvilas merged 7 commits into
asyncapi:masterfrom
fmvilas:new-issue-and-pr-templates
Mar 19, 2021
Merged

fmvilas merged 7 commits into
asyncapi:masterfrom
fmvilas:new-issue-and-pr-templates

Conversation

@fmvilas

@fmvilas fmvilas commented Mar 16, 2021

Copy link
Copy Markdown
Contributor

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

aayushmau5 commented Mar 16, 2021 •

Copy link
Copy Markdown
Member

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

fmvilas commented Mar 16, 2021

Copy link
Copy Markdown
Contributor Author

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

fmvilas commented Mar 16, 2021

Copy link
Copy Markdown
Contributor Author

What about now? Many more options 😅

@aayushmau5

Copy link
Copy Markdown
Member

Yeah, that's good 😆

Comment thread .github/ISSUE_TEMPLATE.md Resolved
Comment thread .github/ISSUE_TEMPLATE/question.md Outdated

Before creating your issue:

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor 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
Copy Markdown
Contributor 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
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor 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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

How about now?

Comment thread .github/ISSUE_TEMPLATE.md Resolved
Comment thread .github/ISSUE_TEMPLATE.md Resolved

@derberg derberg left a comment

Copy link
Copy Markdown
Member

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

@smoya smoya left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 🚀

@sonarqubecloud

Copy link
Copy Markdown

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
Copy Markdown
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@derberg

derberg commented May 24, 2021

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
Contributor

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@derberg

derberg commented Jun 15, 2021

Copy link
Copy Markdown
Member

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

@asyncapi-bot

Copy link
Copy Markdown
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