[arch-projects] [dbscripts] [PATCH 0/4] Refactoring svn calls
Eli Schwartz
eschwartz at archlinux.org
Mon Oct 8 21:22:26 UTC 2018
Having svn code intertwined with everything is complicated and results
in it being harder to replace svn with something else. As a first step
to hopefully migrating to git, I've refactored everything that directly
touched svn to be contained in db-functions-svn, and renamed to be
generic enough that any alternative backend should be able to implement
some VCS-specific "vcs_*" functions.
Also see https://github.com/archlinux/dbscripts/pull/12
Eli Schwartz (4):
Preliminary work to break out svn-specific code.
Factor out the exporting of files/folders from svn.
More work on refactoring svn moving into VCS-agnostic routines.
Finish the svn refactor by implementing helper functions to write to
the VCS
config | 7 ++-
cron-jobs/sourceballs | 3 +-
db-functions | 50 ++++++--------------
db-functions-svn | 106 ++++++++++++++++++++++++++++++++++++++++++
db-move | 56 ++++++++--------------
db-remove | 12 ++---
db-update | 4 +-
testing2x | 37 +++++----------
8 files changed, 165 insertions(+), 110 deletions(-)
create mode 100644 db-functions-svn
--
2.19.1
More information about the arch-projects
mailing list