pypi-mirror: run-mirror uses the download filename as the index package dir, which is incorrect (example: PrettyTable/prettytable-0.7.2.tar.gz)

Bug #1294522 reported by Clint Byrum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Released
Undecided
Clint Byrum

Bug Description

In the case of PrettyTable, the official spelling/case is PrettyTable, but the files are prettytable-x.x.x.*. The code ends up writing a local mirror with the directory 'prettytable', but in requirements file it will be the official case, which is PrettyTable, and thus we will not find the mirrored files if the mirror is case-sensitive.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to pypi-mirror (master)

Fix proposed to branch: master
Review: https://review.openstack.org/81469

Changed in openstack-ci:
assignee: nobody → Clint Byrum (clint-fewbar)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to pypi-mirror (master)

Reviewed: https://review.openstack.org/81469
Committed: https://git.openstack.org/cgit/openstack-infra/pypi-mirror/commit/?id=63dfccb6cfa099286ee92a64911009e66921da17
Submitter: Jenkins
Branch: master

commit 63dfccb6cfa099286ee92a64911009e66921da17
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: I90ca0e280dc59d26e5cfc70c8c02feeb734d1ae9
    Closes-Bug: #1294522

Changed in openstack-ci:
status: In Progress → Fix Committed
Revision history for this message
Elizabeth K. Joseph (lyz) wrote :

We're not using pypi-mirror anymore, but marking this as Fix Committed because it was fixed in the repo we had out there at the time.

Changed in openstack-ci:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.