Feature Request: "add" command for adding extra sites
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 169
- Forks
- 30
- Avg merge
- 13h 43m
- Merged PRs (30d)
- 7
Description
Terms
- I have read the guidelines for Contributing to Roots Projects
- This request is not a duplicate of an existing issue
- This is not a personal support request that should be posted on the Roots Discourse community
Summary
Add trellis add command. This is usefull for adding new sites to an existing trellis project.
The existing trellis new command adds a complete new trellis project. It fills in a pre-configured setup. I would like to have a command that does the same but only for adding a new site to the project.
This way you dont have to copy-paste-edit the existing site. It's faster and foolproof.
Motivation
Why are we doing this?
To make it easier and foolproof to add a new sites to an existing trellis project.
What use cases does it support?
Users wanting to add more than one site to a trellis project.
What is the expected outcome?
A clean and pre-configured site setup added to the trellis project.
Potential conflicts / foreseeable issues
Check if there is a site with the same name already existing in the trellis project.
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the existing trellis new command and how it creates a complete project. Define the corresponding site-only setup, including detection of an existing site with the same name; done means trellis add creates a clean, pre-configured site in an existing project without copying files manually.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible, go
- Domain
- cli, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100