Sodium

Sodium

35M Downloads

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

jellysquid3 opened this issue ยท 2 comments

commented

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.

commented

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.

commented

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?