Commit Graph

253 Commits

Author SHA1 Message Date
Ralf Schmitt ab599f98f1 add a test for a package that uses both _ and - 2013-04-02 22:07:08 +02:00
Ralf Schmitt e62f662c47 make the /simple page work again when using python 3
this has been broken in the last commit.
2013-04-02 21:20:34 +02:00
Eliot 7ad9e2afd1 Remove duplicates from "/simple" index page
The main line repo
(c1b9386dff)
currently lists duplicate entries on the "/simple" index page if the
package name contains hyphens and if both a source file and egg file are
uploaded. One index entry contains hyphens in the name which matches the
source file name and the other entry contains underscores in the name
which matches the egg file. Clicking both links lead to pages which list
the same files (both the source file and the egg file).

The previous fix
(c6966afeed)
mostly fixed this problem but it did not account for package names that
included an underscore. Change the "/simple" index to use the name from
a non-egg file, since this name should not have hyphens converted to
underscores as egg files do. If there are only egg files, use the egg
file name.
2013-04-01 16:49:15 -07:00
Eliot c6966afeed Show names with hyphens instead of underscores
...on the "/simple" listing.

On the "/simple" listing page, names with hyphens and names with
underscores are currently both pointing to the same set of files due to
the use of `pypiserver.core.normalize_pkgname`. Make a change to display
only names with hyphens on the "/simple" listing page to avoid
duplication.
2013-03-29 17:47:42 -07:00
Ralf Schmitt c1b9386dff use zc.buildout 2 2013-03-20 22:47:39 +01:00
Baiju Muthukadan 0645655d83 indent index-server's items 2013-02-20 16:16:36 +05:30
Ralf Schmitt 3d6e5f614d ignore .class files 2013-02-18 23:23:44 +01:00
Ralf Schmitt 7a786ff84f make the standalone version work with jython 2.5.3 2013-02-18 23:23:13 +01:00
Ralf Schmitt b0437724ad update MANIFEST.in 2013-02-14 23:14:42 +01:00
Ralf Schmitt 7527aad9f0 add some missing things to the changelog 2013-02-14 23:12:51 +01:00
Ralf Schmitt 0db743cc59 upgrade bottle to 0.11.6 2013-02-14 23:11:01 +01:00
Ralf Schmitt bc9149ec32 upgrade to latest pypiserver-vendor with waitress 0.8.2 2013-02-14 23:06:00 +01:00
Ralf Schmitt a4a024cafd update release date 2013-02-14 23:01:20 +01:00
Ralf Schmitt 39e6fb7fc5 adapt usage message for multiple roots 2013-02-14 22:59:53 +01:00
Ralf Schmitt 244f3eb85a merge vsajip's support for verify, doc_upload and remove_pkg 2013-02-03 12:12:26 +01:00
Vinay Sajip 1c80385c52 Made error message slightly more informative. 2013-02-02 12:44:38 +00:00
Vinay Sajip 623c0dc736 Added support for verify, remove_pkg and doc_upload actions. 2013-02-02 12:41:08 +00:00
Ralf Schmitt 5161a8b9f5 prepare 1.1.0 release 2013-01-28 00:45:01 +01:00
Ralf Schmitt 6c8d1b55b7 allow multiple roots in paste_app_factory 2013-01-28 00:31:58 +01:00
Ralf Schmitt ff6fcdce18 normalize pkgnames, handle underscore like minus
as in egenix_pyopenssl vs egenix-pyopenssl
2013-01-22 23:35:33 +01:00
Ralf Schmitt c651f3c86f update bootstrap.py 2013-01-22 23:23:06 +01:00
Ralf Schmitt 408d288311 update bottle to 0.11.5 2013-01-22 23:04:53 +01:00
Ralf Schmitt 2232295412 implement multi-root support
one can now specify multiple package roots. watch out for filename
conflicts!
2013-01-22 23:00:48 +01:00
Eduard-Cristian Stefan f1d4208081 Fix small typos in README.rst 2013-01-07 14:58:47 +02:00
Ralf Schmitt 274036b7d6 merge buildout changes from branch-1.0 2013-01-04 02:15:18 +01:00
Ralf Schmitt 8ca376fadc add buildout config/bootstrap 2013-01-04 02:09:11 +01:00
Ralf Schmitt 458f16d3fd up version to 1.1.0dev 2013-01-04 00:24:20 +01:00
Ralf Schmitt e246d57046 merge with changes from 1.0.1 release 2013-01-04 00:22:47 +01:00
Ralf Schmitt 2d7b42cd80 make pypi-server-standalone not use waitress
waitress needs at least python 2.6
2013-01-03 22:13:45 +01:00
Ralf Schmitt 9dc1bafa47 up version to 1.0.1, update documentation 2013-01-03 21:53:03 +01:00
Ralf Schmitt 38936fadfc add trove classifier for python 3.3
(cherry picked from commit e484d36fae)
2013-01-03 21:32:01 +01:00
Ralf Schmitt b587049d52 remove warning about python 2.5 support from bottle
(cherry picked from commit 7a27f8c03b)
2013-01-03 21:31:02 +01:00
Ralf Schmitt 06ff91d214 synchronize README.rst with master 2013-01-03 21:28:36 +01:00
Eduard-Cristian Stefan afbf2a962d replace os.spawnlp with subprocess.call
(cherry picked from commit 67a048ebfd)
2013-01-03 21:28:36 +01:00
Ralf Schmitt 56f7270477 remove unused main function from manage.py
(cherry picked from commit 6c6ba6d165)
2013-01-03 21:28:13 +01:00
Eduard-Cristian Stefan 67a048ebfd replace os.spawnlp with subprocess.call 2013-01-03 15:13:30 +02:00
Ralf Schmitt b2c6410a39 handle package names case insensitive in filter_latest_pkgs
we probably also need to normalize _ vs - someday
2012-12-28 01:53:10 +01:00
Ralf Schmitt 16e3a2cd14 add some test for manage.py 2012-12-28 01:48:18 +01:00
Ralf Schmitt e484d36fae add trove classifier for python 3.3 2012-12-27 21:54:51 +01:00
Ralf Schmitt 7a27f8c03b remove warning about python 2.5 support from bottle 2012-12-27 01:29:14 +01:00
Ralf Schmitt 236023ca4c move creation of xmlrpc client to own function 2012-12-27 01:19:03 +01:00
Ralf Schmitt b6c814fde7 Merge master into issue-19-proxy-support
Conflicts:
	pypiserver/manage.py
2012-12-27 01:02:18 +01:00
Ralf Schmitt 7e8b44a803 make pkgfile.__repr__ 'evalable' 2012-12-27 00:36:14 +01:00
Ralf Schmitt ab7c175262 update documentation
- don't mention uploads in docs for alternatives
- just list supported python versions
- add a pointer to localshop
2012-12-27 00:27:40 +01:00
Ralf Schmitt fd27d77ac1 describe uploading via python setup.py upload
thanks nlaurance!
2012-12-27 00:16:45 +01:00
Ralf Schmitt 44191af49b refactor manage.py to work with core.pkgfile
that simplifies code a bit since we work with the same datastructure.
2012-12-26 23:26:28 +01:00
Ralf Schmitt 6c6ba6d165 remove unused main function from manage.py 2012-12-26 21:38:58 +01:00
Ralf Schmitt a1f2492e62 gitignore pytest-cov files 2012-12-26 01:23:00 +01:00
Ralf Schmitt 526045eb95 move parse_version to core 2012-12-26 01:22:00 +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