Skip to content

Require domain and hostname at install step#2

Merged
andsnw merged 2 commits into
openfrens:mainfrom
mbokinala:require-install-domain-hostname
Apr 17, 2026
Merged

Require domain and hostname at install step#2
andsnw merged 2 commits into
openfrens:mainfrom
mbokinala:require-install-domain-hostname

Conversation

@mbokinala
Copy link
Copy Markdown
Contributor

Require openmailserver install to take --domain and --hostname, and require --public-ip for plan-dns. This prevents quickstart from silently bootstrapping placeholder domain values and generating misleading DNS guidance.

@mbokinala mbokinala changed the title Require install domain and hostname Require domain and hostname at install step Apr 17, 2026
@mbokinala mbokinala force-pushed the require-install-domain-hostname branch from 96f2532 to 11521b7 Compare April 17, 2026 00:38
@mbokinala mbokinala marked this pull request as draft April 17, 2026 00:42
@mbokinala mbokinala force-pushed the require-install-domain-hostname branch from ac681af to 657cddd Compare April 17, 2026 00:43
@mbokinala mbokinala force-pushed the require-install-domain-hostname branch 2 times, most recently from 0f644dc to 04af0a5 Compare April 17, 2026 00:55
Typer's rich-formatted error panel (with "Missing option '--public-ip'")
prints through a separate rich Console that isn't reliably captured by
the CliRunner across runner environments. Verify the failure shape
instead: exit code 2 (usage error) plus a Usage line proves the parser
rejected the command rather than crashing. Renaming or removing
--public-ip is still caught by test_plan_dns_command_outputs_records,
which invokes the option on the happy path.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@mbokinala mbokinala force-pushed the require-install-domain-hostname branch from 04af0a5 to 434bcd7 Compare April 17, 2026 00:58
@mbokinala mbokinala marked this pull request as ready for review April 17, 2026 01:00
@andsnw andsnw merged commit 73131dd into openfrens:main Apr 17, 2026
4 checks passed
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.

2 participants