summaryrefslogtreecommitdiff
path: root/docs/architecture/data.mdwn
blob: 76e69ea11ecaeabbaf06d7dacf06ba6754d6cda3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Data model

[[!table format=dsv delimiter=# data="""
datum			# stored location			#constraint
username		# usually $ENV{SUDO_USER}		# !~ /^git-|^iki-/ and =~ /^[a-zA-Z][a-zA-Z0-9_.-]{0,30}$/
uid			# /etc/passwd				# >= 1000
user.email		# pinyconfig				# Email::Valid::Loose->new("-fqdn" => 1, "-fudge" => 0, "-local_rules" => 0, "-mxcheck" => 1, "-tldcheck" => 0 );
repoaccess		# /etc/group git-$reponame		# 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		# /srv/git/$reponame.git/objects owner	# None
core.sharedrepository   # pinyconfig				# =~ /^(0666|0664|all|world|everybody|0660|group|true|0640)$/
piny.ikiwiki		# pinyconfig				# =~ /^(1|0|true|false)$/
piny.ikiwikitemplates	# TODO, presumably pinyconfig		# None
piny.ikiwikidomain	# TODO, presumably pinyconfig		# None
"""]]