Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
mb makehashes path not canonicalized #72
Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue72
msg274 (view) Author: theuni Date: 2010-09-21.19:28:26
This is a very small bug, and easily fixed by the user, but it bit me in my
(notice the // in the failed path)
It seems as though this could be easily avoided by cleaning the paths passed
msg310 (view) Author: poeml Date: 2010-11-14.16:22:11
Surely an annoying bug, because it tends to put the wrong files into the database! Thanks much for catching
I'm committing a fix to trunk that goes into 2.15.0.
The following give the correct result now, in my testing:
mb makehashes -t ////srv/metalink-hashes/srv/nullmirrors////centos/// -b /srv/nullmirrors///centos
Hashing '/srv/nullmirrors/centos/5.5/updates/SRPMS/java-1.6.0-openjdk-126.96.36.199-1.16.b17.el5.src.rpm'... done.
msg311 (view) Author: poeml Date: 2010-11-14.16:25:24
(end of migrated issue)