-
Notifications
You must be signed in to change notification settings - Fork 963
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
Allow git + ssh based uploads #2315
Comments
This is an interesting idea, although it's unlikely going to happen in the short term largely because I'm the only person and my main focus right now is getting feature parity in the rewrite of PyPI into the Warehouse code base. If someone else wanted to lead the effort on this, I'm more than happy to participate in the design work though! I have a couple thoughts/concerns/questions about the idea in general though:
Those are my initial questions/concerns after reading this, and really the biggest hurdle I see is going to be the whole untrusted code bit. |
Yea I figured getting the shiny new https://pypi.org/ out was the highest priority for ya'll. I'm hoping I can fill out one section of this plan well enough to create a PR myself.
So, to re-access, I'm dropping my personal scope down to
|
Thanks for your suggestion, @lynncyrin! You might already know: the folks working on Warehouse have gotten some limited funding via Mozilla's Open Source Support program to concentrate on improving and deploying Warehouse, and have kicked off work towards our development roadmap, focusing on getting it to the point where we can redirect pypi.python.org to pypi.org. Since this feature isn't something that the legacy site has, I've moved it to a future milestone. Since, as you said, this feature is something that spans a few different codebases, you might also want to check out pypa/packaging-problems#60 and pypa/twine#216. Is there any chance you will be at the PyCon sprints in Cleveland in May? Several people working on Python packaging and distribution will be sprinting there and I think it'd be a good time to work on stuff like this. Thanks again for the issue and the discussion! And @Mariatta, this is the issue I mentioned in reply to your tweet. |
FTR here's an example for Travis CI publishing to PyPI: python/core-workflow#262 |
FTR there was a way to do SSH uploads before 2013: https://bitbucket.org/loewis/pypissh/src/default/ |
For the sake of clarity and completeness: I personally won't be following up here, and fully encourage anyone else doing so 🙏 |
I'm going to close this. At this point I think it's very unlikely that we ever re-enable git+ssh based uploads, and we now have api tokens for upload. |
Major Components
General Description
There's a lot of work required here, and likely bits of it would belong in
/ where-ever else, instead. But I figured I would start here.
My goal here is the ability to have a
.pypirc
file like soWhich allows a upload command like
And all the associated systems / infrastructure that would enable this functionality
Stretch Goals
This is a technical precursor that would open up a variety of pypi integrations, such as a "one click" "sync this repository with pypi" button on github that publishes the default branch. Or also an option where pypi auth is linked to github ssh keys, and github repo access, so being added as a github repo contributor allows pypi push access.
While integrations like that are clearly something the pypa org does not have direct control over, I think creating the technical infrastructure to allow it would be a huge boost for pip / python usage.
Sidenote
I personally know a few bundler and npm devs that could assist with implementation planning if no pypa members have the capacity for it
The text was updated successfully, but these errors were encountered: