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
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
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
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