Skip to main content

devpi-web: a web view for devpi-server

Project description

devpi-web: web interface plugin for devpi-server

This plugin adds a web interface with search for devpi-server.

See https://doc.devpi.net for quickstart and more documentation.

Installation

devpi-web needs to be installed alongside devpi-server.

You can install it with:

pip install devpi-web

There is no configuration needed as devpi-server will automatically discover the plugin through calling hooks using the setuptools entry points mechanism.

Support

If you find a bug, use the issue tracker at Github.

For general questions use the #devpi IRC channel on freenode.net or the devpi-dev@python.org mailing list.

For support contracts and paid help contact merlinux.eu.

Changelog

4.0.1 (2019-12-18)

Bug Fixes

  • Fix #756: correct URL to toxresults when using latest or stable as version in URL.

  • Fix caching of Whoosh indexer, so memory is properly freed.

  • Add warnings and errors for indexing to status page/badge.

4.0.0 (2019-10-19)

Deprecations and Removals

  • The --recreate-search-index option was replaced with the devpi-clear-search-index command.

  • Dropped support for Python 2.7.

Features

  • project.pt: implement #319 - add link to latest version and summary of latest version to project view

  • doc.pt: implement #339: when viewing older documentation, show link to latest and stable documentation.

  • implement #346: add support for ‘latest’ and ‘stable’ versions for project version URLs

  • version.pt, style.css: implement #347 - show navigation link when newer version is available

  • status.pt: Fix #500 - the outside url in +status is now clickable.

  • Fix 564: set response headers to not cache anything for “latest” and “stable” documentation URLs.

  • index.pt, toxresult.pt, version.pt, style.css: Fix #632 - show warning symbol when no tests were run in tox results.

  • The search indexing is now performed in a separate thread. Indexing prioritizes private indexes, then projects downloaded from mirrors and lastly never downloaded projects from mirrors.

  • On server start a refresh run for the search index is started automatically. In addition to that the indexing is done in smaller batches, which allows resuming of indexing the large pypi project lists.

  • In many cases re-indexing is now avoided.

  • The master url in the +status view is now clickable.

  • Add new --documentation-path option to set the path where documentation is unzipped to.

  • version.pt, common.js: all list like metadata is now collapsed to ~3 lines instead of only classifiers.

  • The --recreate-search-index option now just removes the whole index. Upon server restart the index is rebuilt automatically in the background.

  • Indexing of mirrors will not trigger a refresh of the simple links for projects which have downloaded releases. This allows quicker indexing for new replicas and in case the search index is rebuilt using --recreate-search-index.

  • root.pt: added new view for user

  • The path for Whoosh index files can now be specified as an option like this: --indexer-backend whoosh:path=/...

  • Indexer backend options can now be specified as a dict in yaml config files.

Bug Fixes

  • Fix #567: the pip search view is no longer proxied to the master.

  • Pass query string on to documentation iframe, this fixes Sphinx search among other things.

Other Changes

  • macros.pt, version.pt, style.css: moved separators to css.

  • The minimum supported version of devpi-server is now 5.2.0.

  • The interface of update_projects for search indexers has changed. The list of projects is now a list of ProjectIndexingInfo objects instead of dict. To get the dictionary as before, call preprocess_project on the object.

3.5.2 (2019-06-28)

Bug Fixes

  • iterate over mirror projects instead of building full list for indexing.

3.5.1 (2019-04-26)

Bug Fixes

  • when mirror names are indexed a full reindex was triggered, now only the project names of the mirror are indexed.

  • require –offline mode when using –recreate-search-index option. Otherwise reindexing may hang when trying to index a mirror.

3.5.0 (2018-11-16)

Features

  • feature #193: adding support for using markdown in package descriptions.

Bug Fixes

  • fix #594: fix more url in search results

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devpi-web-4.0.1.tar.gz (103.2 kB view details)

Uploaded Source

Built Distribution

devpi_web-4.0.1-py3-none-any.whl (93.3 kB view details)

Uploaded Python 3

File details

Details for the file devpi-web-4.0.1.tar.gz.

File metadata

  • Download URL: devpi-web-4.0.1.tar.gz
  • Upload date:
  • Size: 103.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: devpi-server/5.3.2.dev0 (py3.7.3; linux)

File hashes

Hashes for devpi-web-4.0.1.tar.gz
Algorithm Hash digest
SHA256 6e4f5cfb3f9367ac7ab825fffbc9bccebe4893e149750c9448bb23257cc4ea0c
MD5 2ed75d0afc1f60535c7e009d7b44eebc
BLAKE2b-256 ee70d781cbd254a8d3542f1e9e65594a2374de995ccd926980dbf4d4ded0ce69

See more details on using hashes here.

File details

Details for the file devpi_web-4.0.1-py3-none-any.whl.

File metadata

  • Download URL: devpi_web-4.0.1-py3-none-any.whl
  • Upload date:
  • Size: 93.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: devpi-server/5.3.2.dev0 (py3.7.3; linux)

File hashes

Hashes for devpi_web-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c1a0db9c3292f97615ccb80f1f50ddd4d139419a1351c5b587f7d7b8e32a52c
MD5 151d0d64c4a813d0cf850def01ef9a49
BLAKE2b-256 8a1aa2db68c5ee8d2b4c25571d1a6f3366fe23ea139b6b2510453ee46b67347f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page