summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjrayhawk <jrayhawk@web>2009-09-17 15:04:12 -0700
committerpiny-code <ikiwiki-piny-code@piny.svcs.cs.pdx.edu>2009-09-17 15:04:12 -0700
commit772f39d863e8dec8ec5ea444768f32f3eeb21120 (patch)
tree8967c1aab7f4661233ead6b94dd6977779eea387
parent32f58371d9c5add0e80a542c985b10f334b198e9 (diff)
downloadpiny-code-772f39d863e8dec8ec5ea444768f32f3eeb21120.tar.gz
piny-code-772f39d863e8dec8ec5ea444768f32f3eeb21120.zip
Preformatting constraints in data model.
-rw-r--r--architecture/data.mdwn27
1 files changed, 12 insertions, 15 deletions
diff --git a/architecture/data.mdwn b/architecture/data.mdwn
index 969cc5a..fa83ca9 100644
--- a/architecture/data.mdwn
+++ b/architecture/data.mdwn
@@ -4,19 +4,16 @@ 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_.-]+$/
-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
-
-
+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
"""]]
-