Skip to content

Conversation

@retlehs
Copy link
Member

@retlehs retlehs commented Oct 22, 2025

@retlehs retlehs requested a review from swalkinshaw October 22, 2025 16:40
@retlehs retlehs self-assigned this Oct 22, 2025
@retlehs retlehs requested a review from swalkinshaw October 22, 2025 18:01
Comment on lines +217 to 219
Don't include local env (useful for non-Lima users):
$ trellis alias --skip-local
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you remember why is this useful? Not sure what the downside is for including local/dev all the time

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For Valet/other local dev envs since you just run wp commands without an alias

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah but what's the point in even offering this option? Does it cause some issue you generated aliases for local/env without skipping it?

Copy link
Member

@tangrufus tangrufus Oct 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I remember it correctly, there were problems when both wp-cli.yml and wp-cli.trellis-alias.yml specific the same alias. The config get merged / overwritten in ways we didn't expect.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 might as well just keep it then

func (t *Trellis) SshHost(environment string, siteName string, user string) string {
host := t.SiteFromEnvironmentAndName(environment, siteName).MainHost()

if environment == "development" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh logs just never even worked on Lima. So this is fine anyway

Copy link
Member

@swalkinshaw swalkinshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@retlehs retlehs merged commit 9d4b061 into master Oct 23, 2025
8 checks passed
@retlehs retlehs deleted the drop-vagrant branch October 23, 2025 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants