app icon indicating copy to clipboard operation
app copied to clipboard

Update repository config on all default branch commits

Open pecigonzalo opened this issue 5 years ago • 20 comments

This changes the behavior of the bot to update the repo config on all commits We want our org/.github/.github/settings.yml to apply to all repos by default, by filtering on only commits that update the .github/settings.yml files we are unable to do so.

Current behavior

  • To trigger an update of the config, we need to "modify" or fake a modification of the .github/settings.yml
  • Repos do NOT inherit by default from org/.github repo (as probot-config suggests for opt-in/opt-out scenarios)

Desired behavior

  • Any push to the default branch triggers the bot settings update
  • Inherit by default from org/.github repository
Notes

The org/.github repository config should NOT include the following sections

  name: repo-name
  description: description of repo
  homepage: https://example.github.io/
  topics: github, probot

Maybe we could even filter them on the bot

Related
  • #95

pecigonzalo avatar Apr 04 '19 21:04 pecigonzalo

The PR failure seems to be related to this merge: https://travis-ci.org/probot/settings/builds/504391901

pecigonzalo avatar Apr 04 '19 21:04 pecigonzalo

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

stale[bot] avatar Jul 03 '19 22:07 stale[bot]

Waiting for feedback Mr Bot

pecigonzalo avatar Jul 04 '19 14:07 pecigonzalo

Not being able to sync the settings.yml file without a commit to it specifically is a pain point for my team as well. Not sure how I feel about triggering a sync after every commit because it seems excessive but I like this solution until something else can be implemented.

allejo avatar Sep 04 '19 17:09 allejo

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

stale[bot] avatar Dec 03 '19 18:12 stale[bot]

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

Still relevant, blocked by project being dead?

mortenlj avatar Dec 03 '19 19:12 mortenlj

@mortenlj the project is not dead, but is now maintained by a few volunteers that are not working full time on this project. i'm sorry that there hasn't been feedback on this specific PR since I joined as a maintainer, but please consider that the maintainers are volunteering their time to keep the project moving forward rather than becoming dead, even if addressing some problems takes longer than we all would like.

While applying changes to account-level config is a problem that we want to solve, we want to proceed carefully since the possible solutions do come with tradeoffs. addressing this problem introduces a very significant behavioral change to how settings works currently. i'm at least wanting to make sure that i understand the system well before making a hasty change in this area. we are considering some other solutions, like https://github.com/probot/settings/pull/179, which could solve the same problem with a less expensive approach.

we understand that solving this need is something that will benefit most settings users, including the usage by the maintainers. i can assure you that the need is not going unnoticed.

travi avatar Dec 04 '19 04:12 travi

Matt, great to know you guys have this on your scope, but it would be great then to mark this so it stops getting the stale every now and then, as it's really annoying to comment every X and just adds noise to the other people following this, including myself.

Really appreciate the volunteer time and I fully understand, as I struggle as well with my GH projects sometimes. As you know, my time to update, research how this project works, etc, was also volunteered and would have appreciated at least a comment on this as it was opened 8 months ago aside from a bot.

Thanks, hope we can find a solution for this soon and hopefully some more maintainers to help.

On Wed, Dec 4, 2019, 5:21 PM Matt Travi [email protected] wrote:

@mortenlj https://github.com/mortenlj the project is not dead, but is now maintained by a few volunteers that are not working full time on this project. i'm sorry that there hasn't been feedback on this specific PR since I joined as a maintainer, but please consider that the maintainers are volunteering their time to keep the project moving forward rather than becoming dead, even if addressing some problems takes longer than we all would like.

While applying changes to account-level config is a problem that we want to solve, we want to proceed carefully since the possible solutions do come with tradeoffs. addressing this problem introduces a very significant behavioral change to how settings works currently. i'm at least wanting to make sure that i understand the system well before making a hasty change in this area. we are considering some other solutions, like #179 https://github.com/probot/settings/pull/179, which could solve the same problem with a less expensive approach.

we understand that solving this need is something that will benefit most settings users, including the usage by the maintainers. i can assure you that the need is not going unnoticed.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/probot/settings/pull/120?email_source=notifications&email_token=ACLS7CPYLDNPPC3O3HNZSDDQW4V6BA5CNFSM4HDW4A4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF3VWEI#issuecomment-561470225, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLS7CLQ3CM24RLU7X4RKOLQW4V6BANCNFSM4HDW4A4A .

pecigonzalo avatar Dec 04 '19 07:12 pecigonzalo

@mortenlj the project is not dead, but is now maintained by a few volunteers that are not working full time on this project. i'm sorry that there hasn't been feedback on this specific PR since I joined as a maintainer, but please consider that the maintainers are volunteering their time to keep the project moving forward rather than becoming dead, even if addressing some problems takes longer than we all would like.

@travi I appreciate that it's a volunteer effort, and I really do value your work. My reason for asking if the project is dead is because in my view, one of the most important things to do when maintaining an open source project with too little time is to give potential new maintainers/contributors feedback when they open a PR. Since this PR has not received any feedback in 8 months, my thoughts were that there hasn't been anyone maintaining the project in 8 months.

If the project isn't dead, and progress is being made, then that's excellent news! I eagerly await a solution to the problem. I would have contributed myself, except I don't know up or down in a javascript codebase. :smile:

mortenlj avatar Dec 04 '19 09:12 mortenlj

it would be great then to mark this so it stops getting the stale every now and then, as it's really annoying to comment every X and just adds noise to the other people following this, including myself.

agreed on this point. i still need to understand how the bot is configured for this project, but i have been annoyed by this as well, including before i became a maintainer. i don't have direct control of this, so i may not be able to improve the situation immediately, but do hope to get some improvements figured out.

As you know, my time to update, research how this project works, etc, was also volunteered and would have appreciated at least a comment on this as it was opened 8 months ago aside from a bot.

understood and your contribution is appreciated. not that it helps much now, but i'll clarify that i was not a maintainer at the time. that doesn't excuse the lack of commenting since joining, but i am still working to catch up on outstanding issues and PRs, including figuring out some of the ones that were closed by stale bot that shouldn't have been. part of the reason for the delay is that solving this need is a pretty big change to overall behavior, so i've been trying to get my feet under myself with some smaller features first.

i do definitely want to solve this need though. i think i currently do lean in the direction of a solution along the lines of #179 so that the updates would be even more immediate, but only when the account-level config has actually been changed. i would love additional feedback if you have some on either approach.

travi avatar Dec 06 '19 03:12 travi

My reason for asking if the project is dead

please be mindful that suggesting that a project is dead is more aggressive than just an innocent question. i recognize that this project has been quiet for a while, especially during the period of time when this PR was opened. however, it is pretty easy to to find recent activity with issues, PRs, and commits to understand that this project is not dead, even though our new maintainers, myself included, have not yet circled back to this PR.

one of the most important things to do when maintaining an open source project with too little time is to give potential new maintainers/contributors feedback when they open a PR.

unfortunately, i only became a maintainer recently, so there is an existing backlog of outstanding issues and PRs, some of which have wrongly been closed by the stale bot that we are still working to get caught up on. i do hope to get to the point where responsiveness is improved for new contributions, but available volunteer hours are limited.

i do understand the frustration, but also appreciate understanding that maintenance efforts do have limits, especially when trying to catch back up with outstanding desires.

travi avatar Dec 06 '19 03:12 travi

No worries at all, thanks a lot again for your work and let me know if I can help any further.

On Fri, Dec 6, 2019, 4:52 PM Matt Travi [email protected] wrote:

My reason for asking if the project is dead

please be mindful that suggesting that a project is dead is more aggressive than just an innocent question. i recognize that this project has been quiet for a while, especially during the period of time when this PR was opened. however, it is pretty easy to to find recent activity with issues, PRs, and commits to understand that this project is not dead, even though our new maintainers, myself included, have not yet circled back to this PR.

one of the most important things to do when maintaining an open source project with too little time is to give potential new maintainers/contributors feedback when they open a PR.

unfortunately, i only became a maintainer recently, so there is an existing backlog of outstanding issues and PRs, some of which have wrongly been closed by the stale bot that we are still working to get caught up on. i do hope to get to the point where responsiveness is improved for new contributions, but available volunteer hours are limited.

i do understand the frustration, but also appreciate understanding that maintenance efforts do have limits, especially when trying to catch back up with outstanding desires.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/probot/settings/pull/120?email_source=notifications&email_token=ACLS7CIZFBXCUW2UUFTVH3TQXHEBLA5CNFSM4HDW4A4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGC57YA#issuecomment-562421728, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLS7CPXFFJYLO34ZHN6YRDQXHEBLANCNFSM4HDW4A4A .

pecigonzalo avatar Dec 06 '19 04:12 pecigonzalo

please be mindful that suggesting that a project is dead is more aggressive than just an innocent question

My apologies if my comments come of as aggressive, that is certainly not my intention. Thanks for picking up the mantle, and just know that we are all eagerly awaiting any and all improvements you can make. :smile:

mortenlj avatar Dec 06 '19 21:12 mortenlj

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

stale[bot] avatar Mar 05 '20 22:03 stale[bot]

Bot, please gtfo

On Fri, Mar 6, 2020, 12:48 AM stale[bot] [email protected] wrote:

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/probot/settings/pull/120?email_source=notifications&email_token=ACLS7CPVNPBCYZQCSH6ORYLRGA25DA5CNFSM4HDW4A4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN7FVFA#issuecomment-595483284, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLS7CKPA5OP3HLB3JDI6IDRGA25DANCNFSM4HDW4A4A .

pecigonzalo avatar Mar 06 '20 01:03 pecigonzalo

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

stale[bot] avatar Jun 04 '20 01:06 stale[bot]

Bump. Still relevant

allejo avatar Jun 20 '20 21:06 allejo

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

stale[bot] avatar Sep 20 '20 04:09 stale[bot]

bad bot

allejo avatar Sep 20 '20 04:09 allejo

Ping @travi what do we need to merge this in? 🙇

At the moment, the alternative to this bot, https://github.com/github/safe-settings, is ahead of this one because it doesn't support this feature 😥

rogerluan avatar Oct 09 '22 23:10 rogerluan