You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Safely and automatically edit
ci.yml
CI definition files in bulk.Example use case.
Two packages (here
axblack
andclick
) are not compatible --click
oraxlback
need to "fix". Meanwhile we need to fix the install version inci.yml
. But as soon asclick
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 someci.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
anddol.kv_walk
before starting.The text was updated successfully, but these errors were encountered: