~kaction/config

990fee13751266e24c87700516d7808a146ed536 — Dmitry Bogatov 3 years ago 4a987aa
Remove volatile/gitolite.conf

iu-guest.info is decomissioned
4 files changed, 1 insertions(+), 107 deletions(-)

M Tupfile.lua
D aux/myrepos.iu-guest
M volatile/GNUmakefile
D volatile/gitolite.conf
M Tupfile.lua => Tupfile.lua +0 -7
@@ 133,13 133,6 @@ do
  rule.m4('.local/share/posix/color-list.sh', 'colorlist.m4')
end

do
  local input  = 'volatile/gitolite.conf'
  local output = outfile('.config/myrepos/iu-guest.conf')
  local command = './aux/myrepos.iu-guest < %f > %o'
  tup.rule(input, command, output)
end

tup.rule({}, './aux/myrepos.salsa < volatile/salsa.list > %o',
                 outfile('.config/myrepos/salsa.conf'))


D aux/myrepos.iu-guest => aux/myrepos.iu-guest +0 -27
@@ 1,27 0,0 @@
#!/usr/bin/awk -f

function print_block(name, visibility) {
  printf("[devel/iu-guest/%s]\n", name);
  if (visibility == "public") {
    printf("checkout = git clone git://git.iu-guest.info/%s\n", name);
  } else {
    printf("checkout = git clone git@git.iu-guest.info:%s\n", name);
    printf("skip = ! ~/.local/lib/myrepos/check.private-key\n");
  }
  printf("fixups = visibility=%s ", visibility);
  printf(" ~/.local/lib/myrepos/git.iu-guest.fixups %s\n", name);
}

/^repo / {
  if (name) {
    print_block(name, visibility);
  }
  name = $2;
  visibility = "private";
}

/^[ \t]*R[ ]*=[ ]*@all/ { visibility = "public"; }
END {
  print_block(name, visibility);
  printf("# vim: ft=dosini\n");
}

M volatile/GNUmakefile => volatile/GNUmakefile +1 -3
@@ 4,7 4,5 @@ all:

salsa.list:
	update/$@ > $@
gitolite.conf:
	curl -so $@ https://cgit.iu-guest.info/gitolite-admin.git/plain/conf/gitolite.conf

.PHONY: all salsa.list gitolite.conf
.PHONY: all salsa.list

D volatile/gitolite.conf => volatile/gitolite.conf +0 -70
@@ 1,70 0,0 @@
@iu = iu

repo gitolite-admin
	RW+ = @iu
	R   = @all # Greatly simplify generation of mrconfig.

repo scroll
	RW+ = @iu
	R   = @all
	config cgit.section = "foundation"

repo testing
	RW+  = @all

repo experimental/patch-index.tgz
	config cgit.section = "experimental"
	RW+ = @iu
	R   = @all

repo asm-x86
	config cgit.section = "learning"
	RW+ = @iu
	R   = @all

repo website
	RW+ = @iu
	R   = @all
	config cgit.desc = "Sources of https://iu-guest.info website"
	option hook.post-update.00 = trigger-ci

repo ci-config
	RW+ = @iu
	R   = @all
	config cgit.desc = "Configuration of continous integration system"
	option hook.post-update.00 = trigger-ci

repo config
	RW = @iu
	R  = @all
	config cgit.desc = "Configuration of user environment"

repo evanescence
	RW = @iu
	R = @all
	config cgit.desc = "simple scaffolding utility"

repo system-config
	RW+ = iu-vps
	R   = @all

repo password-store
	RW+ = @iu

repo sebastian
	RW = @iu
	R  = @all
	config cgit.section = "experimental"
	config cgit.desc = "Suckless CI tool"

repo extra-tgz
	RW = @iu
	R = @all
	config cgit.section = "administration"
	config cgit.desc    = "collection of extra tarballs to extract on /"

repo haskell-once
	RW = @iu
	R  = @all
	config cgit.section = "haskell"
	config cgit.desc = "memoization for IO actions and functions"