Issue #3632
closedPulp_python does not normalize project name before publish
Description
pip install -i pulp.repo trusted-host pulp.repo CouchDB
Is trying to download "/pulp/python/web/ghostdev/simple/couchdb/" but pulp mirrored it to http://pulp.repo/pulp/python/web/ghostdev/simple/CouchDB/
From PEP 503 it seems that it must be lowercases : https://www.python.org/dev/peps/pep-0503/
We should normalize the project name prior to publication
Updated by bizhang over 6 years ago
- Subject changed from Pulp does not normalize project name before publish to Pulp_python does not normalize project name before publish
Updated by dalley over 6 years ago
We can re-use the function that Pulp 3 python uses to do so
Updated by amacdona@redhat.com over 6 years ago
Should we normalize before publication, or should we normalize when we store it? I think we probably want to normalize project names on the remote and project name on the PythonPackageContent model.
Updated by dalley over 6 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 36
Updated by bizhang over 6 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to bizhang
Updated by bizhang over 6 years ago
- Status changed from ASSIGNED to POST
Added by werwty over 6 years ago
Updated by werwty over 6 years ago
- Status changed from POST to MODIFIED
Applied in changeset 7096aab0bb68f7dc3c025198e25af91fda3439b3.
Added by werwty over 6 years ago
Revision ffb575c4 | View on GitHub
normalize project name before publish
closes #3632 https://pulp.plan.io/issues/3632
(cherry picked from commit 7096aab0bb68f7dc3c025198e25af91fda3439b3)
Updated by werwty over 6 years ago
Applied in changeset ffb575c4e4edd55aef92ae45bfd0e7c4cb27ada8.
Updated by daviddavis over 6 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
normalize project name before publish
closes #3632 https://pulp.plan.io/issues/3632