summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-06-22 12:28:48 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-10-07 19:33:38 -0400
commitbc1dde9138ce4023828f593f90e3bf7406c1f5d9 (patch)
treea16635932d1a35eb9bcf1d681a0d0024bbb6c6c2
parentd146f2433c1dc05043b0e226534f9e1dd479f1ef (diff)
Add from Parabola: Config
If you're seeing this in `git blame`, it chose to follow the wrong ancestor of a merge commit.
-rw-r--r--.gitignore1
-rw-r--r--config27
l---------config.local1
-rw-r--r--config.local.community (renamed from config.local.svn-community)0
-rw-r--r--config.local.packages (renamed from config.local.svn-packages)0
-rw-r--r--config.local.parabola20
6 files changed, 33 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index 293ca9f..0e8b2c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,3 @@
*~
-/config.local
/.idea
/coverage
diff --git a/config b/config
index 8e03883..f362b09 100644
--- a/config
+++ b/config
@@ -1,6 +1,7 @@
#!/hint/bash
-FTP_BASE="/srv/ftp"
+FTP_BASE="/srv/repo/main"
+
PKGREPOS=()
PKGPOOL=''
SRCPOOL=''
@@ -8,22 +9,22 @@ SRCPOOL=''
# VCS backend
VCS=none
-CLEANUP_DESTDIR="/var/tmp"
+CLEANUP_DESTDIR="/srv/repo/package-cleanup"
CLEANUP_DRYRUN=false
# Time in days to keep moved packages
CLEANUP_KEEP=30
-SOURCE_CLEANUP_DESTDIR="/var/tmp"
-SOURCE_CLEANUP_DRYRUN=false
+SOURCE_CLEANUP_DESTDIR="/srv/repo/source-cleanup"
+SOURCE_CLEANUP_DRYRUN=true
# Time in days to keep moved sourcepackages
-SOURCE_CLEANUP_KEEP=14
+SOURCE_CLEANUP_KEEP=30
LOCK_DELAY=10
-LOCK_TIMEOUT=300
-STAGING="$HOME/staging"
-export TMPDIR="/var/tmp"
-ARCHES=(x86_64)
+[ -n "${STAGING:-}" ] || STAGING="$HOME/staging/unknown/staging"
+[[ $STAGING = /* ]] || STAGING="$PWD/$STAGING"
+export TMPDIR="/tmp"
+ARCHES=(x86_64 i686 armv7h)
DBEXT=".db.tar.gz"
FILESEXT=".files.tar.gz"
SRCEXT=".src.tar.gz"
@@ -31,13 +32,9 @@ SRCEXT=".src.tar.gz"
# bash glob listing allowed extensions. Note that db-functions turns on extglob.
PKGEXTS=".pkg.tar.@(gz|bz2|xz|lzo|lrz|Z)"
-# Allowed licenses: get sourceballs only for licenses in this array
-ALLOWED_LICENSES=('GPL' 'GPL1' 'GPL2' 'GPL3' 'LGPL' 'LGPL1' 'LGPL2' 'LGPL2.1' 'LGPL3')
-
# Where to send error emails, and who they are from
-LIST="arch-dev-public@archlinux.org"
-#LIST="aaronmgriffin@gmail.com"
-FROM="repomaint@archlinux.org"
+LIST="maintenance@lists.parabola.nu"
+FROM="repo@repo.parabola.nu"
# Override default config with config.local
LOCAL_CONFIG=${DBSCRIPTS_CONFIG:-"$(dirname -- "$(readlink -e -- "${BASH_SOURCE[0]}")")/config.local"}
diff --git a/config.local b/config.local
new file mode 120000
index 0000000..906ba68
--- /dev/null
+++ b/config.local
@@ -0,0 +1 @@
+config.local.parabola \ No newline at end of file
diff --git a/config.local.svn-community b/config.local.community
index 5d61b5e..5d61b5e 100644
--- a/config.local.svn-community
+++ b/config.local.community
diff --git a/config.local.svn-packages b/config.local.packages
index 34aab35..34aab35 100644
--- a/config.local.svn-packages
+++ b/config.local.packages
diff --git a/config.local.parabola b/config.local.parabola
new file mode 100644
index 0000000..424aff6
--- /dev/null
+++ b/config.local.parabola
@@ -0,0 +1,20 @@
+#!/hint/bash
+
+PKGREPOS=(
+ 'core' 'testing' 'extra' 'community' 'multilib' 'multilib-testing'
+ 'build-support'
+
+ libre{,-multilib}{,-testing}
+ pcr{,-multilib}{,-testing}
+
+ nonsystemd{,-testing,-multilib}
+ nonprism{,-multilib}{,-testing}
+ kernels{,-testing}
+ cross
+ java
+ unmaintained
+
+ "~$USER"
+)
+PKGPOOL='pool/parabola'
+SRCPOOL='sources/parabola'