"server add --local" asks for domain but doesn't use it? #341

Closed
opened 2022-08-14 14:38:00 +00:00 by decentral1se · 1 comment
Owner

Weird...

❯ abra server add --local
? Specify a domain name example.com
INFO[0000] successfully created /home/decentral1se/.abra/servers/default 
INFO[0000] local server has been added                   

Ideally it would create .abra/servers/example.com as when you do:

❯ abra app new strapi
? Select app server: default
? Specify app domain strapi.default
? Generate app secrets? No

You don't see example.com, you see default, which is confusing!

Internally, we use default to match the local context that docker expects. If we were to make .abra/servers/example.com, then there would be no way to understand that this server is a --local server...

Ideally we wouldn't make the user have to see "default" since it doesn't match at all with what they are asking for - --local / example.com. Maybe we could append example.com-local or some other naming convention to mark it as --local for abra.

Anyone got a plan of action on this one?

Weird... ``` ❯ abra server add --local ? Specify a domain name example.com INFO[0000] successfully created /home/decentral1se/.abra/servers/default INFO[0000] local server has been added ``` Ideally it would create `.abra/servers/example.com` as when you do: ``` ❯ abra app new strapi ? Select app server: default ? Specify app domain strapi.default ? Generate app secrets? No ``` You don't see `example.com`, you see `default`, which is confusing! Internally, we use `default` to match the local context that docker expects. If we were to make `.abra/servers/example.com`, then there would be no way to understand that this server is a `--local` server... Ideally we wouldn't make the user have to see "default" since it doesn't match at all with what they are asking for - `--local` / `example.com`. Maybe we could append `example.com-local` or some other naming convention to mark it as `--local` for `abra`. Anyone got a plan of action on this one?
decentral1se added the
bug
abra
labels 2022-08-14 14:38:00 +00:00
decentral1se added this to the (deleted) project 2022-08-14 14:38:02 +00:00
Author
Owner

/cc @3wordchant @Frando as people i know who make use of --local... 🤔

/cc @3wordchant @Frando as people i know who make use of `--local`... 🤔
decentral1se added the
good first issue
label 2022-10-22 12:34:16 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#341
No description provided.