1
0
mirror of https://github.com/pypiserver/pypiserver synced 2025-02-22 19:19:37 +01:00

Update shields in README and strip spaces from line-endings.

+ Provide a Tip on README about unauthed uploads.
This commit is contained in:
Kostis Anagnostopoulos at STUW025 2015-09-11 18:40:07 +02:00 committed by ankostis on tokoti
parent 2f14988ba3
commit 7a5aed3c05
2 changed files with 64 additions and 59 deletions

@ -3,7 +3,8 @@
==============================================================================
pypiserver - minimal PyPI server for use with pip/easy_install
==============================================================================
|dev-status| |build-status| |pypi-status| |downloads-count| |github-issues|
|pypi-ver| |travis-status| |dependencies| |downloads-count| |python-ver| \
|proj-license|
:Authors: Ralf Schmitt <ralf@systemexit.de>,
Kostis Anagnostopoulos <ankostis@gmail.com>
@ -75,6 +76,9 @@ Currently only password-protected uploads are supported!
http://serverfault.com/questions/152950/how-to-create-and-edit-htaccess-and-htpasswd-locally-on-my-computer-and-then-u
It is also possible to disable authentication even for uploads.
Read the help for ``-P`` and ``-a`` options to see how it is done.
#. You need to restart the server with the `-P` option only once
(but user/password pairs can later be added or updated on the fly)::
@ -222,15 +226,14 @@ Running ``pypi-server -h`` will print a detailed usage message::
-P foo/htpasswd.txt -a update,download
To drop all authentications, use:
-P . -a ''
For example to password-protect package uploads & downloads while leaving
listings public, give:
-P -a update,download
By default, only 'update' is password-protected.
-P, --passwords PASSWORD_FILE
use apache htpasswd file PASSWORD_FILE to set usernames & passwords
used for authentication of certain actions (see -a option).
Set it explicitly to '.' to allow empty list of actions to authenticate.
Set it explicitly to '.' to allow empty list of actions to authenticate;
then no `register` command is neccessary, but `~/.pypirc` still needs
`username` and `password` fields, even if bogus.
--disable-fallback
disable redirect to real PyPI index for packages not found in the
@ -515,23 +518,26 @@ See the `LICENSE.txt` file.
.. _bottle: http://bottlepy.org
.. _PyPI: http://pypi.python.org
.. |build-status| image:: https://travis-ci.org/pypiserver/pypiserver.svg
:alt: Integration-build status
.. |travis-status| image:: https://travis-ci.org/pypiserver/pypiserver.svg
:alt: Travis build status
:scale: 100%
:target: https://travis-ci.org/pypiserver/pypiserver/builds
:target: https://travis-ci.org/pypiserver/pypiserver
.. |pypi-status| image:: https://pypip.in/v/pypiserver/badge.png
.. |pypi-ver| image:: https://img.shields.io/pypi/v/pypiserver.svg
:target: https://pypi.python.org/pypi/pypiserver/
:alt: Latest Version in PyPI
.. |dev-status| image:: https://pypip.in/status/pypiserver/badge.svg
.. |python-ver| image:: https://img.shields.io/pypi/pyversions/pypiserver.svg
:target: https://pypi.python.org/pypi/pypiserver/
:alt: Development Status
:alt: Supported Python versions
.. |downloads-count| image:: https://pypip.in/download/pypiserver/badge.svg?period=week
.. |downloads-count| image:: https://img.shields.io/pypi/dm/pypiserver.svg?period=week
:target: https://pypi.python.org/pypi/pypiserver/
:alt: Downloads
.. |github-issues| image:: http://img.shields.io/github/issues/pypiserver/pypiserver.svg
:target: https://github.com/pypiserver/pypiserver/issues
:alt: Issues count
.. |proj-license| image:: https://img.shields.io/badge/license-EUPL%201.1%2B-blue.svg
:target: https://raw.githubusercontent.com/pypiserver/pypiserver/master/LICENSE.txt
:alt: Project License
.. |dependencies| image:: https://img.shields.io/requires/github/pypiserver/pypiserver.svg
:alt: Dependencies up-to-date?

@ -215,15 +215,14 @@ pypi-server understands the following options:
-P foo/htpasswd.txt -a update,download
To drop all authentications, use:
-P . -a ''
For example to password-protect package uploads & downloads while leaving
listings public, give:
-P -a update,download
By default, only 'update' is password-protected.
-P, --passwords PASSWORD_FILE
use apache htpasswd file PASSWORD_FILE to set usernames & passwords
used for authentication of certain actions (see -a option).
Set it explicitly to '.' to allow empty list of actions to authenticate.
Set it explicitly to '.' to allow empty list of actions to authenticate;
then no `register` command is neccessary, but `~/.pypirc` still needs
`username` and `password` fields, even if bogus.
--disable-fallback
disable redirect to real PyPI index for packages not found in the