Open Manishearth opened 6 years ago
There is no real reason why it wouldn't work (although some changes would be required).
Off the top of my head, the following things may need to be adapted (or made configurable):
rust-lang/rust
repo is hardcoded in various places.rust-lang/rust
build is ignored (that shouldn't cause any real issues for you).Apart from that, the general logic of the bot is basically this:
If you think this heuristic would work for Servo, it shouldn't take too much effort to set things up. (Actually running this doesn't require much setup either, the server easily runs for months without issues).
I should be able to find the time to adapt RLA over the weekend to make most of the stuff hardcoded to rust-lang/rust
configurable, if you want to give it a try with Servo.
If you want to help out or have more question please just reply here or ping me on IRC.
I'm a bit busy now, but I'd be happy to help test this out on Servo once you think it's ready.
Rust's build system and tests are kinda special, which means that this analyzer may be specifically geared towards that.
I'd like to use this tool for Servo; do you think it will just work or will it require changes to the analysis code?
(For all intents and purposes Servo just runs cargo build on CI, though it also has a custom tidy check)
In general documentation for tweaking the analyser would be nice.