Skip to content

Conversation

@abravalheri
Copy link
Contributor

@abravalheri abravalheri commented Nov 13, 2024

This is a follow up on a discussion on PyPA discord.
The hope is that having some mandatory fields will reduce the amount of spam or at least confuse a little bit the bots.

I am using the text I am aware that participants in this repository must follow the PSF Code of Conduct, instead of I agree to follow the PSF Code of Conduct, just to workaround some criticism we received in the past (e.g. https://discuss.python.org/t/what-to-do-with-contributors-who-refuse-code-of-conduct/13287).

Pretty much everything can be changed, this is just a initial draft to get things started.

I haven't been able to double check this renders correctly (so it may have problems). Possibly a maintainer also have access to Github UI to do this.

@webknjaz
Copy link
Member

webknjaz commented Nov 13, 2024

@abravalheri https://github.com/abravalheri/packaging.python.org/blob/issue-templates/.github/ISSUE_TEMPLATE/general.yml is supposed to render it, but there's syntax errors.

I'd start by inheriting https://github.com/pypi/support/blob/c38e8a9/.github/ISSUE_TEMPLATE/limit-request-file.yml?plain=1#L89-L98.

id: is not necessary to my knowledge, I'm not sure where that is coming from in some examples. required is a validator.

I think it might be beneficial to surface a paragraph of the CoC explanation at the beginning: https://github.com/aio-libs/propcache/blob/73fc000/.github/ISSUE_TEMPLATE/bug_report.yml#L7-L36.

@abravalheri
Copy link
Contributor Author

@abravalheri https://github.com/abravalheri/packaging.python.org/blob/issue-templates/.github/ISSUE_TEMPLATE/general.yml is supposed to render it, but there's syntax errors.

Thank you very much @webknjaz, that is a good tip for checking the rendering, haven't thought about it.

I tried to follow more or less some of your suggestions in the newest changes.

Copy link
Member

@ncoghlan ncoghlan left a comment

Choose a reason for hiding this comment

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

Thanks! I'm going to go ahead and merge this to see if it cuts down on the spam.

@ncoghlan ncoghlan added this pull request to the merge queue Nov 13, 2024
Merged via the queue into pypa:main with commit 3dc5d16 Nov 13, 2024
5 checks passed
@abravalheri abravalheri deleted the issue-templates branch November 13, 2024 23:04
Copy link

@Yek666 Yek666 left a comment

Choose a reason for hiding this comment

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

transferencia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants