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
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
AppFS
=====
It's sort of like LazyFS.


Paths
-----
AppFS should normally be mounted on "/opt/appfs".

/opt/appfs/hostname
	Fetches: http://hostname/appfs/index
	Contains CSV file: hash,extraData
	Fetches: http://hostname/appfs/sha1/<hash>
	Contains CSV file: package,version,os,cpuArch,sha1,isLatest

/opt/appfs/hostname/package/os-cpuArch/version
/opt/appfs/hostname/sha1/
	Fetches: http://hostname/appfs/sha1/<sha1>
	Contains CSV file:
		type,time,extraData,name
		type == directory; extraData = (null)
		type == symlink; extraData = source
		type == file; extraData = size,sha1

/opt/appfs/hostname/{sha1,package/os-cpuArch/version}/file
	Fetches: http://hostname/appfs/sha1/<sha1>

Database
--------
    hostname_to_packages(hostname, sha1);
    package_info(sha1 PRIMARY KEY, package, version, os, cpuArch, isLatest)
    package_to_files(package_sha1, type, time, source, size, file_sha1, name)







|

|
|
|
|
|

|
|
|
|
|
|
|
|

|
|






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
AppFS
=====
It's sort of like LazyFS.


Paths
-----
    AppFS should normally be mounted on "/opt/appfs".

    /opt/appfs/hostname
    	Fetches: http://hostname/appfs/index
    	Contains CSV file: hash,extraData
    	Fetches: http://hostname/appfs/sha1/<hash>
    	Contains CSV file: package,version,os,cpuArch,sha1,isLatest

    /opt/appfs/hostname/package/os-cpuArch/version
    /opt/appfs/hostname/sha1/
    	Fetches: http://hostname/appfs/sha1/<sha1>
    	Contains CSV file:
    		type,time,extraData,name
    		type == directory; extraData = (null)
    		type == symlink; extraData = source
    		type == file; extraData = size,sha1

    /opt/appfs/hostname/{sha1,package/os-cpuArch/version}/file
    	Fetches: http://hostname/appfs/sha1/<sha1>

Database
--------
    hostname_to_packages(hostname, sha1);
    package_info(sha1 PRIMARY KEY, package, version, os, cpuArch, isLatest)
    package_to_files(package_sha1, type, time, source, size, file_sha1, name)