Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • D dbscripts
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • dbscripts
  • Merge requests
  • !10

Be less tightly coupled with SVN

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Jelle van der Waa requested to merge github/fork/LukeShu/lukeshu/to-upstream/dont-parse-pkgbuild into master Jun 22, 2018
  • Overview 22
  • Commits 11
  • Pipelines 0
  • Changes 14

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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/LukeShu/lukeshu/to-upstream/dont-parse-pkgbuild