From 6fc8a2a7f58d5afae073dbda373713522c919adf Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Sat, 16 Oct 2010 01:04:28 -0700 Subject: Architecture: Updating status of interfaces --- architecture/needed_admin_infrastructure.mdwn | 3 ++- architecture/needed_user_facing_infrastructure.mdwn | 4 ++-- architecture/setup_file_overrides.mdwn | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/architecture/needed_admin_infrastructure.mdwn b/architecture/needed_admin_infrastructure.mdwn index 8d49ab4..59365c2 100644 --- a/architecture/needed_admin_infrastructure.mdwn +++ b/architecture/needed_admin_infrastructure.mdwn @@ -3,4 +3,5 @@ - DONE: Shell security through rbash and privilege escalation security (for mkwiki, mkuser, etc) through sudo - DONE: Guaranteed namespace coherence with the vhosting of cgi, secure, and normal with the aid of a wildcard SSL certificate - TODO: Work out how to pass mailing list emails around. Probably either ssh or vserver namespace magic. -- TODO: manual [[setup file overrides]], probably /etc/ikiwiki/piny/*.setup.overrides taking the form of something like +- DONE: manual [[setup file overrides]], /etc/ikiwiki/piny/$reponame.setup.pl, included directly with 'do' before dumping state. +- DONE: rebuildrepo diff --git a/architecture/needed_user_facing_infrastructure.mdwn b/architecture/needed_user_facing_infrastructure.mdwn index a498148..cfabb2b 100644 --- a/architecture/needed_user_facing_infrastructure.mdwn +++ b/architecture/needed_user_facing_infrastructure.mdwn @@ -9,9 +9,9 @@ password modification |DONE: /srv/rbin/passwd |TODO: Authen::PAM chauthtok repo creation, deletion |DONE: /srv/rbin/newrepo, rmrepo, lsrepo |TODO: CGI frontend repo user management |DONE: /srv/rbin/addaccess, rmaccess, lsaccess |TODO: CGI frontend [[mailing list addition|mail]] |TODO: /srv/rbin/addlist, dependent on getting sympa up |TODO: CGI frontend -authorized_keys modification |DONE: /srv/rbin/readkeys, writekeys |TODO: CGI frontend, though i am not convinced anyone would care +authorized_keys modification |DONE: /srv/rbin/readkeys, writekeys, appendkeys |TODO: CGI frontend, though i am not convinced anyone would care disable password auth if ssh key|TODO |Ha ha NEVER -config tweaking |TODO: /srv/rbin/chrepo...? |TODO: CGI frontend +config tweaking |PARTIAL: pinyconfig |TODO: CGI frontend commit access |DONE: git+ssh://piny.be/srv/git/whatever.git |DONE: Ikiwiki+mod-auth-sys-group/mod-auth-pam, though I am told there is a magic hook to allow public editing through git:// wysiwyg editing tool |Ha ha no |TODO: wmd a good option, though needs UI tweaks """]] diff --git a/architecture/setup_file_overrides.mdwn b/architecture/setup_file_overrides.mdwn index 0d54937..3ddde8e 100644 --- a/architecture/setup_file_overrides.mdwn +++ b/architecture/setup_file_overrides.mdwn @@ -7,18 +7,18 @@ Use cases: #!/bin/sh /srv/git/poop.git/hooks/post-update-ikiwiki & echo This is a hook that does things! - cat > /srv/ikiwiki/piny/poop.overrides.pl + cat > /srv/ikiwiki/piny/poop.setup.pl foreach(@{$config->{wrappers}}) { $_->{wrapper} =~ s/post-update/post-update-ikiwiki/; }; rebuildrepo poop ### Adding or removing plugins, or plugin configuration variables. - cat > /srv/ikiwiki/piny/poop.overrides.pl + cat > /srv/ikiwiki/piny/poop.setup.pl push(@{$config->{add_plugins}}, 'txt'); rebuildrepo poop ### Any other special configuration requests from hosted projects. - cat > /srv/ikiwiki/piny/poop.overrides.pl + cat > /srv/ikiwiki/piny/poop.setup.pl $config->{teximg_prefix} .= "\n\\newcommand{\\unit}[1]{\\ensuremath{\\, \\mathrm{#1}}}" rebuildrepo poop -- cgit v1.2.3