James Turner
14ee759409
Fix Python3 compatability
2020-03-24 14:27:27 +00:00
James Turner
aff1ac0f69
Add more catalog tags based on what’s used
2020-03-24 14:24:29 +00:00
James Turner
9453e085b3
Add Mespieler aircraft mirror
2020-03-21 18:41:45 +00:00
Edward d'Auvergne
4dffeeb56e
Catalogs: Addition of an initial README.md file.
2019-11-18 11:23:27 +01:00
Edward d'Auvergne
ed7075f4ba
Catalogs: Python 3 compatibility for reading binary data.
...
IO data needs to be decoded, and the binary zip file needs to be opened in 'rb'
binary mode.
2019-11-18 10:26:40 +01:00
Edward d'Auvergne
185a10f7c5
Catalogs: Python3 does not have a 'long' integer type.
2019-11-18 10:10:22 +01:00
Edward d'Auvergne
5d3fcd3ba0
Catalogs: Converted all print statements into Python 3 compatible functions.
2019-11-18 10:06:24 +01:00
Edward d'Auvergne
3b1a3c51b1
Catalogs: Default to Python 3.
2019-11-18 09:58:58 +01:00
Edward d'Auvergne
ea18939738
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.
2019-11-14 12:00:02 +01:00
Edward d'Auvergne
d22ff42e42
Catalogs: The scm <update> XML tag is now used.
...
The tag can be overridden on the command line with the --update and --no-update options.
2019-11-14 11:59:56 +01:00
Edward d'Auvergne
190d789a54
Catalogs: Support for <include> tags to allow a subset of craft to be cataloged.
2019-11-13 22:26:11 +01:00
Edward d'Auvergne
8534a8aba4
Catalogs: Modification of the template file parsing.
...
The code is now a function in the 'catalog' module and checks for the existence
of the file are now performed.
2019-11-13 22:26:11 +01:00
Edward d'Auvergne
9ec3e015b2
Catalogs: Modification of the configuration file parsing.
...
The code is now a function in the 'catalog' module and checks for the existence
of the file are now performed.
2019-11-13 22:26:10 +01:00
Edward d'Auvergne
b8c05410e3
Catalogs: Rewrite of the craft zip creation using the Python zipfile module.
...
If a 'zip-excludes.lst' file is found in the craft's base directory, that will
overwrite the global catalog exclusion list.
Three new unit tests have been created to test the functionality.
2019-11-13 22:25:49 +01:00
Edward d'Auvergne
fd6fae3858
Catalogs: Expansion of the zip archive exclusion file.
...
This includes addition of the craft development directories 'dev', 'Dev',
'development', 'src', and 'Resources' and handling the common compressed gimp
file *.xcf.gz, a capitalised gimp file, and Blender *.blend[1-9] files.
2019-11-13 22:18:43 +01:00
Edward d'Auvergne
ca4a2ca813
Catalogs: Bug fixes allowing the unit tests to pass again.
...
3 of the tests have been broken since 70dfd6b8d4
,
the change to LXML.
2019-11-12 14:26:24 +01:00
James Turner
bd7ccccda6
Catalog configs from UKmirror
2018-10-23 12:01:58 +00:00
James Turner
f0f047e6c5
Fix mirror URLs
2018-10-18 12:42:17 +00:00
James Turner
271f103ae3
Update catalogs config after discussion
...
Legacy catalog keeps the existing ID and URL, to avoid any problems
with older client versions
2018-10-18 13:37:17 +01:00
James Turner
99b893368b
Catalogs: multiple download URLs (mirrors) supported
2018-10-17 14:16:40 +01:00
James Turner
e4007bae99
Remove MD5 sum files from Git
2018-10-17 13:00:10 +00:00
James Turner
6e8b4c3ee7
Sharing logic tweaks
2018-10-17 13:00:10 +00:00
James Turner
ccb35c7707
Catalog spec tweaks
2018-10-17 13:00:10 +00:00
James Turner
391ceaea11
Update-catalog.py: —quiet option
2018-10-17 11:04:11 +01:00
James Turner
feae4a2d56
Tweaked catalog definitions
2018-10-17 09:26:08 +00:00
James Turner
70dfd6b8d4
Use LXML everywhere
2018-10-17 09:19:10 +00:00
James Turner
a1f8e52ae8
Add three catalog setups, for UK mirror
...
The fgaddon-catalog was duplicated to avoid disturbing Curt’s config
he runs locally, until the new setup is working.
2018-10-15 11:39:56 +01:00
James Turner
5be72a84d3
Check-aircraft helper script
...
Tool to validate aircraft meta-data - basic for now, will expand
to be smarter over time.
2018-07-25 13:42:13 +01:00
James Turner
0b46052259
Catalog generation enhancements
2018-07-25 11:38:52 +01:00
James Turner
68dee3f3a4
Catalog support for multiple author tags
...
This will enable richer author meta-data in aircraft, and hence
nicer GUI presentation of author information. Client-side support
still to be added before this can be used
2018-04-25 21:07:57 +01:00
Curtis L. Olson
c548c55274
Add compatibility with 2018 releases.
2018-02-27 05:54:06 -06:00
James Turner
6034143788
Catalogs:-set.xml files cam exclude themselves
...
Re-add the old feature, that -set.xml files can explicitly opt-out of
being included in the catalog. Useful for some development and helper /
included files in some aircraft.
2017-11-27 17:59:37 +00:00
James Turner
7ad60c4471
Catalogs: skip set files with missing description
...
This occurs for at least the A320 copilot, for example. We also log a
warning in the catalog creation script
2017-11-27 17:53:46 +00:00
Curtis L. Olson
018f0907c2
Template tweaks.
2017-09-26 06:32:38 -05:00
Curtis L. Olson
f2a27e592d
error catching ++
2017-09-26 06:31:58 -05:00
Curtis L. Olson
89d526e740
Check if thumbnail exists in package before building thumbnail_url (which
...
is never actually used by the way.)
2017-09-26 06:30:50 -05:00
Curtis L. Olson
68e2df9db6
verbocity--
2017-09-26 06:27:47 -05:00
Curtis L. Olson
87c11e7e2f
Fix a return bug when len(setDicts) is zero.
2017-09-26 06:26:49 -05:00
James Turner
89948603de
Catalog support for minimum-fg-version
...
Extend test coverage with a minimal aircraft to exercise more
code paths for this.
2017-07-30 10:38:04 -07:00
James Turner
3e3b63181b
Fixing line-endings
2017-06-21 23:00:53 +01:00
Stuart Buchanan
91ea5ba877
Add North American (manufacturer of the P-51 and F-86)
2017-06-16 22:55:28 +01:00
Stuart Buchanan
b2754b573a
Add Republic as manufacturer
2017-06-16 20:29:27 +01:00
Florent Rougon
f16831a51d
Rewrite catalog/testData/bad-index.xml with consistent line endings.
...
This file had a mix of LF and CRLF line endings.
2017-05-18 19:34:29 +02:00
portree_kid
9c41bca63f
Added manufacturers
2017-05-06 14:01:05 +02:00
portree_kid
efab6d7e51
Added aircraft type racer (ME-209-V1 hard to find otherwise)
2017-05-05 14:08:54 +02:00
portree_kid
910e3ec490
Added more manufacturers to catalog/catalogTags.py
2017-05-05 08:24:29 +02:00
portree_kid
df6d8be57f
Replaced TABS by SPACES
2017-05-02 20:46:44 +02:00
portree_kid
b670f096be
Added carrier & reconnaissance to aircraft type
2017-04-28 07:26:41 +02:00
portree_kid
b7d27d156f
Corrected handley page to handley-page
...
Added more manufacturers
2017-04-26 16:33:00 +02:00
portree_kid
51e37ac662
Added aircraft manufacturers
2017-04-25 22:25:35 +02:00