When run-mirror downloads a package whose download files have a
different base name to the download directory, run-mirror ends up
writing the wrong directory name, which causes 404's on the mirror.
In this patch we use the actual upstream parent dir name exactly.
Reviewed: https:/ /review. openstack. org/81469 /git.openstack. org/cgit/ openstack- infra/pypi- mirror/ commit/ ?id=63dfccb6cfa 099286ee92a6491 1009e66921da17
Committed: https:/
Submitter: Jenkins
Branch: master
commit 63dfccb6cfa0992 86ee92a64911009 e66921da17
Author: Clint Byrum <email address hidden>
Date: Wed Mar 19 00:47:21 2014 -0700
Fix run-mirror writing wrong project directory
When run-mirror downloads a package whose download files have a
different base name to the download directory, run-mirror ends up
writing the wrong directory name, which causes 404's on the mirror.
In this patch we use the actual upstream parent dir name exactly.
Change-Id: I90ca0e280dc59d 26e5cfc70c8c02f eeb734d1ae9
Closes-Bug: #1294522