Difference between revisions of "GRepo - The NewGRF Repository"

From #openttdcoop wiki

Jump to: navigation, search
(Functions)
m (VERSIONS)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
The GRF Manager is the first module of a set for administrating a OpenTTD server over Web.
+
Design of the GRepo for the pack and autodownload features...
 +
 
 
==Tables==
 
==Tables==
 +
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)
*(same as GRF Crawler)
+
*name
*static
+
*description
*exklusiveSet
+
 
===VERSIONS===
 
===VERSIONS===
*md5sum
+
[GRFS(1:n)]
*path
+
*name
===CATEGORIES===
+
*md5sum (index)
 +
*public (bool)
 +
*license (GPL, ..., private permission)
  
-Link GRF Crawler
+
===RULES===
===DEPENDENCIES===
+
*[GRFS(1:n)]
*Before/After
+
*type (exclude,include,exclusiveCategory,replace,before,after)
*optional
+
*GRFID foreign (index)
===USERS===
+
*weight (strict, recommendation)
*Nick
+
*Realname
+
*Link to TT-Forum Profile
+
*Link to wiki.openttd.org Userpage
+
* openttdcoop username
+
  
===LINKS===
+
===PARAMETERS===
*Download
+
*[VERSIONS(1:n)]
*Forum
+
*pos (0..)
*GRF Crawler
+
*type (list,bitswitch,number)
*Homepage
+
*data
  
 +
 +
 +
===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
 +
===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]]

Latest revision as of 14:41, 6 November 2008

Design of the GRepo for the pack and autodownload features...

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)
  • license (GPL, ..., private permission)

RULES

  • [GRFS(1:n)]
  • type (exclude,include,exclusiveCategory,replace,before,after)
  • GRFID foreign (index)
  • weight (strict, recommendation)

PARAMETERS

  • [VERSIONS(1:n)]
  • pos (0..)
  • type (list,bitswitch,number)
  • data


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

DOCS

Functions

Fetching Filesystem for all available GRFs

Fetching GRFdata from GRF Crawler

generating GRFPacks (zip)

auto checking for available updates

Powered by MediaWiki
  • This page was last modified on 6 November 2008, at 14:41.