GithubOrganizer icon indicating copy to clipboard operation
GithubOrganizer copied to clipboard

Allow setting of more options

Open stuart-c opened this issue 4 years ago • 12 comments

It would be useful if we can additionally set the following options:

  • Repository visibility (public, private, internal)
  • Delete branch upon merge

stuart-c avatar Jul 22 '20 09:07 stuart-c

Great timing- I was actually going to work on this a bit this weekend, including adding some features to set the default branch (in order to help organizations transition from "master" to "main" alongside Github).

tedivm avatar Jul 22 '20 16:07 tedivm

Great! I was going to make a PR if I have time...

Another useful one would be setting the AD groups for teams as per https://developer.github.com/v3/teams/team_sync/

stuart-c avatar Jul 22 '20 16:07 stuart-c

I've opened https://github.com/gitconsensus/GithubOrganizer/pull/5

stuart-c avatar Jul 26 '20 07:07 stuart-c

Awesome, thank you! I'm testing some changes around default branches and once that's complete I'll deploy both changes at once.

tedivm avatar Jul 26 '20 18:07 tedivm

When should updates run as I'm not seeing the changes I'm expecting. I'm guessing the logs aren't available anywhere?

stuart-c avatar Jul 28 '20 10:07 stuart-c

I've released a bunch of upgrades today, including your changes, even more settings, the ability to take by repository topic, and default branches.

tedivm avatar Sep 27 '20 21:09 tedivm

You seem to have commented out the delete branch on merge stuff?

https://github.com/gitconsensus/GithubOrganizer/commit/76dae7bada108a17ba7bfbf924b9d96dd1c70ef7

stuart-c avatar Sep 30 '20 13:09 stuart-c

Oops, I'll get that corrected

tedivm avatar Oct 02 '20 03:10 tedivm

Please can you uncomment out the delete branch on merge. Thank you

techxplain avatar Nov 11 '20 17:11 techxplain

Hi Ted, Happy New Year. Just wondering if there is any update on getting the delete branch on merge line uncommented out? https://github.com/gitconsensus/GithubOrganizer/blob/3615e38515f20e36ebd12023908debda5b4a17b6/githuborganizer/models/gh.py#L251

techxplain avatar Jan 05 '21 10:01 techxplain

any update on this one please?

dtroup-global avatar Feb 23 '22 09:02 dtroup-global

I'd like to just say thank you for working on this project. I've been implementing it on my own org, and it's been quite helpful.

... that said ... would we be able to reimplement delete_branch_on_merge?

jobimrobinsantos-drizly avatar Oct 05 '22 13:10 jobimrobinsantos-drizly