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

408 Commits

Author SHA1 Message Date
Craig Davis
74dab8d812 Added not about readme 2016-02-17 15:26:16 -06:00
Craig Davis
8d7558dcc5 We should not be revealing the path on the pypiserver returning version instead of summary/description as we don't have that info 2016-02-17 15:24:21 -06:00
Craig Davis
31c85e9fe0 Previous commit was non working, redid to strip out hacks and replace with libxmlrpc to generate valid xmlrpc responses 2016-02-17 15:16:22 -06:00
Craig Davis
7557217c2d Importing changes from #80 2016-02-17 12:54:00 -06:00
Kostis Anagnostopoulos
b42c8c3840 Merge pull request #113 from blade2005/bugfix/overwriting-existing-files-without-overwrite-flag
Bug fix for overwriting existing files without the overwrite flag bei…
2016-02-16 22:17:16 +01:00
Craig Davis
9fb44af448 Bug fix for overwriting existing files without the overwrite flag being set to true. 2016-02-16 14:09:05 -06:00
Chris Seymour
25a98ed9a7 app: log the user who stored the package. 2016-01-27 22:07:55 +01:00
Kostis Anagnostopoulos
815f6eb0eb docs: Added logo, improve opening. 2016-01-22 04:58:25 +01:00
ankostis on tokoti
51cca9c29b Add Matthew Planchard as project Author. 2016-01-21 00:38:07 +01:00
Matthew Planchard
4a299ec40b Added python3.5 support to setup.py and tests for #108
- Added wheel to dev requirements
2016-01-20 23:30:22 +01:00
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