1
0
mirror of https://github.com/pypiserver/pypiserver synced 2025-02-22 19:19:37 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Peter Slovak
c21cf72c25
Add the option to specify list of modules we don't want to update (#298)
* Add the option to specify list of modules we don't want to update

Signed-off-by: Peter Slovak <peter.slovak@websupport.sk>

* Fix docs

Signed-off-by: Peter Slovak <peter.slovak@websupport.sk>

* Minimize the number of strip() calls

Co-authored-by: Matthew Planchard <mplanchard@users.noreply.github.com>

* Log an exception when we fail to open/read the package blacklist file

* Abort server startup if we fail to read the blacklist file

Co-authored-by: Matthew Planchard <mplanchard@users.noreply.github.com>
2020-07-16 23:03:30 -05:00
Matthew Planchard
4109c10524 Tests and refactoring
* Refactored `updae()` into several single-responsibility functions
* Added tests for said functions
* Some PEP 008 cleanup
* Imported standard `__future__` imports in `manage.py` and its test
module
2018-08-04 16:17:56 -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
Kostis Anagnostopoulos, Yoga-2
c6a79ef9c2 FIX test with PEP8-PkgFile class. 2015-02-17 00:46:37 +01:00
Ralf Schmitt
3154943d3b fix is_stable_version 2013-06-22 22:50:51 +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