OtterDog is a tool to manage GitHub organizations at scale using a configuration as code approach. It is actively used by the Eclipse Foundation to manage its numerous projects hosted on GitHub.
Adds a new operation local-apply to apply all changes between two local configurations.
That is used in the ApplyChangesTask of the GitHub App to apply approved changes from a PR. The task will fetch the latest config that has been modified by the PR and the previous one, run the local-apply operation with these 2 configs.
That should avoid getting the current live configuration from GitHub, reducing the number of API calls and speeding up the applying. It is safe to do so as the check-sync task will ensure that the configuration is in sync.
This fixes #257 .
Adds a new operation local-apply to apply all changes between two local configurations. That is used in the ApplyChangesTask of the GitHub App to apply approved changes from a PR. The task will fetch the latest config that has been modified by the PR and the previous one, run the local-apply operation with these 2 configs.
That should avoid getting the current live configuration from GitHub, reducing the number of API calls and speeding up the applying. It is safe to do so as the check-sync task will ensure that the configuration is in sync.