Catalogs: Addition of example configuration files for testing a single craft.
This is useful for aircraft authors to see what will be packed into the zip archive.
This commit is contained in:
parent
d22ff42e42
commit
ea18939738
4 changed files with 41 additions and 0 deletions
6
catalog/single-craft-catalog-test/README
Normal file
6
catalog/single-craft-catalog-test/README
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Configuration files for testing the catalog updating script on a single aircraft. This is useful for seeing what will be packed into the zip archive. To use these:
|
||||||
|
|
||||||
|
* Copy all *.xml and *.lst files into a local testing directory X.
|
||||||
|
* Modify the *.xml files:
|
||||||
|
* Replace all instances of '/data/fgaddon_catalog_p51d/' with the directory X.
|
||||||
|
* Update any other tags as necessary.
|
12
catalog/single-craft-catalog-test/catalog.config.xml
Normal file
12
catalog/single-craft-catalog-test/catalog.config.xml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--Template catalog - copy and modify for your site as required-->
|
||||||
|
<PropertyList>
|
||||||
|
<local-output>/data/fgaddon-catalog_p51d/ftp</local-output>
|
||||||
|
<download-url n="0">/data/fgaddon-catalog_p51d/ftp/Aircraft/</download-url>
|
||||||
|
<scm>
|
||||||
|
<type>svn</type>
|
||||||
|
<update type="bool">false</update>
|
||||||
|
<path>/flightgear/flightgear-fgaddon/Aircraft</path>
|
||||||
|
<include>p51d</include>
|
||||||
|
</scm>
|
||||||
|
</PropertyList>
|
12
catalog/single-craft-catalog-test/template.xml
Normal file
12
catalog/single-craft-catalog-test/template.xml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--Template catalog - copy and modify for your site as required-->
|
||||||
|
<PropertyList>
|
||||||
|
<template>
|
||||||
|
<version n="0">HEAD</version>
|
||||||
|
<id>localhost</id>
|
||||||
|
<license>GPL</license>
|
||||||
|
<url>/data/fgaddon-catalog_p51d/ftp/Aircraft/catalog.xml</url>
|
||||||
|
<name>p51d FGAddon aircraft test</name>
|
||||||
|
<description>This is a test of the catalog updating script to allow aircraft authors to see what will be present in the zip archive of their aircraft.</description>
|
||||||
|
</template>
|
||||||
|
</PropertyList>
|
11
catalog/single-craft-catalog-test/zip-excludes.lst
Normal file
11
catalog/single-craft-catalog-test/zip-excludes.lst
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
*/.svn/*
|
||||||
|
*.xcf*
|
||||||
|
*.XCF*
|
||||||
|
*.blend*
|
||||||
|
*.psd
|
||||||
|
*~
|
||||||
|
*/dev/*
|
||||||
|
*/Dev/*
|
||||||
|
*/development/*
|
||||||
|
*/src/*
|
||||||
|
*/Resources/*
|
Loading…
Add table
Reference in a new issue