Staging instance, all changes can be removed at any time

Skip to content

Revert "cli.db: Use attribute current_version instead of undeclared getter"

This reverts commit 5cda0ca6 (!324 (closed)) which is not the proper fix.

The proper fix plan becomes:

  • fix documentation to explicit the get_current_version intention

  • either fix swh-scrubber (and whatever else non-compliants backends) or provide a default implementation in BaseDb [1] to actually expose that get_current_version (that can then be overriden if something specific needs to be developed for a new datastore).

  • [1] does both by updating swh.core.db

Related to T4284


Migrated from D7943 (view on Phabricator)

Merge request reports

Loading