Live data from Hacker News

Issue and Pull Request templates

github.com

21–30 of 143 posts

Re: Issue and Pull Request templates

#21
There is already a way of doing this using the URL like: https://github.com/jamesRaybould/go-mssqldb/issues/new?body=...

You can then add it as a simple href to the readme.md.

It also means that you can have multiple templates depending on what a user wants to do, just by having multiple links and changing the content of the `body` parameter.

Simplest way to get going on this is to use http://urldecode.org to write the markdown you want and then hit the encode button, take the result and add it after `body=`

We also use it to auto-assign labels using `labels=` in the URL

Re: Issue and Pull Request templates

#24

There is already a way of doing this using the URL like: https://github.com/jamesRaybould/go-mssqldb/issues/new?body=... You can then add it as a simple href to the readme.md. It also means that you can have multiple templates depending on what a user wants to do, just by having multiple links and changing the content of the `body` parameter. Simplest way to get going on this is to use http://urldecode.org to write t…

Nice! Is this documented anywhere?

Re: Issue and Pull Request templates

#25

There is already a way of doing this using the URL like: https://github.com/jamesRaybould/go-mssqldb/issues/new?body=... You can then add it as a simple href to the readme.md. It also means that you can have multiple templates depending on what a user wants to do, just by having multiple links and changing the content of the `body` parameter. Simplest way to get going on this is to use http://urldecode.org to write t…

Doesn't this inadvertently give users access to something they might not otherwise have? That is, the ability to add labels on issues. Might not really be a security concern, but not really desirable behaviour either.

Re: Issue and Pull Request templates

#26

There is already a way of doing this using the URL like: https://github.com/jamesRaybould/go-mssqldb/issues/new?body=... You can then add it as a simple href to the readme.md. It also means that you can have multiple templates depending on what a user wants to do, just by having multiple links and changing the content of the `body` parameter. Simplest way to get going on this is to use http://urldecode.org to write t…

Do you get many issues that don't use your template because people go to /issues and click the new issue button? When I create an issue with a project, I typically don't a link in readme.md.

Re: Issue and Pull Request templates

#28

Great job! Next item, be able to star issues. That would help a lot and we are able to avoid +1 comments.

Seems like this one is solved by showing the number of subscribers to an issue. I don't think this really needs to be a separate feature.

Yes. When you subscribe to an issue you show that you are at least interested enough to receive notifications about it.

Re: Issue and Pull Request templates

#29

Great job! Next item, be able to star issues. That would help a lot and we are able to avoid +1 comments.

Seems like this one is solved by showing the number of subscribers to an issue. I don't think this really needs to be a separate feature.

I don't think showing number of subscribers is a good selection of if that subscriber supports the issue. It could just mean they want to see what's going on before they weigh in.

I watch a lot of repos, therefore I'm automatically subscribed to all and new issues, that'd show me as supporting everything.

Re: Issue and Pull Request templates

#30

There is already a way of doing this using the URL like: https://github.com/jamesRaybould/go-mssqldb/issues/new?body=... You can then add it as a simple href to the readme.md. It also means that you can have multiple templates depending on what a user wants to do, just by having multiple links and changing the content of the `body` parameter. Simplest way to get going on this is to use http://urldecode.org to write t…

Do you get many issues that don't use your template because people go to /issues and click the new issue button? When I create an issue with a project, I typically don't a link in readme.md.

Admittedly we use it on private repos so we haven't seen an issue with it, but there isn't anything from stopping you putting the link in other places
Post reply on HN