Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Adding minishift-unstable for minishift 1.0.0-beta.1 #3046

Merged
merged 6 commits into from
Dec 22, 2016

Conversation

tenfourty
Copy link
Contributor

A homebrew cask already exists for minishift however we also needed a version for the latest unstable version, hence this pull request to add minishift-unstable to homebrew cask versions.

After making all changes to the cask:

  • brew cask audit --download minishift-unstable is error-free.
  • brew cask style --fix minishift-unstable reports no offenses.
  • The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

  • Named the cask according to the token reference.
  • brew cask install {{cask_file}} worked successfully.
  • brew cask uninstall {{cask_file}} worked successfully.
  • Checked there are no open pull requests for the same cask.
  • Checked that the cask was not already refused in closed issues.

name 'Minishift'
homepage 'https://github.com/minishift/minishift'

depends_on arch: :x86_64
Copy link
Member

Choose a reason for hiding this comment

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

Remove this. It’s useless.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hi @vitorgalvao do you mean the name and homepage stuff is useless?

homepage 'https://github.com/minishift/minishift'

depends_on arch: :x86_64
depends_on formula: 'unar'
Copy link
Member

Choose a reason for hiding this comment

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

It does? Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll remove the arch and depends_on stuff, agreed it's not needed.


depends_on arch: :x86_64
depends_on formula: 'unar'
container type: :tar
Copy link
Member

Choose a reason for hiding this comment

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

Unlikely this is necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

just tested it, as you pointed out this isn't needed so will remove it.

sha256 '2d4020615bd86b814c678fedbf6072488101c26298a90fb081904c6913d88497'

url "https://github.com/minishift/minishift/releases/download/v#{version}/minishift-#{version}-darwin-amd64.tgz"
appcast 'https://github.com/minishift/minishift/releases.atom', checkpoint: 'f78e6fe63a0e0f8f3cae4f97daebe8528e8a38a7d023c6630598b128ee6c8fed'
Copy link
Member

Choose a reason for hiding this comment

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

checkpoint needs to be on another line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

great, will fix this.

@tenfourty
Copy link
Contributor Author

Hi @vitorgalvao thanks for the code review - I've made the changes you requested. I've left in the name and homepage labels for now.

@vitorgalvao
Copy link
Member

I've left in the name and homepage labels for now.

What do you mean with “for now”? Those are mandatory.

@vitorgalvao vitorgalvao merged commit 6731b9d into Homebrew:master Dec 22, 2016
@tenfourty
Copy link
Contributor Author

Awesome, thanks for the help!

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.

2 participants