Skip to content
Snippets Groups Projects

Lookup backends/proxies from setuptools entry-points instead of hardcoded list

Merged vlorentz requested to merge entrypoints into master
1 unresolved thread

This will allow other packages to register other implementations usable through get_storage

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
26 26 testing = {file = ["requirements-test.txt", "requirements-swh-journal.txt"]}
27 27 journal = {file = ["requirements-swh-journal.txt"]}
28 28
29 [project.entry-points."swh.storage.classes"]
30 "remote" = "swh.storage.api.client:RemoteStorage"
31 "memory" = "swh.storage.in_memory:InMemoryStorage"
32 "cassandra" = "swh.storage.cassandra:CassandraStorage"
33 "postgresql" = "swh.storage.postgresql.storage:Storage"
34 # deprecated
35 "local" = "swh.storage.postgresql.storage:Storage"
  • Jenkins job DSTO/gitlab-builds #507 succeeded .
    See Console Output and Coverage Report for more details.

  • David Douard approved this merge request

    approved this merge request

  • lgtm, thx

  • Author Maintainer

    I'll wait for !1111 (merged) and !1112 (merged) to be merged and released before merging this MR so their deployment isn't slowed down by unexpected issues in this refactoring

  • Nicolas Dandrimont mentioned in merge request !1116 (merged)

    mentioned in merge request !1116 (merged)

  • vlorentz added 33 commits

    added 33 commits

    Compare with previous version

  • vlorentz enabled an automatic merge when the pipeline for 092f7a11 succeeds

    enabled an automatic merge when the pipeline for 092f7a11 succeeds

  • Jenkins job DSTO/gitlab-builds #587 succeeded .
    See Console Output and Coverage Report for more details.

  • merged

  • Please register or sign in to reply
    Loading