Sync settings after App installation
Fixes #1
Implementation has overlap with #179
am i correct in understanding that this would directly update the file in the default branch? if so, it seems dangerous to do this without submitting the changes as a PR to give the repository maintainer a change to review and accept the changes. if a project already has the settings file, it's likely that there is a reason for it to include the contents that it does, even if it should be supplemented with additional details.
What do you mean with directly updating the settings file?
The flow this results in:
- Probot settings is installed by user (all or selected repos)
- Probot will loop the previous repos and if it finds a settings file it will sync it
- If the user installs additional repos it will repeat this loop for the new repos.
sorry, i definitely misunderstood the goal. i was thinking about the opposite situation where a repo without an existing file would have one created by pulling the existing settings for that repo through the api and written to the config file. i think there was an issue for that at one point, so i think i made the wrong assumption before reading deeply enough.
with a better understanding now, i do see high value to this. i have been really busy lately, but will try to look through your PR soon and give feedback soon.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
sorry that i still havent gotten to this, but it is still on my radar
Maybe ping @travi ? 😊