Difference between revisions of "GRepo - The NewGRF Repository"
From #openttdcoop wiki
m (GRF Manager moved to GRepo - The NewGRF Repository) |
m |
||
Line 1: | Line 1: | ||
− | + | Design of the GRepo for the pack and autodownload features... | |
+ | |||
==Tables== | ==Tables== | ||
− | Depense on the used Framework, but at least a field for TIMESTAMP (updated), DELETED, CREATED is default for every table. | + | Depense on the used Framework, but at least a field for UID, TIMESTAMP (updated), DELETED, CREATED is default for every table. |
===GRFS=== | ===GRFS=== | ||
− | *GRFID | + | *GRFID (index) |
*name | *name | ||
− | * | + | *description |
− | + | ||
− | + | ||
===VERSIONS=== | ===VERSIONS=== | ||
+ | [GRFS(1:n)] | ||
*name | *name | ||
− | *md5sum | + | *md5sum (index) |
− | * | + | *public (bool) |
+ | ===RULES=== | ||
+ | *[GRFS(1:n)] | ||
+ | *type (exclude,include,exclusiveCategory,replace,before,after) | ||
+ | *GRFID foreign (index) | ||
===CATEGORIES=== | ===CATEGORIES=== | ||
− | + | (from GRF Crawler) | |
− | + | *[GRFS(m:n)] | |
− | + | *name | |
− | * | + | ===AUTHORS=== |
− | * | + | *[GRFS(m:n)] |
− | === | + | *Nick (unique) |
− | + | ||
− | *Nick | + | |
*Realname | *Realname | ||
− | * | + | *ID of TT-Forum |
− | * | + | *username wiki.openttd.org |
− | * openttdcoop | + | *username wiki.openttdcoop.org |
− | + | *description | |
− | === | + | ===DOCS=== |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
==Functions== | ==Functions== | ||
===Fetching Filesystem for all available GRFs=== | ===Fetching Filesystem for all available GRFs=== | ||
===Fetching GRFdata from GRF Crawler=== | ===Fetching GRFdata from GRF Crawler=== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===generating GRFPacks (zip)=== | ===generating GRFPacks (zip)=== | ||
===auto checking for available updates=== | ===auto checking for available updates=== | ||
[[Category:OpenTTD Web Admin]] | [[Category:OpenTTD Web Admin]] |
Revision as of 14:30, 6 November 2008
Design of the GRepo for the pack and autodownload features...
Contents
Tables
Depense on the used Framework, but at least a field for UID, TIMESTAMP (updated), DELETED, CREATED is default for every table.
GRFS
- GRFID (index)
- name
- description
VERSIONS
[GRFS(1:n)]
- name
- md5sum (index)
- public (bool)
RULES
- [GRFS(1:n)]
- type (exclude,include,exclusiveCategory,replace,before,after)
- GRFID foreign (index)
CATEGORIES
(from GRF Crawler)
- [GRFS(m:n)]
- name
AUTHORS
- [GRFS(m:n)]
- Nick (unique)
- Realname
- ID of TT-Forum
- username wiki.openttd.org
- username wiki.openttdcoop.org
- description