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

Update cDock.app to 7.3 #11021

Merged
merged 1 commit into from
May 5, 2015
Merged

Update cDock.app to 7.3 #11021

merged 1 commit into from
May 5, 2015

Conversation

Cretezy
Copy link
Contributor

@Cretezy Cretezy commented May 4, 2015

#10570

:target => '/Applications/cDock.app' is used to fix the alert on application start.


url "http://downloads.sourceforge.net/project/cdock/cDock/cDock_v#{version}.zip"
name 'cDock'
homepage 'http://sourceforge.net/projects/cdock/'
license :oss

app 'cDock.app'
app 'cDock.app' :target => '/Applications/cDock.app'
Copy link
Member

Choose a reason for hiding this comment

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

Missing a ,. However, please remove this renaming, as it is not the proper way to handle this issue, and :target isn’t meant to be used in this manner. You’d only be changing the symlink, not the location of the app.

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 see. So fixing the popup on app start can't be fixed from homebrew-cask? And the user will just need to deal with it?

Copy link
Member

Choose a reason for hiding this comment

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

Not necessarily. I just mean :target isn’t appropriate (and might not even work) and another solution should be pursued.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you give me an example of a solution?

On Mon, May 4, 2015 at 8:48 PM, Vítor Galvão [email protected]
wrote:

In Casks/cdock.rb
#11021 (comment)
:

url "http://downloads.sourceforge.net/project/cdock/cDock/cDock_v#{version}.zip"
name 'cDock'
homepage 'http://sourceforge.net/projects/cdock/'
license :oss

  • app 'cDock.app'
  • app 'cDock.app' :target => '/Applications/cDock.app'

Not necessarily. I just mean :target isn’t appropriate (and might not
even work) and another solution should be pursued.


Reply to this email directly or view it on GitHub
https://github.com/caskroom/homebrew-cask/pull/11021/files#r29637890.

Copy link
Member

Choose a reason for hiding this comment

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

We don’t have one, yet, that’s the problem. We had a few casks with similar issues but haven’t found an acceptable solution, yet.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alrighty, I'll try taking a look at the source when I get time. Hopefully
Ruby shouldn't be that hard (I have limited knowledge in Ruby). I'll fix
(and try squashing the commits) what you said.

On Mon, May 4, 2015 at 8:51 PM, Vítor Galvão [email protected]
wrote:

In Casks/cdock.rb
#11021 (comment)
:

url "http://downloads.sourceforge.net/project/cdock/cDock/cDock_v#{version}.zip"
name 'cDock'
homepage 'http://sourceforge.net/projects/cdock/'
license :oss

  • app 'cDock.app'
  • app 'cDock.app' :target => '/Applications/cDock.app'

We don’t have one, yet, that’s the problem. We had a few casks with
similar issues but haven’t found an acceptable solution, yet.


Reply to this email directly or view it on GitHub
https://github.com/caskroom/homebrew-cask/pull/11021/files#r29637988.

Copy link
Member

Choose a reason for hiding this comment

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

Thank you. Copying would go a long way towards solving this, bit is a big endeavour.

@Cretezy
Copy link
Contributor Author

Cretezy commented May 5, 2015

@vitorgalvao Fixed the problems and squashed!

vitorgalvao added a commit that referenced this pull request May 5, 2015
@vitorgalvao vitorgalvao merged commit 2f4fa4a into Homebrew:master May 5, 2015
@Cretezy Cretezy deleted the cdock-7.3 branch May 5, 2015 01:01
@Homebrew Homebrew locked and limited conversation to collaborators May 8, 2018
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