diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-04-24 12:57:38 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-04-24 12:57:38 -0700 |
commit | 4ac0fd01b73a0b718db3a756866fee121a1615f1 (patch) | |
tree | f8b1c3054b923526fbe46608ccf9d7f39538bcaa /docs | |
parent | ba8fd5e9907dd8e132e9c6fca006824907239636 (diff) | |
download | piny-code-4ac0fd01b73a0b718db3a756866fee121a1615f1.tar.gz piny-code-4ac0fd01b73a0b718db3a756866fee121a1615f1.zip |
Switching ikiwiki- username/group over to iki-; untested and requires a mass rebuildrepo
Diffstat (limited to 'docs')
-rw-r--r-- | docs/architecture/data.mdwn | 2 | ||||
-rw-r--r-- | docs/issues/cgi_gateway.mdwn | 2 | ||||
-rw-r--r-- | docs/issues/repo_name_limit.mdwn | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/architecture/data.mdwn b/docs/architecture/data.mdwn index a81a268..c86ec15 100644 --- a/docs/architecture/data.mdwn +++ b/docs/architecture/data.mdwn @@ -4,7 +4,7 @@ Dynamic data lookup should opportunisticly cache any associated cheap data. For [[!table format=dsv delimiter=# data=""" datum #stored location #constraint -username #usually $ENV{SUDO_USER} # !~ /^git-|^ikiwiki-/ and =~ /^[a-zA-Z0-9_.][a-zA-Z0-9_.-]+$/ +username #usually $ENV{SUDO_USER} # !~ /^git-|^iki-/ and =~ /^[a-zA-Z0-9_.][a-zA-Z0-9_.-]+$/ uid #/etc/passwd # None email #/etc/passwd GECOS #Email::Valid::Loose->new("-fqdn" => 1, "-fudge" => 0, "-local_rules" => 0, "-mxcheck" => 1, "-tldcheck" => 0 ); repoaccess #/etc/group git-$reponame entry # None diff --git a/docs/issues/cgi_gateway.mdwn b/docs/issues/cgi_gateway.mdwn index 8ac5c1b..b930665 100644 --- a/docs/issues/cgi_gateway.mdwn +++ b/docs/issues/cgi_gateway.mdwn @@ -20,7 +20,7 @@ Requirements: * pinyadmin command arguments * exits if username's uid < 1000 * exits if username violates piny username constraints (specifically git- and - ikiwiki- are not allowed) + iki- are not allowed) * executes with the appropriate uid/gid the specified pinyadmin command and the specified arguments diff --git a/docs/issues/repo_name_limit.mdwn b/docs/issues/repo_name_limit.mdwn index a7725c8..68a77f5 100644 --- a/docs/issues/repo_name_limit.mdwn +++ b/docs/issues/repo_name_limit.mdwn @@ -4,6 +4,6 @@ * Opened by: jrayhawk ### Discussion -Problem: Repository names are restricted to 24 characters by the groupname limit in libc6 plus our use of the ikiwiki- prefix. +Problem: Repository names are restricted to 24 characters by the groupname limit in libc6 plus our use of the iki- prefix. Possible solution: optional use of truncated md5 (the first character needing to be a letter) hash of reponame as groupnames, restriction of usernames to 31 characters to keep namespaces isolated, check in newrepo for hash collision before actions are taken |