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

620 Commits

Author SHA1 Message Date
Kostis Anagnostopoulos
80acc45c80 Merge pull request #119 from corywright/fix-apache-docs
Update docs about `root=...` kwd when starting pypiserver via apache/mod_wsgi
2016-03-21 18:41:57 +01:00
Matthew Planchard
bbf5afeb1c Merge pull request #126 from harcher81/master
Fix typo, the package name is pypiserver
2016-03-21 09:41:38 -05:00
Mathieu Cantin
cd7ace2136 Update README.rst
Fix typo, the package name in pypi is pypiserver and not pypi-server.
2016-03-21 10:28:39 -04:00
Kostis Anagnostopoulos
e5798be530 FIX #124: Forgotten paste bad root attribute.
- Obviously a TC is needed there.
2016-03-20 19:54:05 +01:00
Dustin Spicuzza
7d6c23fd00 Fix --hash-algo=off 2016-03-15 17:00:53 -04:00
Dustin Spicuzza
37d21db134 Add a separate cache for file digests
- It's harder to make the listdir cache not recalculate, because when a file changes you need to only touch the file that changed. However, for file digests, the key is one-to-one, and very simple to invalidate.
- This cache is especially useful when you have a lot of really large packages
2016-03-15 16:10:49 -04:00
Kostis Anagnostopoulos
b1b36f3a13 Merge pull request #121 from mplanchard/specify_passlib_version
Added passlib version specification (#120)
2016-03-11 20:34:35 +01:00
Matthew Planchard
3278e5c0e4 Added passlib version specification (#120) 2016-03-11 11:46:29 -06:00
Cory Wright
595e76ba6c Update documentation for starting via apache/mod_wsgi 2016-03-10 20:39:43 -05:00
Kostis Anagnostopoulos
8267af82b5 Merge pull request #118 from corywright/fix-gunicorn-docs
Fix documentation for starting pypiserver with gunicorn
2016-03-10 23:30:59 +01:00
Cory Wright
eac92a79bc pypiserver:app requires kwargs even for root directory 2016-03-10 09:11:44 -05:00
Craig Davis
b4eb492229 Somehow a auth list got removed in the update 2016-02-17 15:46:30 -06:00
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