Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Add MacPorts support with preconditions #33

Closed
wants to merge 5 commits into from

Conversation

ain
Copy link
Collaborator

@ain ain commented Jun 2, 2015

Resolve #32 Alternatives to HomeBrew by MacPorts with preconditions:

  • Boot2Docker
  • Docker Compose

Resolve brikis98#32 Alternatives to HomeBrew by MacPorts with preconditions:
- Boot2Docker
- Docker Compose
@brikis98
Copy link
Owner

brikis98 commented Jun 2, 2015

Thank you for the pull request. I like the general approach and I think this could be made to work, but as I mentioned in #32, before increasing the complexity of the installer, we need to find a way to add good automated tests, which is currently blocked by #7.

On a side note, this PR seems to have a lot of whitespace changes, which makes it hard to identify the real changes. Could you check your text editor settings for what could be causing that?

# Checks if all MacPorts requirements are met.
#
function check_port_prerequisites {
if ! type boot2docker > /dev/null 2>&1 ; then
Copy link
Owner

Choose a reason for hiding this comment

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

Boot2Docker is one of the items in the port_install list. Why is it a prerequisite?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

One of the reasons why a single install method is a bad idea and would grow
into conditional spaghetti: MacPorts has no Portfile for Boot2Docker or
Docker Compose.

@ain
Copy link
Collaborator Author

ain commented Jun 17, 2015

Dumping maintenance on this PR. Diverged.

@ain ain closed this Jun 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alternatives to HomeBrew
2 participants