Last modified: 2014-07-11 20:39:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69886, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67886 - checksum file incorrectly formated for incremental XML data dumps
checksum file incorrectly formated for incremental XML data dumps
Status: NEW
Product: Datasets
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Ariel T. Glenn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-11 20:39 UTC by wp mirror
Modified: 2014-07-11 20:39 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description wp mirror 2014-07-11 20:39:50 UTC
0) Problem

Checksum files for incremental XML data dumps are not formatted correctly. This causes `md5sum' to throw an error.

1) Test case

(shell) wget -nH -np -nv -N -r -l 2 http://dumps.wikimedia.org/other/incr/simplewiki

(shell) cd other/incr/simplewiki/

(shell) ls
simplewiki-20140703-md5sums.txt
simplewiki-20140703-pages-meta-hist-incr.xml.bz2
simplewiki-20140703-stubs-meta-hist-incr.xml.gz

(shell)$ cat simplewiki-20140703-md5sums.txt
d03f3a91ef0273eb814f39a1d13788cb
c51f2bd5ef6bd42ce65cf4a7fca72400

(shell)$ md5sum --check simplewiki-20140703-md5sums.txt
md5sum: simplewiki-20140703-md5sums.txt: no properly formatted MD5 checksum
lines found

(shell)$ cat simplewiki-20140703-md5sums.txt
d03f3a91ef0273eb814f39a1d13788cb
c51f2bd5ef6bd42ce65cf4a7fca72400

2) Recommendation

The correct format is:

<checksum><two spaces><filename><newline>

Sincerely Yours,
Kent

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links