Diff

Differences From Artifact [35b476a0b0]:

To Artifact [a25b7811db]:


    14     14       AppFS should normally be mounted on "/opt/appfs".
    15     15   
    16     16       /opt/appfs/hostname
    17     17       	Fetches: http://hostname/appfs/index
    18     18       	Contains CSV file: hash,hashMethod,<certificateInDERFormatInHex>,<PKCS#1v1.5-signature-inDERFormatInHex>
    19     19   	                   \-------------/
    20     20                                     ^- Signed data
    21         -    	Fetches: http://hostname/appfs/sha1/<hash>
    22         -    	Contains CSV file: package,version,os,cpuArch,sha1,isLatest
           21  +    	Fetches: http://hostname/appfs/<hashMethod>/<hash>
           22  +    	Contains CSV file: package,version,os,cpuArch,packageManifestHash,isLatest
    23     23   
    24     24       /opt/appfs/hostname/package/os-cpuArch/version
    25         -    /opt/appfs/hostname/sha1/
    26         -    	Fetches: http://hostname/appfs/sha1/<sha1>
           25  +    /opt/appfs/hostname/<hashMethod>/
           26  +    	Fetches: http://hostname/appfs/<hashMethod>/<packageManifestHash>
    27     27       	Contains CSV file:
    28     28       		type,time,extraData,name
    29     29       		type == directory; extraData = (null)
    30     30       		type == symlink; extraData = source
    31         -    		type == file; extraData = size,perms,sha1
           31  +    		type == file; extraData = size,perms,fileHash
    32     32   
    33         -    /opt/appfs/hostname/{sha1,package/os-cpuArch/version}/file
    34         -    	Fetches: http://hostname/appfs/sha1/<sha1>
           33  +    /opt/appfs/hostname/{packageManifestHash,package/os-cpuArch/version}/file
           34  +    	Fetches: http://hostname/appfs/<hashMethod>/<fileHash>
    35     35   
    36     36   Database
    37     37   --------
    38         -    packages(hostname, sha1, package, version, os, cpuArch, isLatest, haveManifest)
    39         -    files(package_sha1, type, time, source, size, perms, file_sha1, file_name, file_directory)
           38  +    sites(hostname, hashMethod, lastUpdate, ttl)
           39  +    packages(hostname, packageManifestHash, package, version, os, cpuArch, isLatest, haveManifest)
           40  +    files(packageManifestHash, type, time, source, size, perms, fileHash, file_name, file_directory)
    40     41   
    41     42   Resources
    42     43   ---------
    43     44   http://appfs.rkeene.org/