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

idea: put link to github ticket search into "known problems" field #5386

Closed
matthiaskrgr opened this issue Mar 29, 2020 · 2 comments · Fixed by #6483
Closed

idea: put link to github ticket search into "known problems" field #5386

matthiaskrgr opened this issue Mar 29, 2020 · 2 comments · Fixed by #6483
Assignees
Labels
A-documentation Area: Adding or improving documentation A-website Area: Improving the clippy website C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. S-needs-discussion Status: Needs further discussion before merging or work can be started

Comments

@matthiaskrgr
Copy link
Member

matthiaskrgr commented Mar 29, 2020

In a perfect world, the Known problems section of a lint at
https://rust-lang.github.io/rust-clippy/master/index.html would reflect issues we have about that lint (false positives / false negatives, limitations etc) but it rarely gets updated.

I wonder if we could put a link there which automatically finds all open issues about that lint, like this:
Known problems

[Known problems](https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+is%3Aopen+${LINT_NAME})

@matthiaskrgr matthiaskrgr added S-needs-discussion Status: Needs further discussion before merging or work can be started A-documentation Area: Adding or improving documentation C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. A-website Area: Improving the clippy website labels Mar 29, 2020
@flip1995
Copy link
Member

cc #5049 would maybe help. But I didn't got back to it, since I'm not sure anymore where exactly I want to go with that.

@xFrednet
Copy link
Member

This is a nice idea 👍

I think the link should also include closed issues in case someone has reported a issue which is actually working as intended. That could reduce duplicate reports. The new link template would be

  • [search on Github](https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+${LINT_NAME})

@rustbot claim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-documentation Area: Adding or improving documentation A-website Area: Improving the clippy website C-an-interesting-project Category: Interesting projects, that usually are more involved design/code wise. S-needs-discussion Status: Needs further discussion before merging or work can be started
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants