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

398 Commits

Author SHA1 Message Date
Kostis Anagnostopoulos
0c4c27fa5c v1.2.0.dev1 (<--1.1.10): Stop supporting py<2.7 & py<3.3 (#107). 2016-01-20 20:05:47 +01:00
Kostis Anagnostopoulos
cee248110b TravisCI: Stop testing on py3.2; too old! 2016-01-20 19:21:52 +01:00
Kostis Anagnostopoulos
2667df7125 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]
2016-01-19 21:21:08 +01:00
Kostis Anagnostopoulos
e25f9a6508 Prepare for release v1.1.10 (<--1.1.10.dev1).
+ Mention PGP-sigs in README.
+ Add thanks in CHANGES.
v1.1.10
2016-01-19 20:45:13 +01:00
Kostis Anagnostopoulos
27a0b05433 Merge branch 'allow-asc-uploads' into dev. 2016-01-19 20:10:22 +01:00
Kostis Anagnostopoulos
62fa55f250 app: Split /upload action into sub-functions.
+ pep8-formatted _app.py.
2016-01-19 20:07:45 +01:00
Kostis Anagnostopoulos
6dacda5677 gpg(#103), app: Rewritte /update to store pkg/sig in a loop.
+ Also check that sig-name matches uploaded pkg-name.
+ Log ignored /upload actions.
2016-01-19 20:06:43 +01:00
Kostis Anagnostopoulos
140796bb6e gpg, #106, test: Add upload+sig TC.
- Rename upload-file vars in /upload action.
2016-01-19 18:50:14 +01:00
Matthew Planchard
72f641595c gpg, #106: Fixed _app errors due to missing gpg_signature. 2016-01-19 18:41:53 +01:00
Matthew Planchard
abf8785f4d gpg, #106, test: Add TC for parsing all-filenames with .asc. 2016-01-19 18:41:53 +01:00
Matthew Planchard
7da927fd6e gpg, #106: adjusted from rebase onto master. 2016-01-19 18:41:52 +01:00
Matthew Planchard
64d0f3aef7 gpg: #106: Check also signature if overwrite.
- Re-organized call to core.store
- Added `.asc` mimetype
2016-01-19 18:41:52 +01:00
Matthew Planchard
2fff9a2c21 gpg #106: Updated logic for absent gpg info.
- core: Removed uneeded assertion.
2016-01-19 18:41:51 +01:00
Matthew Planchard
f40901bc33 Impl #106: Start impl uploading GPG-sigs.
- Added path munging for .asc files.
- core: store .asc files, if given.
- Testing sig-file parsing.
2016-01-19 18:41:31 +01:00
Kostis Anagnostopoulos
4f7d7a45a7 test: Increase client-server delay to fix non-deterministic TC fails. 2016-01-19 18:06:56 +01:00
Kostis Anagnostopoulos
ab2f170fe9 Rework package parsing.
+ FIX #104: Stopped parsing invalid package-versions prefixed with `v`;
  they are invalid according to :pep-reference:`0440`.
+ Also support versions with epochs separated by `!` like `package-1!1.1.0`.
+ Move bottle-filename check on app module.
2016-01-19 13:36:16 +01:00
Kostis Anagnostopoulos
02ef881387 doc: fix url in welcome-page's sample cmd. 2016-01-19 13:36:15 +01:00
Kostis Anagnostopoulos
4527573a50 app: Improve server-response error-messages.
+ test: Parametrize remove-pkg TCs.
2016-01-19 13:36:09 +01:00
ankostis on tokoti
25d83c8978 Bump v1.1.10.dev1 (<--1.1.9).
+ doc, FIX #103: Stop mentioning `.htaccess (htpasswd.txt).
1.1.10.dev1
2016-01-18 21:56:46 +01:00
ankostis on tokoti
6b904db6c5 FIX #102: uploading pkgs with +! chars in version.
+ Use `content.raw_filename` for allowing PEP0440 chars.
+ Add upload app-TCs.
+ Improve parse-pkg core-TC.
+ Update CHANGES on forthcomming release.
2016-01-17 22:47:00 +01:00
ankostis on tokoti
031f7a4289 FIX bad http-errors attached as 'output' header after bottle upgrade. 2016-01-17 21:56:48 +01:00
ankostis on tokoti
f2ee424af7 docs: Add flask-pypi-proxy to alternative projects. 2016-01-17 19:27:58 +01:00
Dustin Spicuzza
ea0bd394c6 Document optimizations 2016-01-04 17:40:39 -05:00
Dustin Spicuzza
e8f1f149a5 Add an optional in-memory cache to hold package list
- Precomputes various attributes
- File digest is cached on access
- Cache requires watchdog to be installed
2016-01-04 17:40:39 -05:00
Dustin Spicuzza
62f8626ed6 Precompile regex 2016-01-04 16:39:59 -05:00
ankostis on tokoti
c1fe0f9202 Bump v1.1.9 <-- 1.1.9.dev4.
+ Update CHANGES and rel-dates.
v1.1.9
2015-12-22 00:08:09 +02:00
ankostis on tokoti
ac20f9d36c log: Send bottle _stderr to logger.
+ Include logname in logformat.
+ FIX packagenames of getlogger() (were filepaths).
2015-12-21 23:57:55 +02:00
Kostis Anagnostopoulos
7036c04ee2 FIX Exception as ex for python<=2.5.
+ Fix also minor ident error.
2015-12-21 16:22:03 +01:00
Kostis Anagnostopoulos
d02123dbf1 Minor doc changes. 2015-12-21 16:03:27 +01:00
ankostis on tokoti
5c1be3928a Bump v1.1.9.dev4 <-- dev3. v1.1.9.dev4 2015-12-21 03:09:43 +02:00
ankostis on tokoti
011c79b8bf init: Use locals() in configure() to avoid explicitly listing **kwds.
+ Update CHANGES.
2015-12-21 03:01:16 +02:00
ankostis on tokoti
912d405a83 hashes, #53: Add --hash-algo option with TCs. 2015-12-21 02:50:15 +02:00
ankostis on tokoti
24eddb292a init: Continue de-duplication of config-options.
+ Move default-opts and class into `pypiserver` pkg, to be used by
python-clients.
+ main() reuses default-opts class. 
+ Also apply default options to paste-factory (UNTESTED).
+ Setup loggers with `__file__`.
+ Document and relate main-options & config-params.
2015-12-21 00:18:27 +02:00
ankostis on tokoti
2fe615f22e paste: Pass all paste-config params to app-config. 2015-12-20 21:00:44 +02:00
ankostis on tokoti
1e3cfb8f6b test: Increase 1-sec sleep after test-server startup. 2015-12-20 20:33:48 +02:00
ankostis on tokoti
25676cedfb init: Move configration-code into core.
+ FIX auth code (it failed test_main TC).
2015-12-20 20:22:35 +02:00
ankostis on tokoti
8a8d9e4f16 init: Enhance startup-sequence & Configuration class.
+ Remove duplication when setting start-up options.
+ Fix `g` prefix typo in log-format.
+ Log startup & final config options.
+ Configuration class prints options alphabetically.
+ Rename option `alt_auth` --> `auther`.
2015-12-20 19:56:46 +02:00
ankostis on tokoti
e55a325477 Bump v1.1.9.dev3 <-- dev2. v1.1.9.dev3 2015-12-20 03:30:00 +02:00
Bruce Flynn
1d9e8dfd5f Add missing template loop terminators 2015-12-20 02:22:29 +01:00
ankostis on tokoti
101c18fa55 FIX #97: Check if alt_auth is callable minor docs.
+ Set Authenticatorfunc on Configure object.
2015-12-20 03:21:17 +02:00
Tythos
905bf03120 #97: Add alt_auth API-opt for authing instead of HTPASSWD. 2015-12-20 03:10:33 +02:00
ankostis on tokoti
85e51d5a48 FIX #53: Append MD5 url-fragments on package links.
- TC only for digest-method.
2015-12-20 02:32:45 +02:00
ankostis on tokoti
91a9e5aa4a Prefix all usages of core items.
Makes code more readable and avoid circular-deps
2015-12-20 01:36:47 +02:00
Kostis Anagnostopoulos
47ea0700cf build: Include webtest into tet deps.
Not really needed, more as an info to the programmer.
2015-12-19 21:10:55 +01:00
Tythos
98c654d0b3 FIX #91: missspelled header(s) kwd in AuthDenying HTTPError. 2015-12-19 19:34:34 +02:00
ankostis on tokoti
332b393c5b FIX #96: README installs passlib dep by default. 2015-12-19 19:34:34 +02:00
Kostis Anagnostopoulos
80016b4fa5 Merge pull request #94 from andrefreitas/docker
Adds Dockerfile with a compose example.
2015-11-02 17:46:04 +01:00
André Freitas
d7ee3d936e Adds Dockerfile with a compose example. 2015-10-26 22:58:03 +00:00
Kostis Anagnostopoulos at kilo
1a9b782d96 Readme:FIX license shield.
+ Update py2.5 supported env
2015-09-21 18:28:33 +02:00
Kostis Anagnostopoulos at kilo
977ab69089 bump ver 1.1.9-dev.1-->dev.2
+ Add CHANGES in this version so far.
v1.1.9-dev.2
2015-09-21 04:19:36 +02:00