Commit Graph

238 Commits

Author SHA1 Message Date
Ralf Schmitt 37d155beb1 add passlib and waitress to pypi-server-standalone
we collect them from the pypiserver-vendor submodule
2012-10-12 00:15:18 +02:00
Ralf Schmitt 9ce3c084e8 upgrade bottle to 0.11.2 2012-10-10 21:38:55 +02:00
Ralf Schmitt 4cf8e4b72a upgrade bottle to 0.11.1 2012-10-09 20:28:20 +02:00
Ralf Schmitt db8be6df02 add link to pypiserver-on-the-cloud git repo 2012-10-05 00:22:58 +02:00
Ralf Schmitt 508645ab46 Merge pull request #22 from lowks/patch-1
Update scripts/opensuse/pypiserver.init
2012-09-20 01:19:22 -07:00
lowks f9925698bd Update scripts/opensuse/pypiserver.init
Updated pypiserver.init where found some old daemon names and changed status checking to work with opensuse calls. Initially it was issuing calls that did not exist in opensuse.
2012-09-20 06:27:09 +08:00
Ralf Schmitt 446c0dbd0e Merge pull request #21 from dzen/master
Do not overwrite existing files
2012-09-18 03:55:42 -07:00
Benoit Calvez b8c775c4d7 Refuse to re upload existing file 2012-09-17 16:50:25 +02:00
Ralf Schmitt c0405d820c simplify proxy code a bit 2012-08-22 22:02:10 +02:00
Ralf Schmitt 5cb109515c install pypi-server either via entry_points= or scripts= 2012-08-22 21:47:57 +02:00
Eduard-Cristian Stefan bd0a539ee0 Add proxy support (see the docs of urllib.getproxies()). Tested with Python 2.7 on Windows. 2012-08-22 21:30:10 +02:00
Ralf Schmitt dfb2a21a48 Merge pull request #20 from alexandrul/master
Add 'console_scripts' section to 'entry_points', so 'pypi-server.exe' will be created on Windows.
2012-08-22 12:14:03 -07:00
Eduard-Cristian Stefan c5b8e85c79 Add 'console_scripts' section to 'entry_points', so 'pypi-server.exe' will be created on Windows. 2012-08-22 21:33:19 +03:00
Ralf Schmitt 538c74761a Merge pull request #18 from nueces/master
Add support for password_file option in paster app.
2012-08-15 22:27:39 -07:00
Juan A. Diaz 205115e42e paste_app_factory now use the the password_file option to create the app.
Without this the package upload was not working.
2012-08-16 00:38:49 -03:00
Ralf Schmitt e4935f095e Merge pull request #16 from brocaar/master
Add --fallback-url argument
2012-08-15 11:24:09 -07:00
Orne Brocaar 55273d55e3 Add --fallback-url argument to pypi-server script to make it configurable. 2012-08-15 10:02:58 +02:00
Ralf Schmitt 06ccfdd1e3 Merge pull request #15 from dexterous/master
Update readme; add missing mod_wsgi directive
2012-08-09 05:39:21 -07:00
Saager Mhatre 5e1f3a990d Update readme; add missing mod_wsgi directive
WSGIPassAuthorization is necessary to have apache
forward Authentication header to the WSGI app;
mod_wsgi installs on most OSes keep this at the
default Off setting which prevents artifact uploads
2012-08-09 17:37:18 +05:30
Ralf Schmitt e5a39b0de0 prepare 0.6.1 release: up version, update docs 2012-08-07 22:14:13 +02:00
Ralf Schmitt 83bba2154f make download link to download section 2012-07-21 20:47:44 +02:00
Ralf Schmitt becd83ba89 Merge pull request #14 from lowks/master
fixed path for opensuse default file and put everything in one commit
2012-07-15 06:07:05 -07:00
Low Kian Seong 466e973aa2 adding opensuse init scripts 2012-07-15 13:52:04 +08:00
Ralf Schmitt 7e45832df3 reply with 401 if password is None
'python setup.py register' does call us with no password. passlib
throws an error when called with password=None and we really like to
make setup.py register to go on with a password.

also see issue #11
2012-07-09 22:22:37 +02:00
Ralf Schmitt fe5c7da95b Merge pull request #9 from msabramo/travis
Add .travis.yml for Travis CI (http://travis-ci.org/)
2012-06-29 11:14:23 -07:00
Marc Abramowitz 6caa8e717c Add .travis.yml for Travis CI (http://travis-ci.org/) 2012-06-22 00:53:31 -07:00
Ralf Schmitt df0e48a1d1 Merge pull request #8 from lowks/master
Added init/default scripts to start up pypiserver via init.d on ubuntu
2012-06-21 00:16:06 -07:00
lowks 52a09cf2c0 Adding ubuntu init scripts to start pypiserver on ubuntu 2012-06-21 10:27:52 +08:00
Ralf Schmitt dc6bc231af adjust release date 2012-06-14 21:55:31 +02:00
Ralf Schmitt e7c9f0770f upgrade bottle.py to 0.11.dev
this makes uploads work when using python 3.

The version used is:

,----
| commit fba90b086285710f9a86b5d9836c7f03d521f73a
| Author: Marcel Hellkamp <marc@gsites.de>
| Date:   Mon Jun 4 18:01:02 2012 +0200
|
|     fix: Accessing the uninitialized request/response objects now
|     yields a useful error message.
`----
2012-06-14 21:47:59 +02:00
Ralf Schmitt 95c63abbf9 prepare 0.6.0 release
- up version to 0.6.0
- document passlib
- fix -P, --passwords description
2012-06-06 00:18:51 +02:00
Ralf Schmitt ab7d43e9db do not use backslashes in filenames
pip is easily confused if the path contains backslashes.
2012-05-31 12:12:56 +02:00
Ralf Schmitt 64334af9e9 enhance upload with support for apache's htpasswd files
use passlib in order to read apache's htpasswd files. make 'setup.py
register' work.
2012-05-07 18:24:22 +02:00
Eric Moritz 4ceb82458c Added rudimentary support for uploads 2012-04-23 21:42:30 +02:00
Ralf Schmitt 1340b90ac9 update MANIFEST.in 2012-04-08 00:32:20 +02:00
Ralf Schmitt 9b469819ea add section on paste/pastedeploy 2012-04-08 00:29:14 +02:00
Ralf Schmitt 3257940b11 define paste.app_factory entry point in setup.py 2012-04-07 23:53:48 +02:00
Ralf Schmitt 814971fefd expand ~ in root path when using paste 2012-04-07 23:46:11 +02:00
Ralf Schmitt 3df36e66a0 instantiate a new app object/module for each pypiserver.app call
adapt test_main to the new situation.
2012-04-07 23:23:29 +02:00
Ralf Schmitt 81571c60a3 use pypiserver.app factory function in test_app 2012-04-07 23:10:49 +02:00
Ralf Schmitt 1b2f37ede5 do not use the default bottle app 2012-04-07 22:57:40 +02:00
Ralf Schmitt c0f82470c6 move bottle app function to _app module
I'd like to run multiple pypiserver wsgi apps inside one process and
plan to do so by reloading pypiserver._app.

this is the first step. we move all of the @route'd functions to _app.
2012-04-07 22:30:54 +02:00
Ralf Schmitt ace7c63fa5 python 3 fixes for core.py 2012-04-06 20:46:48 +02:00
Ralf Schmitt 33f814d847 make pypiserver work with non-root paths
this makes it possible to run pypiserver as CGI script of with paste.
2012-04-03 22:59:01 +02:00
Ralf Schmitt e7cf0e1d7f use paste to test non-root installations 2012-04-03 22:59:01 +02:00
Ralf Schmitt ec81bdd5d8 make pypiserver 'paste compatible'
i.e. add pypiserver.paste_app_factory
2012-04-03 22:45:45 +02:00
Ralf Schmitt 7ce5bd8eb1 up version to 0.5.2, update docs for upcoming release 2012-03-26 23:25:03 +02:00
Ralf Schmitt 390e8f522e Revert "use relative links in order to make pypiserver work as cgi script"
It didn't work perfectly when urls do not end with slashes (/simple/, /packages/).

This reverts commit f045d8f17a.
2012-03-26 02:40:12 +02:00
Ralf Schmitt 294886b292 document pypiserver.app
fixes #3
2012-03-26 02:22:41 +02:00
Ralf Schmitt 5d7ecc5801 provide a way to get the WSGI app
we need this for issue #3

The following now already works:

,----
| gunicorn -w4 'pypiserver:app("/home/ralf/packages")'
`----
2012-03-26 01:48:08 +02:00