From 55f4f202fd05b35a6a696d60187d6dc4f6c481c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?coadde=20=5BM=C3=A1rcio=20Alexandre=20Silva=20Delgado=5D?= Date: Wed, 23 Sep 2015 22:03:52 -0300 Subject: add more config --- etc/dbscripts.cfg | 2 +- etc/dbscripts.d/gnu+linux.cfg | 39 +++++++++++++++++++++++++++ etc/dbscripts.d/gnu+linux_arm_arch_legacy.cfg | 27 +++++++++---------- etc/dbscripts.d/gnu+linux_x86_arch_legacy.cfg | 32 +++++++++++----------- 4 files changed, 68 insertions(+), 32 deletions(-) create mode 100644 etc/dbscripts.d/gnu+linux.cfg (limited to 'etc') diff --git a/etc/dbscripts.cfg b/etc/dbscripts.cfg index fbce0b1..48b2853 100644 --- a/etc/dbscripts.cfg +++ b/etc/dbscripts.cfg @@ -3,7 +3,7 @@ root_dir="/srv/repo/main" # distributions -native_distributions=() +native_distributions=('gnu+linux') derivative_distributions=('gnu+linux_x86_arch_legacy' 'gnu+linux_arm_arch_legacy') distributions=("${native_distributions}" "${derivative_distributions}") diff --git a/etc/dbscripts.d/gnu+linux.cfg b/etc/dbscripts.d/gnu+linux.cfg new file mode 100644 index 0000000..a1ea5fd --- /dev/null +++ b/etc/dbscripts.d/gnu+linux.cfg @@ -0,0 +1,39 @@ +#!/hint/bash + +# Main repositories +main_multilib_repositories=('multilib' 'multilib-testing') +main_repositories=('core' 'extra' 'testing') +# Derivative repositories +derivative_multilib_repositories=() +derivative_repositories=() +# OS repositories +os_repositories=('nonsystemd' 'nonsystemd-testing') +# Community repositories +community_repositories=('pcr' '~aurelien' '~brendan' '~coadde' '~drtan' '~emulatorman' '~jorginho' '~lukeshu' '~smv' '~xihh') +# Extra repositories +extra_repositories=('nonprism' 'nonprism-testing' 'kernels' 'cross' 'java') +# Remote repositories +multilib_repositories=("${main_multilib_repositories[@]}" "${derivative_multilib_repositories[@]}") +repositories=("${extra_repositories[@]}" "${os_repositories[@]}" "${main_repositories[@]}" "${derivative_repositories[@]}" "${community_repositories[@]}") +packages_pool='pool/parabola_gnu+linux' +sources_pool='sources/parabola_gnu+linux' + +# Directories where packages are shared between repos +# *relative to root_dir* +native_packages_pools=(pool/parabola_gnu+linux) +derivative_packages_pools=() +packages_pools=(${native_packages_pools[@]} ${derivative_packages_pools[@]}) +# Directories where sources are stored +native_packages_pools=(sources/parabola_gnu+linux) +derivative_sources_pools=() +sources_pools=(${native_sources_pools[@]} ${derivative_sources_pools[@]}) + +multilib_architectures=() +architectures=('mips64el' "${multilib_architectures}") +native_architectures=("${architectures}") +derivative_architectures=() + +# sync for derivative distribution (db-sync) +sync_domain= +sync_domain_path= +sync_domain_directory= diff --git a/etc/dbscripts.d/gnu+linux_arm_arch_legacy.cfg b/etc/dbscripts.d/gnu+linux_arm_arch_legacy.cfg index f63fe1e..bbe26e9 100644 --- a/etc/dbscripts.d/gnu+linux_arm_arch_legacy.cfg +++ b/etc/dbscripts.d/gnu+linux_arm_arch_legacy.cfg @@ -1,41 +1,40 @@ #!/hint/bash # Main repositories +main_multilib_repositories=('libre-multilib' 'libre-multilib-testing') main_repositories=('libre' 'libre-testing') # Derivative repositories from Arch arm +derivative_multilib_repositories=() derivative_repositories=('core' 'extra' 'community' 'aur' 'alarm') +# OS repositories +os_repositories=('nonsystemd' 'nonsystemd-testing') # Community repositories community_repositories=('pcr' '~aurelien' '~brendan' '~coadde' '~drtan' '~emulatorman' '~jorginho' '~lukeshu' '~smv' '~xihh') # Extra repositories -extra_repositories=('nonsystemd' 'nonsystemd-testing' 'nonprism' 'nonprism-testing' 'kernels' 'cross' 'java') +extra_repositories=("${os_repositories[@]}" 'nonprism' 'nonprism-testing' 'kernels' 'cross' 'java') # Remote repositories -repositories=("${derivative_repositories[@]}" "${main_repositories[@]}" "${community_repositories[@]}" "${extra_repositories[@]}") +multilib_repositories=("${main_multilib_repositories[@]}" "${derivative_multilib_repositories[@]}") +repositories=("${extra_repositories[@]}" "${main_repositories[@]}" "${derivative_repositories[@]}" "${community_repositories[@]}") packages_pool='pool/parabola' sources_pool='sources/parabola' # Directories where packages are shared between repos # *relative to root_dir* -derivative_packages_pools=(pool/arch_gnu+linux-arm_main) native_packages_pools=(pool/parabola) +derivative_packages_pools=(pool/arch_gnu+linux-arm_main) packages_pools=(${native_packages_pools[@]} ${derivative_packages_pools[@]}) # Directories where sources are stored -derivative_sources_pools=(sources/arch_gnu+linux-arm_main) native_packages_pools=(sources/parabola) +derivative_sources_pools=(sources/arch_gnu+linux-arm_main) sources_pools=(${native_sources_pools[@]} ${derivative_sources_pools[@]}) -derivative_architectures=('arm' 'armv6h' 'armv7h' 'aarch64') +multilib_architectures=() +architectures=('arm' 'armv6h' 'armv7h' 'aarch64' "${multilib_architectures}") native_architectures=() -architectures=(${derivative_architectures[@]} ${native_architectures[@]}) +derivative_architectures=("${architectures}") -# derivative distribution sync (db-sync) +# sync for derivative distribution (db-sync) sync_domain="ftp.halifax.rwth-aachen.de" #sync_domain="http://sync_domain.yandex.ru" - sync_domain_path="archlinux-arm" sync_domain_directory="$_arch/$_repo" - -# x86 -# repo/os/arch/pkg - -# arm -# arch/repo/pkg diff --git a/etc/dbscripts.d/gnu+linux_x86_arch_legacy.cfg b/etc/dbscripts.d/gnu+linux_x86_arch_legacy.cfg index bc1bebd..289acb3 100644 --- a/etc/dbscripts.d/gnu+linux_x86_arch_legacy.cfg +++ b/etc/dbscripts.d/gnu+linux_x86_arch_legacy.cfg @@ -1,48 +1,46 @@ #!/hint/bash # Main repositories -main_repositories=('libre' 'libre-testing' 'libre-multilib' 'libre-multilib-testing') +main_multilib_repositories=('libre-multilib' 'libre-multilib-testing') +main_repositories=('libre' 'libre-testing' "${main_multilib_repositories[@]}") # Derivative repositories from Arch x86 -derivative_repositories=('core' 'extra' 'testing' 'community' 'multilib' 'multilib-testing') +derivative_multilib_repositories=('multilib' 'multilib-testing') +derivative_repositories=('core' 'extra' 'testing' 'community' "${derivative_multilib_repositories[@]}") +# OS repositories +os_repositories=('nonsystemd' 'nonsystemd-testing') # Community repositories community_repositories=('pcr' '~aurelien' '~brendan' '~coadde' '~drtan' '~emulatorman' '~jorginho' '~lukeshu' '~smv' '~xihh') # Extra repositories -extra_repositories=('nonsystemd' 'nonsystemd-testing' 'nonprism' 'nonprism-testing' 'kernels' 'cross' 'java') +extra_repositories=("${os_repositories[@]}" 'nonprism' 'nonprism-testing' 'kernels' 'cross' 'java') # Remote repositories -repositories=("${derivative_repositories[@]}" "${main_repositories[@]}" "${community_repositories[@]}" "${extra_repositories[@]}") +multilib_repositories=("${main_multilib_repositories[@]}" "${derivative_multilib_repositories[@]}") +repositories=("${extra_repositories[@]}" "${main_repositories[@]}" "${derivative_repositories[@]}" "${community_repositories[@]}") packages_pool='pool/parabola' sources_pool='sources/parabola' # Directories where packages are shared between repos # *relative to root_dir* -derivative_packages_pools=(pool/{packages,community}) native_packages_pools=(pool/parabola) +derivative_packages_pools=(pool/{packages,community}) packages_pools=(${native_packages_pools[@]} ${derivative_packages_pools[@]}) # Directories where sources are stored -derivative_sources_pools=(sources/{packages,community}) native_packages_pools=(sources/parabola) +derivative_sources_pools=(sources/{packages,community}) sources_pools=(${native_sources_pools[@]} ${derivative_sources_pools[@]}) -derivative_architectures=('i686' 'x86_64') +multilib_architectures=('x86_64') +architectures=('i686' "${multilib_architectures}") native_architectures=() -architectures=(${derivative_architectures[@]} ${native_architectures[@]}) +derivative_architectures=("${architectures}") -# derivative distribution sync (db-sync) +# sync for derivative distribution (db-sync) #sync_domain="sync_domains.kernel.org" sync_domain="sync_domains.niyawe.de" - ## sync_domains without sources folder #sync_domain="sync_domain.nl.leaseweb.net" #sync_domain="sync_domain.one.com" #sync_domain="sync_domain.us.leaseweb.net" #sync_domain="sync_domain.bytemark.co.uk" #sync_domain="sync_domain.de.leaseweb.net" - sync_domain_path="archlinux" sync_domain_directory="$_repo/os/$_arch/" - -# x86 -# repo/os/arch/pkg - -# arm -# arch/repo/pkg -- cgit v1.2.3-2-g168b