-
Notifications
You must be signed in to change notification settings - Fork 310
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
Take repository URL form the commandline. #166
Conversation
To make usage of twin within a CI setup easier, make it possible to run twin without a pypirc file. This commit adds the possibility to specify the repository URL directly on the commandline. This is done by overloading the `--repository` switch: this can now be a section in the pypirc file (as before) or a full URL (e.g. something with `://` in it). Note that this is only needed when you don't want to upload to PyPI, for PyPI we already have a fallback in place.
Fixed all test but this one: https://travis-ci.org/pypa/twine/jobs/128574414
|
This would make things much more simple for us in CI - it's cumbersome to have to write out a Any chance of someone taking a look at this? Looks like all the tests passed, just the docs failed to build. |
Soon, @seglberg. I'm quite busy right now, but a new release of twine with this feature is slated for the next month or so. |
This refactors the work in pypagh-166 a bit and adds a new command-line flag to enable the behaviour. Supersedes pypagh-166
I've resolved the merge conflicts and pulled this into #203. |
To make usage of twine within a CI setup easier, make it possible to
run twin without a pypirc file. This commit adds the possibility to
specify the repository URL directly on the commandline.
This is done by overloading the
--repository
switch: this can now bea section in the pypirc file (as before) or a full URL (e.g. something
with
://
in it).Note that this is only needed when you don't want to upload to PyPI,
for PyPI we already have a fallback in place.
Closes: #143