Commit Graph

517 Commits

Author SHA1 Message Date
Kostis Anagnostopoulos
6e930c5621 feat(build): add /bin/bumpver.py script to facilitate new releases 2017-10-31 21:03:17 +02:00
Matthew Planchard
9f7729e554
Merge pull request #182 from uSpike/patch-1
Default fallback_url to use HTTPS
2017-10-31 13:05:10 -05:00
Kostis Anagnostopoulos
a9d8c18163 chore(travis): +py36, +pypy3, no-sudo, with tox-travis plugin
from https://github.com/tox-dev/tox-travis
2017-10-31 12:55:31 -05:00
Matthew Planchard
05f5920c25 Updated Default Fallback URL to https
Resolves #179

Due to a pypi API change (reasoning
[here](https://mail.python.org/pipermail/distutils-sig/2017-October/031712.html),
thanks to @natefoo for the link), the redirect links that we were
generating for distributions not present in the package index were
failing with `403` errors.

@ankostis, I have not had time to look into why the standalone tests are
failing. Perhaps we should just ignore them in order to get a new
version out once this is merged to master?
2017-10-31 12:34:22 -05:00
Jordan Speicher
519c195253 Default fallback_url to use HTTPS
`pypi.python.org/simple` will respond to HTTP requests with `403: SSL is required.`

This will change the default fallback_url to use HTTPS.  This should fix #179.
2017-10-26 12:44:05 -05:00
Matthew Planchard
d62d81309b Merge pull request #173 from bertjwregeer/bugfix/multiple_servers
Allow creating multiple servers using Paste
2017-09-19 08:56:21 -05:00
Bert JW Regeer
ecfd1796a7 Add test to disallow regression 2017-03-31 12:48:08 +02:00
Bert JW Regeer
5f1804fd4b Allow creating multiple servers using Paste
This brings back the import hack that allows one to use Paste urlmap to
compose multipe PyPi servers within a single WSGI server.

After importing _app, we remove it from sys.modules so that future
imports will have their own copy, this allows globals to function
correctly and each _app to have their own variables.
2017-03-31 12:25:21 +02:00
Matthew Planchard
a60719f442 Merge pull request #172 from mplanchard/doc-update
Update Search Documentation
2017-03-19 15:25:22 -05:00
Matthew Planchard
ea79bd096b Merge pull request #132 from khornberg/feature/matrix-auth
Add matrix auth
2017-03-19 15:25:06 -05:00
Matthew Planchard
8a65456239 Update Search Documentation
* Fixed endpoint for search example
* Noted the lack of a `/simple` endpoint for search
* Added `search` to the list of explicitly enumerated
functionality in `Known Limitations`
2017-03-19 15:10:01 -05:00
Kyle Hornberg
29c1803eae Add matrix auth exceptions 2017-02-21 16:29:47 -06:00
Kyle Hornberg
c79dd18ef6 Add multiple user auth to docs 2017-02-21 16:29:47 -06:00
Kyle Hornberg
568f901ace Add test for multiple actions with multiple users 2017-02-21 16:29:47 -06:00
Kyle Hornberg
3d37c00999 Add matrix auth 2017-02-21 16:29:47 -06:00
Kostis Anagnostopoulos
51bf5ac961 Merge pull request #169 from mplanchard/luismsgomes-master
Fix #169 & #156: some configuration keywords were not being propagated into the app: 

authenticated, password_file, log_file, verbosity
2017-02-21 13:06:43 +01:00
Luís Gomes
86cbda1719 minor refactoring; removed extraneous print() 2017-02-15 17:30:21 +01:00
Luís Gomes
4df5e6f96d fixed Python2 incompatability introduced in previous commit 2017-02-15 17:30:17 +01:00
Luís Gomes
a54c2b8606 propagate configuration from paste.ini 2017-02-15 17:30:13 +01:00
Matthew Planchard
ff06fbf5d5 Merge pull request #161 from ITler/ITler-patch-2
Added receipe for reverse proxy configuration
2017-02-13 21:07:44 -06:00
Matthew Planchard
27e34fc6e4 Merge pull request #166 from tescalada/patch-1
fixing systemd file typo
2017-02-13 20:17:42 -06:00
Tristan Escalada
6b1d142096 fixing systemd file typo
replacing --P with -P
2017-01-08 00:49:35 -05:00
Kostis Anagnostopoulos
c6c634b06f FIX #162: upf CHANGES. 2016-09-24 18:56:17 +02:00
Youhei Sakurai
b6503b02f6 Fix twine's version up to 1.7.4 to avoid failures in test_server.py 2016-09-23 14:08:08 +09:00
Youhei Sakurai
096ff074bf Fix broken example of auther usage 2016-09-23 12:54:04 +09:00
ITler
c6135e4fa5 Update README.rst 2016-09-06 09:42:50 +02:00
Kostis Anagnostopoulos
6777a78662 Merge pull request #158 from mplanchard/mp-fix-twine-tests
Update Tests for Twine >= 1.7 to Fix Test Failures
2016-09-05 17:29:52 +03:00
Matthew Planchard
4b94647cef * trying update within gen-standalone again 2016-07-17 16:35:39 -05:00
Matthew Planchard
3244424352 Back to --no-check-certificate 2016-07-17 16:28:39 -05:00
Matthew Planchard
45cc42c5a6 Local certfile 2016-07-17 16:25:09 -05:00
Matthew Planchard
c6a8568e74 * attempting cert update within gen_standalone.sh 2016-07-17 15:38:53 -05:00
Matthew Planchard
da240aabc9 * verifying whether it is a cert problem 2016-07-17 15:29:03 -05:00
Matthew Planchard
b01bf47b96 * added debug flags to bash scripts 2016-07-17 15:23:20 -05:00
Matthew Planchard
5371afdaaa * Removed cert update from travis 2016-07-17 15:13:58 -05:00
Matthew Planchard
14c599773b * Attempt to update certs via travis 2016-07-17 15:04:00 -05:00
Matthew Planchard
78f04c3a70 * Fixed bash syntax error 2016-07-17 15:00:15 -05:00
Matthew Planchard
cee57dfe89 * Manual cert update 2016-07-17 14:58:18 -05:00
Matthew Planchard
a05d5a103b Update Tests for New Twine
* Updated .travis.yml to fix PEP 440 warnings
* Fixed twine calls

We were getting test failures on multiple branches in
`test_server.py`. I first investigated a warning message
popping up in every test run:

```
PEP440Warning,
/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/pkg_resources/__init__.py:2510: PEP440Warning: 'setuptools (git-0.4.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
```

Moving the installation of setuptools, pip, sphinx, and tox
into the `install` key for Travis resolved that issue, but
`test_server.py` tests were still failing. It turns out that
Twine 1.7.0 added support for SSL cert specification and,
in the process, changed the call signature for the `upload`
and `register` internal methods.

This PR fixes the calls so that they align with Twine's new
function signature. Note that tests now fail on Twine <1.7.0,
so I have also updated the dev requirements file.
2016-07-17 14:35:58 -05:00
Kostis Anagnostopoulos
117a61ed14 doc: Improve mod_wsgi instructions for #155. 2016-07-03 01:44:16 +02:00
Kostis Anagnostopoulos
5dc04cd47d doc: Group recipies as new section, move --help at top.
+ Minor improve in `mod_wsgi` recipe.

t
2016-07-02 20:52:41 +02:00
Kostis Anagnostopoulos
916809ea7e doc: restructure client-side, auth & upload sections. 2016-07-02 13:53:19 +02:00
Kostis Anagnostopoulos
8f386aaf99 build: update buildout reqs - do we still use them?? 2016-06-28 15:22:09 +02:00
Kostis Anagnostopoulos
62f60ccef7 docs: Add mplanchard into maintainers.
- ci: check standalone before anything else.
2016-06-28 13:18:03 +02:00
Kostis Anagnostopoulos
18e5a8dbcb FIX #154, docs: TC-script checking README RST-compliance for PyPi. 2016-06-28 13:05:11 +02:00
Kostis Anagnostopoulos
ea7ed979de Bump v1.2.1.dev0. 2016-06-25 05:24:38 +02:00
Kostis Anagnostopoulos
792d4764f0 Bump v1.2.0(<--1.2.0b0)
+ doc: Reformat changes.
v1.2.0 v1.2.0b2
2016-06-25 04:33:00 +02:00
Kostis Anagnostopoulos
6ed641cd95 doc: Update changes about 2016-06-25 04:08:05 +02:00
Kostis Anagnostopoulos
73c8cb704f doc: promote API as new top-level section & reoder it. 2016-06-25 04:02:59 +02:00
Kostis Anagnostopoulos
3324ff9e21 doc: Improve pam API-example. 2016-06-25 03:17:26 +02:00
Kostis Anagnostopoulos
10974cc1b9 main: Enable bottle-debug only when verbose. 2016-06-25 03:17:25 +02:00