Skip to content

Releases: EpicWink/proxpi

Version 1.0rc0

16 Mar 16:54
v1.0.0rc0
Compare
Choose a tag to compare
Version 1.0rc0 Pre-release
Pre-release

Changes since v0.1

Features

  • Add home page with index invalidation and link to index root
  • Add environment variable PROXPI_CACHE_DIR to set file-cache directory

Improvements

  • Reduced Docker image size
  • Avoid requesting index by assuming package URL
  • Use single request session for cache
  • Protect file-cache eviction with a lock
  • Remove smallest files first when evict from file-cache
  • Convert user-assert into RuntimeError

Fixes

  • Download-fail response not cached

Version 0.1

16 Apr 11:15
d292c11
Compare
Choose a tag to compare

Initial release

Features

  • Host a proxy PyPI mirror server with caching
    • Cache the index (package list and packages' file list)
    • Cache the package files
  • Support multiple indices
  • Set index cache times-to-live (individually for each index)
  • Set files cache max-size on disk
  • Manually invalidate index cache
pip install proxpi==0.1
docker pull epicwink/proxpi:v0.1.0

Version 0.1rc0

27 Mar 09:33
v0.1.0rc0
Compare
Choose a tag to compare
Version 0.1rc0 Pre-release
Pre-release

Features

  • Cache configuration is logged (info level) on start-up
  • Add CI-specific documentation in the README

Changes

  • Extra index URLs and TTLs in environment variables PROXPI_EXTRA_INDEX_URLS and PROXPI_EXTRA_INDEX_TTLS are comma-separated instead of white-space separated
  • Package file download (eg due to cache directory permissions, or to unauthorised request) will redirect client to download from original URL instead of crashing server

Improvements

  • Jinja is required
  • Cached files are saved using original filename

Fixes

  • Docker image has lxml installed

Version 0.1a3

21 Mar 07:02
v0.1.0a3
Compare
Choose a tag to compare
Version 0.1a3 Pre-release
Pre-release

Changes

  • Main index environment variables have been renamed (dropped the ROOT part)

Improvements

  • Files aren't downloaded at all if file-cache is disabled (ie max file cache size is 0)
  • Passwords are masked in logged URLs

Version 0.1a2

21 Mar 06:05
v0.1.0a2
Compare
Choose a tag to compare
Version 0.1a2 Pre-release
Pre-release

Features

  • Index and package file list cache invalidation
  • Set max disk-usage of cached files
  • Support coloured logging when coloredlogs is installed
  • Expose cache functionality
  • All files from all indices for a package is returned, instead of just the first index the package was found in
  • Any fragment in the original index is returned
  • Any attributes in the original index is returned

Changes

  • Change package structure: app is now at proxpi.server.app
  • An exception during file-download will be raised instead of returning the original URL
  • Environment variables have been renamed, and are now all prefixed with PROXPI_
  • Debug-logging only enabled during testing and debugging: otherwise uses info-logging

Improvements

  • Use lxml for HTML parsing: significant speed up in package-list from PyPI
  • Added integration tests
  • Cache isn't initialised unless proxpi.server is imported
  • Cache initialisation happens asynchronously
  • URLs are built in templates
  • Index caches are thread-safe

Version 0.1a1

16 Mar 13:31
v0.1.0a1
Compare
Choose a tag to compare
Version 0.1a1 Pre-release
Pre-release

Features

  • Add cache-miss logging

Version 0.1a0

16 Mar 12:46
v0.1.0a0
Compare
Choose a tag to compare
Version 0.1a0 Pre-release
Pre-release

Features

  • Host a proxy PyPI mirror server with caching
  • Support extra index URLs
  • Support index cache times-to-live (individually for each index)