Commit Graph

16 Commits

Author SHA1 Message Date
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
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
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
133afe28f7 Rework standalone generation using ZIP.
+ Standalone executable based on wheel.
+ Properly use `pkg_resources` so reading `welcome-msg` file
  works even from within zip.
  + Mark `zip_safe=True` in setup.py.
+ Delete forgotten distutils startup script.
+ Build standalone before installing anything else,
  to check if any deps are missing.
+ Restore py25 in Travis.
2015-09-17 01:13:37 +02:00
Kostis Anagnostopoulos at STUW025
2c1ceb04b5 Restructure main to allow for gevent monkeypatch (FIX #49).
+ Update zip and setuptools startup-cripts.
2015-09-15 22:22:09 +02:00
Arcadiy Ivanov
2d0de09d30 Incorrect package name detection with OSX version scheme #88
Fixes package name and package version handling of bdist_dumb
packages

Detects OS name boundary as specified in
http://svn.python.org/projects/python/trunk/Lib/distutils/util.py

Also detects cpN and pyN boundary

fixes #88, connected to #88
2015-08-04 20:55:34 -04:00
ankostis@kilo
cf03226ea2 Add Logging for all http actions.
* Use stabdard python's logging lib.
* Log http-request/response/errors.
* Cmd-line options for logging-format and filename.
* Cmd-line options for request /response/error requests/responses/errors
props to log.
* Add `-v` option controlling verbosity.
* Add docs about new options.
* TCs only `-v` & `--log_file ` (logging statements used throughout all
tests).
2014-11-17 16:51:45 +01:00
Ralf Schmitt
af62cfbf3e better handling for wheel files
use pip's wheel regex. this should fix #44.
2014-01-20 21:37:52 +01:00
Ralf Schmitt
95f24b0a99 test package name and version guessing with wheel files
see https://github.com/schmir/pypiserver/issues/44
2014-01-19 21:55:14 +01:00
Ralf Schmitt
72a4bfc3ce test guess_pkgname_and_version with one more filename 2013-07-22 21:24:29 +02:00
Nick Pope
402a04e9af More robust guessing of package name and version.
Added support for some other package naming schemes.
2013-07-19 16:00:20 +01:00
Nick Pope
c3737bdf07 Fix guessing of package name and version.
The fix in commit 7f97612 for supporting the package naming used by the
pytz module caused a regression if the package name contained a dash
followed by a number. We fix this by splitting on all dashes followed by
numbers and recreating the package name from all components but the
last.
2013-07-19 11:42:36 +01:00
Ralf Schmitt
c76390e333 get rid of pkgset class
instead we use an iterator that returns all relevant information. that
simplifies the code quite a bit because we now mostly operate on the
iterators result instead of handling filenames, versions, prefixes...
2012-12-26 01:15:03 +01:00
Ralf Schmitt
ec01935af6 test guess_pkgname_and_version with 'pep8' 2012-03-26 01:05:11 +02:00
Ralf Schmitt
f8818e2d9e add some more tests for guess_pkgname_and_version 2012-03-26 00:59:59 +02:00
Ralf Schmitt
dc0303bb1f add some tests for the pytz issue #6
pytz's version is '2012b' which we currently don't recognize as a
version string.
2012-03-26 00:59:59 +02:00