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

docker-machine-nfs 0.2.0 (new formula) #49920

Closed
wants to merge 3 commits into from

Conversation

hakamadare
Copy link
Contributor

Initial commit of docker-machine-nfs; this is a script that eases the
process of enabling NFS sharing (instead of the default VirtualBox) for
boot2docker-based Docker VMs.


def install
mv "docker-machine-nfs.sh", "docker-machine-nfs"
bin.install "docker-machine-nfs"
Copy link
Contributor

Choose a reason for hiding this comment

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

You can merge both lines into bin.install "docker-machine-nfs.sh" => "docker-machine-nfs".

@hakamadare
Copy link
Contributor Author

@bfontaine thanks for the feedback, i've made the changes you requested.

Steve Huff added 3 commits March 10, 2016 10:18
Initial commit of docker-machine-nfs; this is a script that eases the
process of enabling NFS sharing (instead of the default VirtualBox) for
boot2docker-based Docker VMs.
* single invocation of `bin.install`
* download tarball instead of raw file
Upstream maintainer released a new version to comply with Homebrew's
packaging requirements :)
@hakamadare hakamadare changed the title docker-machine-nfs 0.1.0 (new formula) docker-machine-nfs 0.2.0 (new formula) Mar 10, 2016
@hakamadare
Copy link
Contributor Author

i'm happy to squash down these commits if you'd prefer.

end

test do
system "#{bin}/docker-machine-nfs"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can’t we write a test that does something more substantial than just printing the help?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bfontaine the script doesn't have a no-op mode, so any testing would involve making changes to the user's system. would printing the help and checking to make sure that a particular string matches the output be preferable?

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks. Let’s leave it as is then.

@bfontaine
Copy link
Contributor

Thank you for your contribution to Homebrew, @hakamadare; we appreciate it! 🎉

@bfontaine bfontaine closed this in 39bb6a7 Mar 11, 2016
xu-cheng pushed a commit to Homebrew/homebrew-core that referenced this pull request Mar 11, 2016
Closes Homebrew/legacy-homebrew#49920.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
@hakamadare hakamadare deleted the docker-machine-nfs branch March 11, 2016 14:51
@Homebrew Homebrew locked and limited conversation to collaborators Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants