Skip to content
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

Remove macOS specific code / support + shellcheck should avoid python, regardless of permissions #2466

Merged
merged 6 commits into from Mar 9, 2022

Conversation

NorseGaud
Copy link
Member

@NorseGaud NorseGaud commented Mar 6, 2022

Description

Supporting macOS is a nightmare. Users can run a headless linux VM, mount the docker-mailserver directory into it, and run make commands if they are on macOS.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (non-breaking change that does improve existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)
  • If necessary I have added tests that prove my fix is effective or that my feature works
  • [ https://github.com/[BUG] Building Dockerfile locally fails #2023 ] New and existing unit tests pass locally with my changes

@NorseGaud
Copy link
Member Author

I'm sort of stuck running the tests and stuff locally... Per #2467, postfix won't install due to the builder container not having a full FQDN

@NorseGaud
Copy link
Member Author

NorseGaud commented Mar 6, 2022

I made two unrelated to the PR, but blocker fix changes in this :

  1. Avoid leaving build container around (they would pile up while testing the build)
  2. Using grep to avoid python script since my virtual machine mount forces all of the target/bin/ files to be executable and fails shellcheck.

@NorseGaud NorseGaud marked this pull request as ready for review March 7, 2022 00:07
@NorseGaud NorseGaud requested a review from a team March 7, 2022 00:07
@NorseGaud NorseGaud self-assigned this Mar 7, 2022
@NorseGaud NorseGaud added area/documentation area/scripts area/tests kind/update Update an existing feature, configuration file or the documentation os/macOS priority/medium labels Mar 7, 2022
test/linting/lint.sh Outdated Show resolved Hide resolved
polarathene
polarathene previously approved these changes Mar 7, 2022
Makefile Outdated Show resolved Hide resolved
@NorseGaud NorseGaud changed the title Remove macOS specific code / support Remove macOS specific code / support + shellcheck should avoid python, regardless of permissions Mar 7, 2022
polarathene
polarathene previously approved these changes Mar 7, 2022
Copy link
Member

@casperklein casperklein left a comment

Choose a reason for hiding this comment

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

LGTM. But there are still some ${@:+$@} left in setup.sh and lint.sh

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2022

Documentation preview for this PR is ready! 🎉

Built with commit: 45068ff

Copy link
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.

I'm currently on vacation in Madeira, therefore only had a quick look, but LGTM

@NorseGaud NorseGaud merged commit 67533d7 into master Mar 9, 2022
@NorseGaud NorseGaud deleted the revert-macos-logic branch March 9, 2022 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation area/scripts area/tests kind/update Update an existing feature, configuration file or the documentation os/macOS priority/medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants