diff options
author | jrayhawk+piny.svcs.cs.pdx.edu@omgwallhack.org <jrayhawk@piny.svcs.cs.pdx.edu> | 2009-09-14 19:46:45 -0700 |
---|---|---|
committer | jrayhawk+piny.svcs.cs.pdx.edu@omgwallhack.org <jrayhawk@piny.svcs.cs.pdx.edu> | 2009-09-14 19:46:45 -0700 |
commit | d3195ea9917ddab515e5af59ee67c146573c8e7c (patch) | |
tree | f2cd313d76aba8f290460e5dce02c385eb934b16 /architecture/data.mdwn | |
parent | a210b0016246405c873c5a6d4ecb6fc1869fd032 (diff) | |
download | piny-code-d3195ea9917ddab515e5af59ee67c146573c8e7c.tar.gz piny-code-d3195ea9917ddab515e5af59ee67c146573c8e7c.zip |
Adding data model.
Diffstat (limited to 'architecture/data.mdwn')
-rw-r--r-- | architecture/data.mdwn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/architecture/data.mdwn b/architecture/data.mdwn new file mode 100644 index 0000000..1682a4d --- /dev/null +++ b/architecture/data.mdwn @@ -0,0 +1,20 @@ +Data model! + +[[!table data=""" +datum |stored location |constraint +username |usually $ENV{SUDO_USER} |!~ /^git-|^ikiwiki-/ and =~ /^[a-zA-Z0-9_.][a-zA-Z0-9_.-]+$/ +uid |/etc/passwd | +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 | +reponame |/srv/git/$reponame.git |=~ /^[a-z0-9][a-z0-9+.-]+$/ +repodescription |/srv/git/$reponame.git/description |=~ /^[\x{0020}-\x{FDCF}\x{FDF0}-\x{FFFD}]{1,80}$/ +repoowner |stat /srv/git/$reponame.git uid, might be better as first non-ikiwiki user in /etc/group git-$reponame entry | +repoglobalwritable |stat /srv/git/$reponame.git all write bit | +repoglobalreadable |stat /srv/git/$reponame.git all read bit | +repoikiwikidisable |UNDECIDED, probably in /srv/git/$reponame.git | +repointernaltemplates |UNDECIDED, probably in /srv/git/$reponame.git | +repospecialdomain |UNDECIDED, probably in /srv/git/$reponame.git | + + +"""]] + |