~kaction/config

1f09913544bc276f4d49b5a8aeb7335792498e50 — Dmitry Bogatov 2 years ago d7479ff
Drop salsa.debian.org myrepos(1) config
3 files changed, 0 insertions(+), 67 deletions(-)

D aux/myrepos.salsa
D volatile/salsa.list
D volatile/update/salsa.list
D aux/myrepos.salsa => aux/myrepos.salsa +0 -9
@@ 1,9 0,0 @@
#!/bin/sh -eu

while read -r entry ; do
    cat << EOF
[devel/salsa/${entry}]
checkout = git clone https://salsa.debian.org/${entry}.git
fixups = git config --replace-all remote.origin.pushURL git@salsa.debian.org:${entry}
EOF
done

D volatile/salsa.list => volatile/salsa.list +0 -33
@@ 1,33 0,0 @@
debian/bcron
debian/slgdbm
haskell-team/DHG_packages
haskell-team/dh-haskell
haskell-team/git-annex
haskell-team/haskell-devscripts
haskell-team/haskell-intern
haskell-team/haskell-swish
haskell-team/package-plan
haskell-team/pandoc
haskell-team/pkg-haskell-tools
haskell-team/tools
iu-guest/cdist
iu-guest/complexity
iu-guest/dvtm
iu-guest/fbless
iu-guest/fgetty
iu-guest/gdbm
iu-guest/inotify-tools
iu-guest/laminar
iu-guest/mmh
iu-guest/sent
iu-guest/sysvinit
iu-guest/tup
runit-team/dbus-run
runit-team/dh-make-runit
runit-team/dh-runit
runit-team/dh-sysuser
runit-team/irqbalance-run
runit-team/mini-httpd-run
runit-team/runit
runit-team/wicd-daemon-run
runit-team/xdm-run

D volatile/update/salsa.list => volatile/update/salsa.list +0 -25
@@ 1,25 0,0 @@
#!/bin/sh -eu
set --
call_api () {
    curl --silent "https://salsa.debian.org/api/v4/$*"
}

tmpfile=$(mktemp)
cleanup () { rm -f "${tmpfile}"; }
trap cleanup 0

for team in runit-team haskell-team ; do
    call_api "groups/$team/projects?simple=yes" > "${tmpfile}"
    eval set -- "$@" "$(jq 'map(.path_with_namespace)|@sh' "${tmpfile}")"
done

for user in iu-guest ; do
    call_api "users/$user/projects?simple=yes" > "${tmpfile}"
    eval set -- "$@" "$(jq 'map(.path_with_namespace)|@sh' "${tmpfile}")"
done

set -- "$@" debian/bcron debian/slgdbm
eval set -- "$@" # remove extra pair of quotes
export IFS='
'
echo "$*" | sort