1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-11-09 16:45:51 +01:00

Add forgotten #101 speed-up in CHANGES.

+ doc: Add example *nginx* config for speeding-up serving of packages.
+ build: Explain which file to use for building standalone.
[ci skip]
This commit is contained in:
Kostis Anagnostopoulos 2016-01-19 20:48:01 +01:00
parent e25f9a6508
commit 2667df7125
4 changed files with 16 additions and 2 deletions

@ -3,6 +3,11 @@ Changelog
1.1.10 (2016-01-19) 1.1.10 (2016-01-19)
------------------ ------------------
Serve 1000s of packages, PGP-Sigs, skip versions starting with 'v'.
+ #101: Speed-up server by (optionally) using the `watchdog` package
to cache results, serve packages directly from proxying-server (*Apache* ,
*nginx*), and pre-compile regexes (thanks @virtuald).
- #106: Support uploading PGP-signatures (thanks @mplanchard). - #106: Support uploading PGP-signatures (thanks @mplanchard).
- Package-versions parsing modifications: - Package-versions parsing modifications:

@ -390,9 +390,16 @@ install the ``watchdog`` package, or it can be installed by installing
pip install pypi-server[cache] pip install pypi-server[cache]
If you are using a static webserver such as *Apache* or *Nginx* as If you are using a static webserver such as *Apache* or *nginx* as
a reverse-proxy for pypiserver, additional speedup can be gained by a reverse-proxy for pypiserver, additional speedup can be gained by
directly serving the packages directory. directly serving the packages directory:
For instance, in *nginx* you may adding the following config to serve
packages-directly directly (take care not to expose "sensitive" files)::
location /packages/ {
root /path/to/packages/parentdir;
}
Using a different WSGI server Using a different WSGI server

@ -2,6 +2,7 @@
## ##
## Create an executable file and add it into `standalone` branch ## Create an executable file and add it into `standalone` branch
## ##
## Invoke it directly on the commmit "tagged" for a release.
## Invoke it with any arg to avoid committing into `standalone` branch. ## Invoke it with any arg to avoid committing into `standalone` branch.
my_dir="$(dirname "$0")" my_dir="$(dirname "$0")"

@ -1,6 +1,7 @@
#! /bin/sh #! /bin/sh
## ##
## Create an executable zip file. ## Create an executable zip file.
## Invoked by `commit-standalone.sh`.
set -o errexit set -o errexit