Open nevali opened 7 years ago
Started with this ticket under the branch(es)
https://git.bbcarchdev.net/oss/acropolis/commits/RESDATA-1094 https://git.bbcarchdev.net/oss/spindle/commits/RESDATA-1094
Changes in this branch reads config from docker/quilt.conf into spindle_partitions pointer by using quilt's quilt_config_get_all.
First, it will read everyting by specifying NULL as key to find partition(uri-slug, eg : spindle:partitions:assets). Then it will call quilt_config_get_all again specifying the section.
This approach can be improved by reading all parts of the config and then parsing for the required key.
Work is in progress for this approach which can be found with the attached diff.RESDATA-1094-partition_read.diff.zip
Apart from this, spindle_partitions need to be integrated to rest of the spindle code by replacing hard coded struct index_struct spindle_indices.
@prasdeva to answer your 'why is the status 37?' - it'll be the number of entries handled by the callback, I suspect!
In the Quilt module the list of class partitions is not configurable.
(In
spindle-generate
for Twine, the class partitions are defined by the rulebase)The following syntax can be used:
For example (describing
/assets
):Internal tracking: RESDATA-1094