Closed psiniemi closed 9 years ago
One important note about this PR: it upgrades the source to Java 7 (EOL in April 2015) - Java 6 EOL was in Feb 2013 and it's dangerously buggy. IMHO it's time to gently nudge build servers off of Java 6.
Crawled the Coveralls docs again and actually found something interesting. They have dropped the source from submissions and now it can be replaced with source_digest
hash.
I think we could replace the source content with MD5 or murmur hash. That would also solve the problem of keeping the source contents in memory.
I have been thinking also dropping Java 6 support. And I guess now it's the time. I will release 3.2.0 with minor improvements before this. Then I can bump up to 4.0.0 with Java 7 requirement and also improve handling of the build timestamps.
In #81 changed to source_digest
so no additional tweaks required.
The source of the file is not actually needed in memory except for calculating lines and writing the report. This pull request always reads the source from the resolved file as needed.