espressif / idf-examples-launchpad-ci-action

Action that builds examples for ESP Launchpad
Apache License 2.0
0 stars 2 forks source link

More user-friendly app names in TOML (RDT-841) #3

Open igrr opened 11 months ago

igrr commented 11 months ago

TOML seems to support spaces in table names, and we could use this to generate more user-friendly names of apps.

For example, we could use an app name "display (esp-box-lite, IDF v5.1.1)" instead of "display-esp-box-lite-v5_1_1".

(Binary names, of course, would still use hyphens or underscores.)

igrr commented 11 months ago

Alternatively, we could let the user of this action specify a "format string" which would be used to generate the app name.

Similar to idf-build-apps, where we can specify the build paths using @-placeholders. With this approach, @n (@c, IDF @v) would get expanded to display (esp-box-lite, IDF v5.1.1).

igrr commented 11 months ago

Linking https://github.com/espressif/esp-launchpad/issues/42 — exact way to set the app name is TBD.