WIP: untie server name from a domain #398
No reviewers
Labels
No Label
bug
build
ci/cd
contributing
design
documentation
duplicate
enhancement
help wanted
invalid
meta
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/abra#398
Loading…
Reference in New Issue
No description provided.
Delete Branch "wykwit/abra:server-name"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The convention of mapping names to domains was driving me crazy.
This fix resolves the actual server hostname according to host entry in the SSH config, allows for using any server name, but most importantly allows for adding local machines as servers.
Turns out that's enough to use
abra
for LAN-only deployments.Default behaviors shouldn't change.
Solid stuff! One minor comment.
I think it'd be nice if you could add an integration test for this?
@ -169,1 +175,4 @@
if err := newContext(c, domainName, hostConfig.Host, hostConfig.User, hostConfig.Port); err != nil {
logrus.Fatal(err)
cleanUp(domainName)
Doesn't this need to go before the
logrus.Fatal
call?Good catch, thanks!
@wykwit got any cycles to take another run at this?
Untie server name from a domainto WIP: untie server name from a domainStep 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.