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

Issue templates should forbid the use of third-party paste services #1977

Open
jellysquid3 opened this issue Aug 10, 2023 · 2 comments
Open
Labels
F-good-first-issue Flag: Good first issue for new contributors T-enhancement Type: Enhancement

Comments

@jellysquid3
Copy link
Member

Paste services contribute to significant "rot" on the issue tracker, for two reasons:

  • Most paste services will automatically delete uploads after some time, and even when they provide an option to keep the upload forever, most users do not enable it.

  • Paste services are (generally) not very reliable. Everyone has their favorites, most of them are hosted by unknown people, and few of them remain online for more than a few years.

When either of these happen, we lose important information that often cannot be obtained again. This unfortunately leads to issues being closed on the tracker because nobody has the crash reports any longer to debug it.

We should find a way to forbid URLs being used in the "Crash Report" and "Log File" section of the issue template to stop these problems. It might be considered a minor inconvenience, but you can already drag-and-drop the files into the template, and achieve the same effect (a hyperlink to an attachment hosted in our issue tracker.)

Maybe it is possible to use the issue template's "validation" parameters with a Regex expression or something to achieve this.

@jellysquid3 jellysquid3 added T-enhancement Type: Enhancement F-good-first-issue Flag: Good first issue for new contributors labels Aug 10, 2023
@jellysquid3
Copy link
Member Author

jellysquid3 commented Aug 10, 2023

One small addendum: We should probably also take this time to prevent users from directly pasting the text into the issue template. It never renders correctly and it leads to a silly issue where hyperlinks are created to other issues (see the issue history of #1). We want people to drag-and-drop the files in, not literally copy the text.

Maybe this can be achieved by forcing the Regex to match against any HTTPS URL, but only if the right domain is used?

@Phoenix-Starlight
Copy link
Contributor

As of this moment, issue templates only have the key required for validations meaning that there is no way to match/filter contents. We could look at workflows or consider creating a bot to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-good-first-issue Flag: Good first issue for new contributors T-enhancement Type: Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants