root/trunk/hotstuff/svn-repos.txt

Revision 495, 1.8 KB (checked in by josef, 3 years ago)

- how to create meta files

Line 
1Information on SVN-backed GHNS repositories
2===========================================
3
4GHNS entries can take several paths until they end up in a GHNS repository.
5They could be uploaded by FTP, manually or through the KNS2 upload dialogue,
6or they can be maintained through SVN. The latter means that users are not
7able to upload easily, but it's a suitable mode for application maintainers
8who want to keep control of what data is being offered.
9
10On newstuff.kde.org, a repository is available for hosting entries. Any
11other repository can also be used, in this case newstuff.kde.org only
12maintains the provider meta information.
13The repository URLs are:
14  svn://newstuff.kde.org/kdedata/trunk
15  http://newstuff.kde.org/kdedata/browser/trunk
16
17Two types of information are stored there: an ADMIN directory, and directories
18for the applications and data types. For new applications, a new configuration
19file needs to be created in ADMIN/hotstuff.d. Other than that, this complicated
20part is not really needed.
21
22In each application directory, new entries and changes can be committed at
23any time. They will be picked up by Hotstuff automatically every minute or
24every couple of minutes. The SVN scripts will automatically perform some sanity
25checks. Here are the rules:
26 - Each entry needs to have a .meta file, for syntax please look here:
27   http://ghns.freedesktop.org/spec/ghns-spec.html
28 - Each entry also needs to have a payload file. If multiple files are needed,
29   create an archive out of them.
30 - Each entry can optionally have a preview file.
31 - Payload and preview are referenced without path information from the .meta
32   file.
33
34Meta files can be written by hand, or generated using the 'ghnsmetatemplate'
35script from Hotstuff SVN. Additionally, translations often found in desktop
36files can be merged in using the 'ghns-from-desktop.py' script.
37
Note: See TracBrowser for help on using the browser.