https://github.com/karlcow/webcompat-janitor
Check the status of webcompat labels every week
https://github.com/karlcow/webcompat-janitor
github maintenance python webcompat
Last synced: 2 months ago
JSON representation
Check the status of webcompat labels every week
- Host: GitHub
- URL: https://github.com/karlcow/webcompat-janitor
- Owner: karlcow
- License: mpl-2.0
- Created: 2017-03-03T04:45:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-03T07:06:11.000Z (almost 9 years ago)
- Last Synced: 2025-03-26T14:30:14.086Z (over 1 year ago)
- Topics: github, maintenance, python, webcompat
- Language: Python
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webcompat-janitor
Check the status of [webcompat](https://webcompat.com) labels every week.
With a JSON dump of all webcompat issues, the code will check if some labels are missing or being in conflict.
This code was to address some [recurring issues](https://github.com/webcompat/webcompat.com/issues/1251) we had with mislabeling issues on [webcompat.com](https://webcompat.com) project.
## Business Rules
* [x] ERROR: Closed issues must have a label in [`status-fixed`, `status-duplicate`, `status-incomplete`, `status-wontfix`, `status-worksforme`, `status-invalid`].
* [x] ERROR: Closed and open issues have one and only one `status-*` label.
* [ ] WARNING: issues without a `browser-*` label.
* [ ] WARNING: issues without a `type-*` label.
## Example:
Example of output
```
15:25:32: Issue 1
15:25:32: Issue 1 has no status label
15:25:34: Issue 1099
15:25:34: Too many labels for 1099: [u'status-contactready', u'status-needscontact']
15:25:34: Issue 1100
15:25:34: Wrong label for 1100: closed <> [u'status-needsdiagnosis']
15:25:35: Issue 1101
15:25:35: Wrong label for 1101: open <> [u'status-fixed']
```