-
Notifications
You must be signed in to change notification settings - Fork 42
A2 Remapping script
Dimitri Glazkov edited this page Apr 11, 2025
·
2 revisions
Thoughts on what an A2 remapping script needs to support.
Stuff that may need to be remapped:
- blob URLs in assets
- configuration values
- in configuration values: chiclet URLs (for tools)
- node types
- asset URLs
Remapping:
- changing a value (remap)
- adding a value based based on another value (add-map)
Need to be able to remap more than one value. Example -- changing all individual generator steps to Generate
.
- add configuration value
generation-mode
based on existing type - and remap type
Process of remapping:
- For each BGL, find the items to be remapped (chiclet, blob, type, asset)
- For each item (if any) a. Look up the current value and find all mapped value b. Replace the value
- Save the BGL if any changes were made
Remapping format:
- type of the item to remap
- current value -> new value map