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

What about forks or customized defaults for Trellis/Bedrock? #9

Open
retlehs opened this issue Jan 17, 2019 · 4 comments
Open

What about forks or customized defaults for Trellis/Bedrock? #9

retlehs opened this issue Jan 17, 2019 · 4 comments
Labels
question Further information is requested

Comments

@retlehs
Copy link
Member

retlehs commented Jan 17, 2019

what if you're an agency that maintains your own fork of trellis that already has certain things in place that are used on all of your trellis sites? such as:

  • wp-cli packages
  • certain users/keys for servers
  • vault keys for licenses/services

how could you use this trellis cli to create new trellis projects with all of those defaults?

@retlehs retlehs added the question Further information is requested label Jan 17, 2019
@retlehs
Copy link
Member Author

retlehs commented Jan 17, 2019

(the same goes for bedrock)

@retlehs retlehs changed the title What about Trellis forks or customized Trellis defaults? What about forks or customized defaults for Trellis/Bedrock? Jan 17, 2019
@retlehs
Copy link
Member Author

retlehs commented Jan 17, 2019

in roots/roots-cli#1 we were going to allow for specifying other remotes

@codepuncher
Copy link
Contributor

In #20 we mention about allowing pluggable subcommands so people can extend with their own setups. Sounds challenging though. How about using a config file like ~/.trellis/config.yml that defines things like remotes?

@swalkinshaw
Copy link
Member

Right now the CLI downloads the latest release via GitHub. This wouldn't be too hard to support a customized version such as a Git repo. The complication comes from how the CLI is generating the configs right now since it requires the default configs which exist in Trellis. So if someone supplied a custom fork where wordpress_sites.yml was different enough, it might break things.

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

No branches or pull requests

3 participants