From fdeaed894a86e3b836848ddeabf64eb93f8d8af5 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Nov 2012 17:32:33 +0100 Subject: Use nymeria.archlinux.org as shared host for developers and trusted users --- crossrepomove.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crossrepomove.in') diff --git a/crossrepomove.in b/crossrepomove.in index 5a2c6e9..fa649b1 100644 --- a/crossrepomove.in +++ b/crossrepomove.in @@ -11,10 +11,10 @@ fi pkgbase="${1}" -packages_svn='svn+ssh://gerolde.archlinux.org/srv/svn-packages' -packages_server='gerolde.archlinux.org' -community_svn='svn+ssh://sigurd.archlinux.org/srv/svn-packages' -community_server='sigurd.archlinux.org' +packages_svn='svn+ssh://svn-packages@nymeria.archlinux.org/srv/repos/svn-packages/svn' +packages_server='nymeria.archlinux.org' +community_svn='svn+ssh://svn-community@nymeria.archlinux.org/srv/repos/svn-community/svn' +community_server='nymeria.archlinux.org' mirror='http://mirrors.kernel.org/archlinux' case $scriptname in -- cgit v1.2.3-70-g09d2 From 21458bd07b06e35b9b4ad6495440b9a0c4bbd345 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 11 Nov 2012 21:07:34 +0100 Subject: For now only packages and svn from sigurd will be moved to nymeria --- Makefile | 2 +- archco.in | 2 +- commitpkg.in | 10 +++++++++- crossrepomove.in | 4 ++-- rebuildpkgs.in | 2 +- 5 files changed, 14 insertions(+), 6 deletions(-) (limited to 'crossrepomove.in') diff --git a/Makefile b/Makefile index 5cd51b9..88479d5 100644 --- a/Makefile +++ b/Makefile @@ -115,6 +115,6 @@ dist: gpg --detach-sign --use-agent devtools-$(V).tar.gz upload: - scp devtools-$(V).tar.gz devtools-$(V).tar.gz.sig nymeria.archlinux.org:/srv/ftp/other/devtools/ + scp devtools-$(V).tar.gz devtools-$(V).tar.gz.sig gerolde.archlinux.org:/srv/ftp/other/devtools/ .PHONY: all clean install uninstall dist upload diff --git a/archco.in b/archco.in index 1ee977e..5d497cc 100644 --- a/archco.in +++ b/archco.in @@ -11,7 +11,7 @@ fi case $scriptname in archco) - SVNURL="svn+ssh://svn-packages@nymeria.archlinux.org/srv/repos/svn-packages/svn";; + SVNURL="svn+ssh://gerolde.archlinux.org/srv/svn-packages";; communityco) SVNURL="svn+ssh://svn-community@nymeria.archlinux.org/srv/repos/svn-community/svn";; *) diff --git a/commitpkg.in b/commitpkg.in index 4d13cf8..e31838c 100644 --- a/commitpkg.in +++ b/commitpkg.in @@ -105,7 +105,15 @@ for _arch in ${arch[@]}; do done if [[ -z $server ]]; then - server='nymeria.archlinux.org' + case "$repo" in + core|extra|testing|staging|kde-unstable|gnome-unstable) + server='gerolde.archlinux.org' ;; + community*|multilib*) + server='nymeria.archlinux.org' ;; + *) + server='gerolde.archlinux.org' + msg "Non-standard repository $repo in use, defaulting to server $server" ;; + esac fi if [[ -n $(svn status -q) ]]; then diff --git a/crossrepomove.in b/crossrepomove.in index fa649b1..a19e5f3 100644 --- a/crossrepomove.in +++ b/crossrepomove.in @@ -11,8 +11,8 @@ fi pkgbase="${1}" -packages_svn='svn+ssh://svn-packages@nymeria.archlinux.org/srv/repos/svn-packages/svn' -packages_server='nymeria.archlinux.org' +packages_svn='svn+ssh://gerolde.archlinux.org/srv/svn-packages' +packages_server='gerolde.archlinux.org' community_svn='svn+ssh://svn-community@nymeria.archlinux.org/srv/repos/svn-community/svn' community_server='nymeria.archlinux.org' mirror='http://mirrors.kernel.org/archlinux' diff --git a/rebuildpkgs.in b/rebuildpkgs.in index 49c7ac7..f7b1612 100644 --- a/rebuildpkgs.in +++ b/rebuildpkgs.in @@ -47,7 +47,7 @@ pkg_from_pkgbuild() { chrootdir="$1"; shift pkgs="$@" -SVNPATH='svn+ssh://svn-packages@nymeria.archlinux.org/srv/repos/svn-packages/svn' +SVNPATH='svn+ssh://gerolde.archlinux.org/srv/svn-packages' msg "Work will be done in $(pwd)/rebuilds" -- cgit v1.2.3-70-g09d2 From 4427b80aba6fe2de16d1403b86995d9761926100 Mon Sep 17 00:00:00 2001 From: Eric Bélanger Date: Tue, 13 Nov 2012 03:08:46 -0500 Subject: crossrepomove: Fix dbscripts path for [community] move to nymeria MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eric Bélanger Signed-off-by: Pierre Schmitz --- crossrepomove.in | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'crossrepomove.in') diff --git a/crossrepomove.in b/crossrepomove.in index a19e5f3..8794326 100644 --- a/crossrepomove.in +++ b/crossrepomove.in @@ -72,11 +72,23 @@ svn -q commit -m"${scriptname}: Moving ${pkgbase} from ${source_repo} to ${targe pushd "target_checkout/${pkgbase}/trunk" >/dev/null archrelease "${arch[@]/#/$target_repo-}" || die popd >/dev/null -ssh "${target_server}" '/arch/db-update' || die + +if [[ "${target_server}" == "${community_server}" ]]; then + dbscripts_path='/srv/repos/svn-community/dbscripts' +else + dbscripts_path='/arch' +fi + +ssh "${target_server}" "${dbscripts_path}/db-update" || die msg "Removing ${pkgbase} from ${source_repo}" +if [[ "${source_server}" == "${community_server}" ]]; then + dbscripts_path='/srv/repos/svn-community/dbscripts' +else + dbscripts_path='/arch' +fi for _arch in ${arch[@]}; do - ssh "${source_server}" "/arch/db-remove ${source_repo} ${_arch} ${pkgbase}" + ssh "${source_server}" "${dbscripts_path}/db-remove ${source_repo} ${_arch} ${pkgbase}" done svn -q checkout -N "${source_svn}" source_checkout svn -q up "source_checkout/${pkgbase}" -- cgit v1.2.3-70-g09d2