Skip to content

Changes from #1599 without start-mailserver.sh#1601

Merged
georglauterbach merged 9 commits intodocker-mailserver:masterfrom
georglauterbach:master
Sep 9, 2020
Merged

Changes from #1599 without start-mailserver.sh#1601
georglauterbach merged 9 commits intodocker-mailserver:masterfrom
georglauterbach:master

Conversation

@georglauterbach
Copy link
Copy Markdown
Member

@georglauterbach georglauterbach commented Sep 5, 2020

The First Half

This PR includes the first half of #1599, i.e. everything that is not start-mailserver.sh.

Changes

  • outsourced badges-links in README.md to clean this section up
  • refactored .travis.yml with Prettier and added shellcheck capabilities
  • refactored Makefile to make it verbose where it should be and added a shellcheck target
  • refactored all scripts in target/ (except start-mailserver.sh)
  • added coding style guidelines to CONTRIBUTING.md so everyone can and must adhere to consistent guidelines
  • start-mailserver.sh had to be touched due to renaming of functions
  • added a table of contents to Markdown documents

What's new

Bash scripts are now streamlined and follow a certain paradigm where strictness is key.

TravisCI will now check scripts with shellcheck, and throws an error if warnings were found. Guidelines have been written to make coding more streamlined.

To-Do

Current Errors

None. Ready for review and merge.

Post Scriptum

Thank you very much @tomav for invinting me!

Georg Lauterbach added 2 commits September 5, 2020 16:19
included all changes from the work on refactoring all scripts, but excluded one big script to make merging easier; replaced mapfile with read
@georglauterbach georglauterbach changed the title WIP: Changes from #1599 without start-mailserver.sh Changes from #1599 without start-mailserver.sh Sep 5, 2020
Comment thread .travis.yml Outdated
Comment thread CONTRIBUTING.md Outdated
@georglauterbach
Copy link
Copy Markdown
Member Author

Another question for @erik-wramner unrelated to this PR: How do you guys deal with (very) old issues, where there was no action for a prolonged period of time?

@georglauterbach georglauterbach linked an issue Sep 9, 2020 that may be closed by this pull request
@erik-wramner
Copy link
Copy Markdown
Contributor

@aendeavor as you can see there are tons of old issues. My policy is to ask if the issue is still relevant. If there is no answer in one week I will close it with a comment that it can be reopened if needed. Good job on your part, I noticed that you closed many recently!

I'm willing to merge this if you are ready. Or by all means merge it yourself!

@georglauterbach
Copy link
Copy Markdown
Member Author

georglauterbach commented Sep 9, 2020

@aendeavor as you can see there are tons of old issues. My policy is to ask if the issue is still relevant. If there is no answer in one week I will close it with a comment that it can be reopened if needed. Good job on your part, I noticed that you closed many recently!

I'm willing to merge this if you are ready. Or by all means merge it yourself!

Great news. I have pushed another commit rounding things up adding tables of contents. I will wait for the tests to finish, then I'll merge it.

I also added a label, frozen due to age for these old issues.

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.

readlink: illegal option -- f on master setup.sh Can't delete an alias when an alias was added with just one email.

3 participants