airsdk / apm

AIR Package Manager
https://repository.airsdk.dev/
MIT License
60 stars 10 forks source link

APM project as template generator #160

Closed spielepalast closed 1 year ago

spielepalast commented 1 year ago

We would like to use APM configuration to generate templates. It works already for most properties except for boolean values. For example the following is not generated in the output manifest due to the non boolean value [GET_TASK_ALLOW]:

"getTaskAllow": {
            "name": "getTaskAllow",
            "required": "true",
            "value": "[GET_TASK_ALLOW]"
 },
marchbold commented 1 year ago

Can you elaborate some more for me? What exactly is failing?

spielepalast commented 1 year ago

This would work:

"getTaskAllow": {
            "name": "getTaskAllow",
            "required": "true",
            "value": "false"
 }

but this is not working:

"getTaskAllow": {
            "name": "getTaskAllow",
            "required": "true",
            "value": "AbcXYZ"
 },
marchbold commented 1 year ago

What is the need for this though? We do use some of these values to determine what fields should be used, as some values aren't allowed in app store releases based on flags like this. So they sort of need to be valid for the info additions generation to correctly generate the app descriptor.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.

spielepalast commented 1 year ago

they sort of need to be valid for the info additions generation

Well, then there is not much that can be done. The need for this came down from using APM to generate an app descriptor that can be processed again to modify some values "on the fly", without re-generating it.