Mathew Sutcliffe
816f3bd48e
New X-Plane flyable plane model string schema
...
Summary:
New aircraft for XP11 should include a name, author, and studio. These can be used to generate a better model string that doesn't depend on file or directory names.
If the `.acf` contains studio, this is used as the distributor. Otherwise, we use author as distributor instead (truncated in case it is a long list of names).
Then the model string is constructed by combining distributor and model name. If the model name already contains the distributor, we just use the model name.
If the name and distributor are missing, we fall back to the old scheme based on `.acf` filename and dirname.
I have also added a space between aircraft and livery. And I have added default description strings.
After this has landed and been deployed to users, we will need to remove all flyable X-Plane planes from the database and start again with them. (These are the excluded ones.) And we can't accept mappings that use the fallback old scheme if the submitted has renamed the `.acf` file or directory name.
Reviewers: rwinklmeier, kbasan
Reviewed By: kbasan
Subscribers: jenkins
Tags: #swift_pilot_client
Differential Revision: https://dev.swift-project.org/D16
2017-05-05 23:07:28 +01:00
..
2017-02-24 15:21:42 +00:00
2017-04-19 19:31:50 +01:00
2017-05-05 22:43:57 +01:00
2017-04-19 19:31:45 +01:00
2017-04-18 00:08:44 +01:00
2017-04-19 19:31:42 +01:00
2016-12-13 19:00:31 +01:00
2017-05-05 22:40:10 +01:00
2017-02-25 02:11:11 +00:00
2017-04-19 19:31:45 +01:00
2017-05-05 23:07:28 +01:00
2017-02-24 00:19:36 +00:00
2017-04-19 19:31:50 +01:00
2014-01-08 01:00:31 +00:00
2017-04-19 19:31:50 +01:00
2016-12-13 19:00:26 +01:00
2017-04-18 00:04:43 +01:00
2017-04-18 00:04:43 +01:00
2017-04-19 19:31:50 +01:00
2017-04-17 23:57:59 +01:00
2016-12-06 09:46:39 +01:00
2016-12-06 09:46:39 +01:00
2015-05-12 20:36:03 +01:00
2017-04-18 00:00:04 +01:00
2017-04-18 00:08:44 +01:00
2016-12-13 19:00:44 +01:00
2017-04-19 19:31:44 +01:00
2017-04-19 19:31:42 +01:00
2017-02-25 02:11:20 +00:00
2017-02-25 02:11:20 +00:00
2017-04-19 19:31:38 +01:00
2016-05-13 17:05:49 +02:00
2017-02-24 15:21:10 +00:00
2016-08-26 20:54:52 +01:00
2017-02-24 15:21:11 +00:00
2016-07-03 13:22:25 +02:00
2016-07-03 13:22:25 +02:00
2017-04-19 19:31:39 +01:00
2017-04-18 00:00:34 +01:00
2017-01-10 23:47:21 +00:00
2017-02-24 15:22:40 +00:00
2017-04-19 19:31:45 +01:00
2017-02-24 15:21:55 +00:00
2017-02-24 15:22:09 +00:00
2017-02-24 15:21:20 +00:00
2016-05-13 17:05:49 +02:00
2017-02-24 15:22:39 +00:00
2017-02-24 00:09:11 +00:00
2017-02-24 00:09:11 +00:00
2017-04-19 19:31:42 +01:00
2017-04-17 23:59:35 +01:00
2017-02-24 15:22:17 +00:00
2016-05-13 17:05:49 +02:00
2017-04-19 19:31:44 +01:00
2017-04-18 00:06:58 +01:00
2017-02-24 00:18:51 +00:00
2017-04-18 00:05:18 +01:00
2017-04-18 00:05:18 +01:00
2017-04-19 19:31:42 +01:00
2016-12-13 19:00:29 +01:00
2016-12-13 19:00:26 +01:00
2016-05-20 01:31:26 +02:00
2017-04-18 00:05:29 +01:00
2017-01-10 23:47:10 +00:00
2017-04-19 19:31:42 +01:00
2017-04-19 19:31:42 +01:00
2016-05-13 17:05:49 +02:00
2017-01-10 23:46:17 +00:00
2017-04-17 23:59:04 +01:00
2017-04-17 23:59:04 +01:00
2017-04-17 23:59:06 +01:00
2017-04-17 23:59:06 +01:00
2017-02-24 15:20:52 +00:00
2017-02-24 15:20:52 +00:00
2016-08-03 02:20:45 +01:00
2016-04-03 18:17:39 +01:00
2016-12-06 09:34:46 +01:00
2017-04-19 19:31:44 +01:00
2017-04-19 19:31:42 +01:00
2017-04-19 19:31:42 +01:00
2017-04-19 19:31:50 +01:00
2017-01-10 23:46:31 +00:00
2017-04-17 23:57:19 +01:00
2016-05-20 01:41:10 +02:00
2015-11-19 21:05:27 +00:00
2016-12-13 19:00:30 +01:00
2016-05-13 17:05:49 +02:00
2017-04-18 00:08:47 +01:00
2016-07-14 18:49:26 +02:00
2016-12-06 09:46:52 +01:00
2017-04-19 19:31:38 +01:00
2016-05-13 17:05:49 +02:00
2016-12-13 19:00:36 +01:00
2016-12-13 19:00:36 +01:00
2017-04-19 19:31:39 +01:00
2016-05-13 17:05:49 +02:00
2017-04-19 19:31:44 +01:00
2017-02-25 02:11:11 +00:00
2016-07-28 23:49:22 +01:00
2017-02-24 15:21:23 +00:00
2016-05-13 17:05:49 +02:00
2017-01-10 23:47:10 +00:00
2016-05-13 17:05:49 +02:00
2016-12-13 19:00:58 +01:00
2016-12-13 19:00:58 +01:00
2017-02-24 15:20:28 +00:00
2017-02-24 15:20:28 +00:00
2017-01-11 01:28:37 +00:00
2016-12-13 19:00:11 +01:00
2016-05-13 17:05:49 +02:00
2016-12-13 19:00:44 +01:00
2016-12-13 19:00:44 +01:00
2017-02-24 15:20:55 +00:00
2017-04-19 19:31:44 +01:00
2016-07-04 23:43:27 +01:00
2017-04-18 00:07:39 +01:00
2017-04-18 00:07:39 +01:00
2016-10-17 14:34:23 +01:00
2016-10-17 14:34:23 +01:00
2017-04-19 19:31:39 +01:00
2017-04-18 00:06:24 +01:00
2014-10-07 13:10:33 +02:00
2016-05-13 17:05:49 +02:00
2016-05-13 17:05:49 +02:00
2017-04-19 19:31:39 +01:00
2017-04-17 23:57:22 +01:00
2017-04-19 19:31:38 +01:00
2013-07-28 03:20:04 +02:00
2017-05-05 23:07:11 +01:00
2015-11-22 02:42:29 +01:00
2016-03-18 01:10:35 +00:00
2016-05-13 17:05:49 +02:00
2016-05-13 17:05:49 +02:00
2016-05-13 17:05:49 +02:00
2017-02-24 15:20:55 +00:00
2017-04-19 19:31:44 +01:00
2017-04-18 00:00:24 +01:00
2017-04-18 00:00:24 +01:00
2017-04-19 19:31:38 +01:00
2017-04-17 23:57:50 +01:00
2016-12-06 09:34:47 +01:00
2017-01-10 23:46:43 +00:00
2015-12-08 22:30:10 +00:00
2016-05-13 17:05:49 +02:00
2016-05-13 17:05:49 +02:00
2017-01-10 23:47:10 +00:00
2017-04-19 19:31:44 +01:00
2017-02-24 15:22:09 +00:00
2017-02-24 00:20:04 +00:00
2017-04-18 00:06:26 +01:00
2017-04-18 00:06:26 +01:00
2017-02-24 00:09:11 +00:00
2016-05-13 17:05:49 +02:00
2017-04-19 19:31:39 +01:00
2017-01-10 23:46:48 +00:00
2017-04-18 00:06:24 +01:00
2017-04-18 00:06:24 +01:00
2017-02-25 02:11:16 +00:00
2017-04-19 19:31:39 +01:00
2017-04-17 23:59:00 +01:00
2016-10-17 14:37:47 +01:00
2016-05-20 01:31:26 +02:00
2017-04-18 00:06:15 +01:00
2017-04-19 19:31:44 +01:00
2017-02-24 15:21:24 +00:00
2017-02-24 15:21:24 +00:00
2017-01-10 23:46:34 +00:00
2017-01-10 23:46:34 +00:00
2016-12-13 19:00:20 +01:00
2017-01-10 23:44:25 +00:00
2016-05-13 17:05:49 +02:00
2017-04-19 19:31:42 +01:00
2017-04-18 00:00:13 +01:00
2016-08-26 21:04:43 +01:00
2016-12-06 09:46:47 +01:00