Commit Graph

605 Commits

Author SHA1 Message Date
Matthew Planchard 3e74a01e3f ensured pip installs plugin from correct path 2018-11-04 15:44:11 -06:00
Matthew Planchard 1b2bef415f Updated tests to work with passlib plugin 2018-10-30 21:12:20 -05:00
Matthew Planchard 8585ee4aa9 remove dead code 2018-10-30 20:53:57 -05:00
Matthew Planchard 4d3ea613e4 Moved itests to their own folder; using tmp pythonpath now instead of venvs for pkg installs 2018-10-30 20:52:51 -05:00
Matthew Planchard 32fc2b1f66 Allow passing positional args to pytest via tox 2018-10-30 19:14:38 -05:00
Matthew Planchard 138bf8e522 test updates 2018-08-06 17:14:26 -05:00
Matthew Planchard 8e670fd2dd passlib int. tests, fix config for passlib plugin name, version to 2.0.0 2018-08-05 09:55:20 -05:00
Matthew Planchard 438697fa37 Merge branch 'master' into _config_updates 2018-08-05 08:57:56 -05:00
Matthew Planchard 824c2dd24f Removed passlib to plugin, no-auth defaults, integration tests 2018-08-04 21:22:14 -05:00
Matthew Planchard c86de256fb chore(ver): bump 1.2.3-->1.2.3 2018-08-04 12:31:44 -05:00
Matthew Planchard ff4b049f97 Prep for 1.2.3 2018-08-04 12:31:31 -05:00
Matthew Planchard 84158ab881 Working on integration tests 2018-08-04 12:24:19 -05:00
Matthew Planchard 42f024e8c2 config tests, pep8 for test_server 2018-07-27 20:47:42 -05:00
Matthew Planchard 93c9c67136 Travis doesn't have 3.7 yet :) 2018-07-27 19:12:44 -05:00
Matthew Planchard 820b0aac95 underscore in test_docker 2018-07-27 19:11:37 -05:00
Matthew Planchard db749322bd Remove standalone code, add Python 3.7 to tests 2018-07-27 19:09:49 -05:00
Matthew Planchard 0742577a4d Only check pw file if defined 2018-07-26 21:17:32 -05:00
Matthew Planchard af4037fff5 Added no-auth auth backend, fixed standalone test 2018-07-26 21:13:38 -05:00
Matthew Planchard 083cc03530 Test fixes, use of the htpasswd plugin, defaults
* Update `__main__.py` to differentiate new and old configs depending on
the value of `argv[0]`
* Update deprecation warning to always show for all pythons
* Added a `convert_legacy` function to
`plugins.authenticators.interface` to convert a legacy `auther` into a
new interface compliant class
* Added logic and deprecation warnings for handling most (all?) of the
old `auther` cases, plus handling `--auth-backend` from the new config
* Set default `--auth-bakend` to `htpasswd` if available
* Updated `paste` config to work with new config
* Added ability to set `--password-file` to `'.'`
2018-07-26 20:57:01 -05:00
Matthew Planchard c10f31339d Ensured plugins are installed with package
* Used `find_packages()` in `setup.py` to ensure non-top-level packges
would also be installed
* Updated `.dockerignore` to include some other unnecessary items
* Updated `__main__.py` to not bomb when `update_packages` is not in the
`config` object (i.e. when using `pypiserver run`)
2018-07-26 19:26:56 -05:00
Matthew Planchard 5ea2a9eb5c Pulled out some configure() logic 2018-07-18 21:04:56 -05:00
Matthew Planchard 02f3d5af61 Load plugins in configure() 2018-07-18 20:59:26 -05:00
Matthew Planchard 26d35cd9e9 Renamed ConfigFactory -> Config 2018-07-18 19:36:52 -05:00
Matthew Planchard 915a64cc54 Fixed bug with slots declaration 2018-07-18 19:31:55 -05:00
Matthew Planchard 9efe756ce0 Added docker to introductory material 2018-07-18 19:31:37 -05:00
Matthew Planchard e85ed3f5e6 Quick doc update 2018-07-17 20:45:17 -05:00
Matthew Planchard 8581bc24fa Working auth plugin 2018-07-17 20:41:50 -05:00
Matthew Planchard 068cb69c92 Forgot some changes in the last commit 2018-07-10 21:38:28 -05:00
Matthew Planchard 938985a901 Beginnings of general & auth plugin infrastructure 2018-07-10 21:18:10 -05:00
Matthew Planchard 0da6c03c72 Backwards compatibility, deprecation warnings 2018-07-09 21:21:21 -05:00
Matthew Planchard 0763077124 Standalone conf, Dockerfile updates, pub interface
* Fixed config for standalone package to handle the expected error in
`pkg_resources.resource_file()`
* Ensured the `pypiserver` user in the Dockerfile is part of the
`pypiserver` group
* Ensured `__updated__` is available in the public interface by moving
it back into `__init__.py`
* Added `const.py` for defining, you guessed it, constants
2018-07-05 19:27:39 -05:00
Matthew Planchard 38d51dfbce * minor formatting 2018-07-03 21:35:42 -05:00
Matthew Planchard 02b3802876 Replaced config, updated lots of things
* Full utilization of the new argparse-based config
* Removed everythong from `__init__.py`
* Moved all app definition into a factory function in `_app.py`
* Moved `app()` into `_app.py` and imported into `__init__.py`
* The former now just calls the factory function, no more hacks around
module imports
* Moved version stuff into `_version.py`
* Moved the paste factory into its own module
* Lots of PEP008 formatting
* Generally moved constants to top of files
* Simplified `exec` calls to get the version
* Added `ipdb` to dev requirements
2018-07-03 21:30:50 -05:00
Matthew Planchard 1b0ee1cd82 ArgumentParser done, working on tests 2018-06-28 21:09:23 -05:00
Matthew Planchard c621d45474
Merge pull request #210 from pypiserver/docker-updates
Dockerfile & doc updates
2018-06-26 22:14:31 -05:00
Matthew Planchard 66f24858df Giving up on build stages 2018-06-26 21:59:19 -05:00
Matthew Planchard 797167fcb2 More testing 2018-06-26 21:57:28 -05:00
Matthew Planchard fd170f899b Reordered stages for testing 2018-06-26 21:52:47 -05:00
Matthew Planchard 2206fd543a Moved install and script keys 2018-06-26 21:51:30 -05:00
Matthew Planchard 3d69d60e92 Trying to figure out travis build stages 2018-06-26 21:33:24 -05:00
Matthew Planchard abba8ecd42 Add language to 2nd stage of travis build 2018-06-26 21:23:00 -05:00
Matthew Planchard 3e1a399fe3 Add simple functional tests for docker 2018-06-26 21:19:03 -05:00
Matthew Planchard 47231ea5fb Dockerfile & doc updates 2018-06-26 20:51:32 -05:00
Matthew Planchard cd7707379a
Merge pull request #209 from hugovk/patch-1
Remove broken downloads badge
2018-06-19 20:03:47 -05:00
Hugo 2c9684b27e
Badges fit on one line 2018-06-14 08:50:01 +03:00
Matthew Planchard 4455b2cdc0
Merge pull request #198 from hugovk/rm-3.3
Drop support for EOL Python 3.3
2018-06-13 18:32:22 -05:00
Hugo 9c2c44ca91
Remove broken downloads badge
See https://github.com/badges/shields/issues/716.
2018-06-13 07:06:41 +03:00
Hugo c777ee4018
Merge pull request #1 from mplanchard/hugovk-rm-3.3
Prep for merge
2018-06-13 07:00:47 +03:00
Matthew Planchard 2499dac8ec Merge branch 'rm-3.3' of git://github.com/hugovk/pypiserver into hugovk-rm-3.3 2018-06-12 20:26:31 -05:00
Matthew Planchard 17e7f9c1b6 chore(ver): bump 1.2.2.dev0-->1.2.2 2018-06-12 20:15:11 -05:00