Skip to content

Be less tightly coupled with SVN

Created by: LukeShu

This patchset is intended to clean up dbscripts' interaction with SVN. Besides (IMO) improved code clarity, this should make it easier for those who wish to replace SVN with something else.

There are two major themes here:

  1. Avoid asking SVN for information; to the extent possible, get all information directly from the pacman repos.
  2. Isolate SVN-interfacing code in to functions; making it clear what interfaces the PKGBUILD tracking needs to provide.

This does not touch the test suite, which is still firmly SVN-dependent.

I've cc'd Florian Pritz because of his related work on migrating to git. https://wiki.archlinux.org/index.php/User:Bluewind/dbscripts-rewrite

v2:

  • Add a test to verify that db-move works with single-arch packages; which was broken in v1 of this patchset
  • Don't break db-move with single-arch packages

This is identical to v2 of the patchset submitted to the mailing list https://lists.archlinux.org/pipermail/arch-projects/2018-June/004930.html

Merge request reports