Skip to content

Conversation

merijn
Copy link
Contributor

@merijn merijn commented Aug 2, 2021

As I talked about ages ago on IRC, I finally got around to finishing it up.

Adds a new diff-config command that takes a config file and/or generated CI workflow and prints a diff of the configurations. There's no tests atm and there is some bikeshedding to be done with regards to: Should we take commandline flags/existing config files into account? If yes, should those be applied to the "old" or the "new" config?

In principle this also obsoletes/can replace the old dump-config command.

@merijn merijn force-pushed the diff branch 3 times, most recently from 021ab22 to 39d9630 Compare October 4, 2021 11:38
@merijn
Copy link
Contributor Author

merijn commented Oct 4, 2021

@phadej How do you feel about this? Obviously needs a bit more polish in the form tests and bike-shedding how commandline flags affect the diff command (if they even should?). The current Dump functionality can be trivially replaced by (and augmented to output dumps arbitrary configs, instead of just the default).

I'm just to lazy to finish up the last polish if you're not interested anyway :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant