summaryrefslogtreecommitdiff
path: root/architecture
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2010-10-16 01:04:28 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2010-10-16 01:04:28 -0700
commit6fc8a2a7f58d5afae073dbda373713522c919adf (patch)
treed740684e6d9a2f7f69eba295e9c92f3fd30aeccd /architecture
parent87c79ea1a025d1f96f72a3853fae39f1fa2a924f (diff)
downloadpiny-code-6fc8a2a7f58d5afae073dbda373713522c919adf.tar.gz
piny-code-6fc8a2a7f58d5afae073dbda373713522c919adf.zip
Architecture: Updating status of interfaces
Diffstat (limited to 'architecture')
-rw-r--r--architecture/needed_admin_infrastructure.mdwn3
-rw-r--r--architecture/needed_user_facing_infrastructure.mdwn4
-rw-r--r--architecture/setup_file_overrides.mdwn6
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 <http://piny.be/jrayhawk/notes/ikiwiki_setup_mangling/>
+- 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