Skip to content
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

Add support for copying settings from a 'default' repository #29

Closed
bkeepers opened this issue Jun 1, 2017 · 11 comments
Closed

Add support for copying settings from a 'default' repository #29

bkeepers opened this issue Jun 1, 2017 · 11 comments
Labels

Comments

@bkeepers
Copy link
Contributor

bkeepers commented Jun 1, 2017

When managing a project that has a lot of similar repositories, it would be helpful to have one repository with defaults that other repositories inherit from.

How it would work:

  1. Create a repository named default, which has templates and a config for new repositories
  2. When a new repository is created, it will automatically open a pull request that copies over the templates, one of which would be a .github/config.yml with an option that tells it to inherit from the default
  3. Any future changes to the config in the default repository would be synced to repositories that inherit from it
@danielbachhuber
Copy link
Contributor

Another implementation could be an inherit: <url> attribute, which inherits settings from an arbitrary YAML file.

This way, the inheritance would be just in time, instead of involving syncing.

@stale
Copy link

stale bot commented Apr 5, 2018

Is this still relevant? If so, please comment with any updates or addition details.

@stale stale bot added the wontfix label Apr 5, 2018
@knrt10
Copy link

knrt10 commented Apr 5, 2018

This is an interesting idea to work on. Let me try to implement this.

@stale stale bot removed the wontfix label Apr 5, 2018
@ntwb
Copy link

ntwb commented Apr 10, 2018

FYI: probot-config now supports this via _extends, see https://github.com/getsentry/probot-config#setup

GitHub
probot-config - A Probot extension to easily share configs between repositories.

@knrt10
Copy link

knrt10 commented Apr 10, 2018

@ntwb Yeah I stumbled upon it 2 days ago. Thanks by the way.

@stale
Copy link

stale bot commented Jun 9, 2018

Is this still relevant? If so, please comment with any updates or addition details.

@stale stale bot added the wontfix label Jun 9, 2018
@travi
Copy link
Member

travi commented Jun 9, 2018

I still think this would be a big help. The probot-config extension mentioned above sounds like a great solution. That's not already supported here, correct?

@stale stale bot removed the wontfix label Jun 9, 2018
@stale
Copy link

stale bot commented Sep 7, 2018

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

@stale stale bot added the wontfix label Sep 7, 2018
@travi
Copy link
Member

travi commented Sep 7, 2018

Still relevant

@stale stale bot removed the wontfix label Sep 7, 2018
@jwsloan
Copy link
Collaborator

jwsloan commented Nov 6, 2018

This can be accomplished today. We have a .github repo with a settings.yml file in it, and we extend that from there.

@stale
Copy link

stale bot commented Feb 4, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants