-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Safely and automatically edit ci.yml CI definition files in bulk.
Example use case.
Two packages (here axblack and click) are not compatible -- click or axlback need to "fix". Meanwhile we need to fix the install version in ci.yml. But as soon as click is fixed, we'd like to revert back to the non-constrained version.
We'd like to do this over 100+ repositories.
Each repo comes from a templated ci.yml, but the template has changed over time, and some ci.yml files have been edited manually to accommodate for particulars.
What we want to be able to do is local edits automatically. That is, find the line(s) that have to be edited (with high certainty) and edit them (or add lines, or remove lines...).
Since yml is a serialization of a tree structure, we should do this CRUD at the level of that, not the raw file contents itself. Something like:
Notes
Has to do with embody
See remap and dol.kv_walk before starting.
