[arch-projects] [dbscripts] [PATCH 1/4] Preliminary work to break out svn-specific code.

2018-10-08 Thread Eli Schwartz via arch-projects
Introduce "db-functions-$VCS" which will eventually contain all VCS-specific code, and make this configurable in config. Move private arch_svn function and svn acl handling here, and introduce a new source_pkgbuild function to handle discovering PKGBUILDs from the configured VCS and sourcing them

[arch-projects] [dbscripts] [PATCH 4/4] Finish the svn refactor by implementing helper functions to write to the VCS

2018-10-08 Thread Eli Schwartz via arch-projects
Signed-off-by: Eli Schwartz --- db-functions-svn | 46 ++ db-move | 23 --- db-remove| 5 ++--- 3 files changed, 52 insertions(+), 22 deletions(-) diff --git a/db-functions-svn b/db-functions-svn index

[arch-projects] [dbscripts] [PATCH 0/4] Refactoring svn calls

2018-10-08 Thread Eli Schwartz via arch-projects
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

[arch-projects] [dbscripts] [PATCH 2/4] Factor out the exporting of files/folders from svn.

2018-10-08 Thread Eli Schwartz via arch-projects
As of the source_pkgbuild rewrite, this is only ever done once. Signed-off-by: Eli Schwartz --- cron-jobs/sourceballs | 3 +-- db-functions-svn | 15 +++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index