Check-in [4c07c8ed11]
Overview
Comment:Formatting fixes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:4c07c8ed11849c0f8a8f160dd07670fc6a6bacb4
User & Date: rkeene on 2014-09-07 11:01:22
Other Links: manifest | tags
Context
2014-09-07
11:08
Updated database schema to be more realistic check-in: 0c74d63215 user: rkeene tags: trunk
11:01
Formatting fixes check-in: 4c07c8ed11 user: rkeene tags: trunk
11:00
Added database notes check-in: 57183d69b5 user: rkeene tags: trunk
Changes

Modified README.md from [ebe9eec651] to [8ca0776d11].

     1      1   AppFS
     2      2   =====
     3      3   It's sort of like LazyFS.
     4      4   
     5      5   
     6      6   Paths
     7      7   -----
     8         -AppFS should normally be mounted on "/opt/appfs".
            8  +    AppFS should normally be mounted on "/opt/appfs".
     9      9   
    10         -/opt/appfs/hostname
    11         -	Fetches: http://hostname/appfs/index
    12         -	Contains CSV file: hash,extraData
    13         -	Fetches: http://hostname/appfs/sha1/<hash>
    14         -	Contains CSV file: package,version,os,cpuArch,sha1,isLatest
           10  +    /opt/appfs/hostname
           11  +    	Fetches: http://hostname/appfs/index
           12  +    	Contains CSV file: hash,extraData
           13  +    	Fetches: http://hostname/appfs/sha1/<hash>
           14  +    	Contains CSV file: package,version,os,cpuArch,sha1,isLatest
    15     15   
    16         -/opt/appfs/hostname/package/os-cpuArch/version
    17         -/opt/appfs/hostname/sha1/
    18         -	Fetches: http://hostname/appfs/sha1/<sha1>
    19         -	Contains CSV file:
    20         -		type,time,extraData,name
    21         -		type == directory; extraData = (null)
    22         -		type == symlink; extraData = source
    23         -		type == file; extraData = size,sha1
           16  +    /opt/appfs/hostname/package/os-cpuArch/version
           17  +    /opt/appfs/hostname/sha1/
           18  +    	Fetches: http://hostname/appfs/sha1/<sha1>
           19  +    	Contains CSV file:
           20  +    		type,time,extraData,name
           21  +    		type == directory; extraData = (null)
           22  +    		type == symlink; extraData = source
           23  +    		type == file; extraData = size,sha1
    24     24   
    25         -/opt/appfs/hostname/{sha1,package/os-cpuArch/version}/file
    26         -	Fetches: http://hostname/appfs/sha1/<sha1>
           25  +    /opt/appfs/hostname/{sha1,package/os-cpuArch/version}/file
           26  +    	Fetches: http://hostname/appfs/sha1/<sha1>
    27     27   
    28     28   Database
    29     29   --------
    30     30       hostname_to_packages(hostname, sha1);
    31     31       package_info(sha1 PRIMARY KEY, package, version, os, cpuArch, isLatest)
    32     32       package_to_files(package_sha1, type, time, source, size, file_sha1, name)