Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PyPI package registry #679

Merged
merged 37 commits into from
Jul 25, 2023
Merged

Add PyPI package registry #679

merged 37 commits into from
Jul 25, 2023

Conversation

ezekg
Copy link
Member

@ezekg ezekg commented Nov 14, 2022

Part of #493. Implements PyPI's simple package repository. Adds release engines and release packages. And as a side-effect, adds support for non-JSON API mime types.

# Install "example" package from Keygen (other packages are still redirected to PyPI)
pip install example \
  --index-url 'https://api.keygen.sh/v1/accounts/demo/engines/pypi/simple'

Post-deploy

# Add new permissions and event types
rake db:seed

# Migrate existing role permissions
rake keygen:permissions:admins:add[package.create,package.delete,package.read,package.update,engine.read]
rake keygen:permissions:environments:add[package.create,package.delete,package.read,package.update,engine.read]
rake keygen:permissions:products:add[package.create,package.delete,package.read,package.update,engine.read]
rake keygen:permissions:licenses:add[package.read,engine.read]
rake keygen:permissions:users:add[package.read,engine.read]

Ref: PEP 503.

@ezekg ezekg force-pushed the feature/add-pypi-registry branch 2 times, most recently from 9234669 to 9cf933a Compare November 14, 2022 23:07
@ezekg ezekg force-pushed the master branch 2 times, most recently from a78fcc6 to 1462020 Compare March 31, 2023 19:23
@ezekg ezekg force-pushed the master branch 3 times, most recently from 4faf265 to 0b681ae Compare May 2, 2023 15:03
@ezekg ezekg force-pushed the master branch 6 times, most recently from cab84a1 to a390331 Compare June 1, 2023 19:24
@ezekg ezekg force-pushed the feature/add-pypi-registry branch 11 times, most recently from f2a78d0 to 24bd61c Compare July 7, 2023 17:21
@ezekg ezekg force-pushed the feature/add-pypi-registry branch from 1e149a1 to 2d10945 Compare July 20, 2023 14:22
@ezekg ezekg force-pushed the feature/add-pypi-registry branch from d82e153 to 7f1bc88 Compare July 21, 2023 22:17
@ezekg ezekg force-pushed the feature/add-pypi-registry branch 2 times, most recently from 6e2f866 to f01daaf Compare July 24, 2023 16:44
@ezekg ezekg force-pushed the feature/add-pypi-registry branch from f01daaf to 76ad357 Compare July 24, 2023 16:50
@ezekg ezekg force-pushed the feature/add-pypi-registry branch from e49cf9c to c3d1845 Compare July 24, 2023 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant