diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2009-09-14 12:50:43 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2009-09-14 12:50:43 -0700 |
commit | 3b42b231b46cb1e346a438cc76d513a20115ed5b (patch) | |
tree | 4ca45c6fbc1680550e900c6968b9e6f754f23d69 /architecture | |
parent | 389a6f576fa251826cdf77c80be8e05fb2a887f8 (diff) | |
download | piny-code-3b42b231b46cb1e346a438cc76d513a20115ed5b.tar.gz piny-code-3b42b231b46cb1e346a438cc76d513a20115ed5b.zip |
Changing data model table over to csv.
Diffstat (limited to 'architecture')
-rw-r--r-- | architecture/data.mdwn | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/architecture/data.mdwn b/architecture/data.mdwn index 111e6ca..2317517 100644 --- a/architecture/data.mdwn +++ b/architecture/data.mdwn @@ -1,19 +1,19 @@ 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 |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 -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 |None -repoglobalwritable |stat /srv/git/$reponame.git all write bit |None -repoglobalreadable |stat /srv/git/$reponame.git all read bit |None -repoikiwikidisable |UNDECIDED, probably in /srv/git/$reponame.git |None -repointernaltemplates |UNDECIDED, probably in /srv/git/$reponame.git |None -repospecialdomain |UNDECIDED, probably in /srv/git/$reponame.git |None +[[!table format=csv data=""" +datum ,stored location ,constraint +username ,usually $ENV{SUDO_USER} ,!~ /^git-|^ikiwiki-/ 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 +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 ,None +repoglobalwritable ,stat /srv/git/$reponame.git all write bit ,None +repoglobalreadable ,stat /srv/git/$reponame.git all read bit ,None +repoikiwikidisable ,UNDECIDED, probably in /srv/git/$reponame.git ,None +repointernaltemplates ,UNDECIDED, probably in /srv/git/$reponame.git ,None +repospecialdomain ,UNDECIDED, probably in /srv/git/$reponame.git ,None """]] |