-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Organization tooling for GitHub and npm #1
Conversation
This is great! I’m a bit worried about I wonder what else we could automate? badges? Org settings like 2fa security, repo settings like the URL, topics, merge/squash/rebase options, projects, wikis, branch protection rules? |
@RichardLitt I’m sure you’ve done some similar stuff with Maintainer Mountaineer (and maybe that it also conflicts 😬) @zeke do you have some pointers on similar previous work, or if we could/should GH actions / Probot apps or something else? |
Yeah I get asked this a lot, but I don't have a great answer for org-wide GitHub configuration of repos. In general, Probots apps go a long way to help keep configuration out of individual repos. I wish there was a probot for npm publishing. GitHub Actions might help some of this, but the Actions workflows are also configured on a per-repository basis, so there would still be a lot of redundant configuration for setting up an org. |
For Code of Conduct, the Electron project has a single |
@zeke Hmm, yeah, I think we need something new for that 👍 |
I kinda like the idea of repo level files being duplicated within each repo (at least while GitHub doesn't support org-level
Makes sense to me. Perhaps we can come up with a different naming convention? Off the top of my head: • config |
I would copy them to all repos, especially as they are invariable. This way, GitHub picks them up. Another option is to have a Regarding the tool, in general: I have built tools for this: build-a-space, a tool for automatically updating other repos, and the Maintainer dashboard, a tool for checking how an org or any number of repos look. Both of them could use a little work, but I'm more than happy to do that work, or to redesign how the tool should work in general. Perhaps we should figure out what the requirements actually are? As far as I can tell, there's a couple of things that my tools don't yet do:
If we want a tool that does those things, I can work on getting the dashboard online as a service and making it easier to use for team admins, to automatically push buttons and get stuff working. What do you think? |
GitHub announced support for using |
Yes! I created https://github.com/unifiedjs/.github yesterday (possibly Monday?), and am going to play around with it to see if it works as advertised. :) |
I’m sorry I‘ve been silent on this lately. I have some halve-working tooling for the GH part, but it isn’t really ready to open up. And I’ve had a busy couple of past and coming weeks unfortunately. I would like to add that I’m going to be distraction free starting May, so it’s definitely happening then, but I’m hopeful that I could spend time on more policies and tooling before then! In the mean time, Richard is doing a great job so go ahead and help and review unifiedjs/.github#1! |
Hey I just learned about the Settings probot app via https://github.blog/2019-04-10-save-setup-time-with-github-classroom-and-probot -- might be a good fit for this? |
Yes, I believe it could be very similar to the settings app! I do really like the configuration format. And that it cascades. Most of the current tooling I’ve setup and partially finished works around teams and humans though, which don’t seem to be supported in GH Apps yet (“The APIs needed for teams are not supported yet by GitHub Apps”). Some ramblings about cascading, I feel we could end up with this:
(where Cascading on by default. Unless an |
This has been addressed with the combination of |
So happy this is done! Still some work for the future, to streamline this all:
|
Wow this looks promising. Looking forward to checking out |
For large projects, especially those that are split amongst numerous
organizations like unified, are often required to perform a lot of
manual admin tasks.
Rendered version