Closed TheEaterr closed 2 months ago
@TheEaterr that sounds good - would you like to submit a pull request for this? Using startsWith
sounds like a good solution.
Created one with an additional fix for the JSON download, although current / full is still broken. See : https://github.com/Wikidata/Wikidata-Toolkit/pull/872
When trying to use this toolkit to manage downloading dumps, I encountered an issue on the way they are determined to be available. The code responsible for this is :
However, when checking what is provided by the WMF, we see that status.txt doesn't show just done anymore but done:all (and perhaps other, I haven't made an exhaustive check), see: https://dumps.wikimedia.org/other/incr/wikidatawiki/20240414/status.txt
Would it possible to update the
"done".equals(inputLine);
so it is correct ? (perhaps withstartsWith ?
)