Closed yurrriq closed 8 years ago
Wow, this is huge :elephant: !
If you have a goal to fit every line to 80 chars limit there is elvis.config entry to update - https://github.com/deadtrickster/prometheus.erl/blob/master/elvis.config#L8
80 chars limit
Only if you're into it. I prefer it, but it's not my project :smile:
Ok, I'm doing an elvis overhaul after all...
I refactored register/deregister stuff: https://github.com/deadtrickster/prometheus.erl/commit/1d092bb4ef10a917c95a2a48db87db34168f24d6. And this means more conflicts :-(.
I'm resolving the conflicts now in pieces.
Ok. This turned into more of a style overhaul, but in the end, we've refactored the (de)registration process, added several type specs, appeased dialyzer, smashed everything into < 80 chars wide and I've gotten to know the codebase :)
This doesn't fully solve the type spec issue, but I'd say this is ready to merge.
The error on Travis looks like a problem wrt downloading R19.
I've rebased, reordered, and squashed this into only eight commits. Is that enough or should I squash more?
Nope, I'm merging it.
This is not yet ready to merge, but I figured I'd open a PR so we can discuss these changes as they're being written.
This PR means to address #5.