Marking for backport to 0.3.4, some directory authorities are still running 0.3.4:
https://consensus-health.torproject.org/#authorityversions
(In general, we ask directory authorities to be on the two latest stable versions. At the moment, that's 0.3.4 and 0.3.5.)
Juga, please rebase your patch on 0.3.4 before review.
The parsing code changed between 0.3.4 and 0.3.5, so you may need a pull request for 0.3.4, and another pull request for 0.3.5.
This looks okay to me, but I would like to see a unit test to make sure that we don't ignore lines that say "vote=1" or "unmeasured=1" or "unmeasured=0".
There is a changes file.
The spec is in #29813 (moved).
The CI passed on both pull requests, but 809 still shows travis as pending.
That seems to be a GitHub bug.
The branches have fixups, so I need to do a squash.
The branches have the same effect, but the code changes are in different files. I was concerned about merge conflicts between 0.3.4 and 0.3.5. I did a merge from the 0.3.4 branch to 0.3.5, and copied over the code changes to the new directory structure.