Skip to content

chore: Drop setup.sh DATABASE fallback ENV#2556

Merged
polarathene merged 5 commits intodocker-mailserver:masterfrom
polarathene:chore/drop-setup-database-fallback-env
Apr 20, 2022
Merged

chore: Drop setup.sh DATABASE fallback ENV#2556
polarathene merged 5 commits intodocker-mailserver:masterfrom
polarathene:chore/drop-setup-database-fallback-env

Conversation

@polarathene
Copy link
Copy Markdown
Member

Description

The DATABASE ENV fallback was added in this Dec 2016 PR, no justification was provided.

Likewise for USER_DATABASE in delquota and addquota files in Apr 2020 which was probably based on the earlier existing convention used for DATABASE.


Neither are in usage by our tests or detailed in documentation.

These are being dropped as a recent PR adapted existing scripts where DATABASE with an ENV fallback would be conflicting with usage elsewhere unless providing a temporary ENV when calling the command.

Until an actual use-case requires this, it's probably best to drop such support.

This was introduced without any mention or need, thus removing until a real use-case requires it.
Likewise, nothing requires this to be customizable.
Copy link
Copy Markdown
Member

@georglauterbach georglauterbach left a comment

Choose a reason for hiding this comment

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

👍🏼

@georglauterbach georglauterbach mentioned this pull request Apr 19, 2022
4 tasks
@polarathene polarathene merged commit 182b71d into docker-mailserver:master Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants