New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
start-mailserver.sh split #1820
start-mailserver.sh split #1820
Conversation
* refactored setup-stack.sh * stzarted adjusting target/bin/*.sh to use new usage format
I like the idea of the split. The only disadvantage/challenge I see is, that we add another thing to remember, when we introduce new ENVs. To keep all consistent, we must ensure, that at least the following things are done:
|
I thought about this too. I could easily put the |
I came up with an elegant solution. Similar to what it was like before, I create a dictionary |
@casperklein what do you think now? From my side ready for merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've not looked in detail for quotes and style etc but imho I can approve the logic your changes follow 👍🏻
@aendeavor I will review it tomorrow. But from a quick check it looks good to me 👍 |
So I will gather all changelog information when this get's merged and release |
@wernerfred Perfect. This is exactly what I wanted to ask you now :D @casperklein If you approve this PR, go ahead and squash merge it into PS: @wernerfred Don't forget to update the README for version 9, especially the |
No deal breaker, just a little styling question: Before: After: I was just wondering about the "?". What' s the meaning of it? Why not just |
Ah colors.. another general question. You did a great afford in colorizing all the scripts.
Was there a reason, why you didn't use variables, e.g.
This looks IMHO more cleaner. Maybe I provide a PR in mid-term to switch to variables. But before (wasting time), I want to ensure, there was no particular reason not to so. |
I thought this was more compact:)
Feel free to change it. But until supervisor fixes its issues with Color, there is no difference :) |
Description
I will be very low on time for the next month (this time for real :D), and decided to provide this project with a bit of "last" work before I do less here, and I will now spend more time other things. This is not to say I'm gone. If you tag me with an @ I will most likely still respond, but I won't overlook the tracker and PRs that active.
I was always concerned with the size of
start-mailserver.sh
- so I decided to split it up. The new scripts undertarget/scripts/startup/
are parts of the old big file. They are sourced at the end of the newstart-mailserver.sh
.Now, the file
setup.-stack.sh
is still very large, but at least it's a closed context. I made sure to re-write what I deemed inappropriate for the style this project uses. I would like to see this rigorous style being enforced in the future too. But I admit I'm sure you @casperklein @wernerfred will do a good job. And I'm not completely gone either.I would like to see this being merged before
v9.0.0
is released. @wernerfred I guess you will be releasingv9.0.0
and writing the changelog when all PRs we mentioned in the maintainers team are merged.What I would love to see in the future:
target/bin/
should be able to support the new usage informationFixes
The enormous size of
start-mailserver.sh
.Type of change
Checklist: