-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Allow for more flexibility with multiple versions of the same app #142
Comments
Wow. This is wild, man. You're a wild-man. Just gave you a ruby and open source endorsement on coderwall :) |
|
@muescha I'm not so sure about that last one. What if this is used in a script? Should there be a -y or similar option to assume yes to questions like in apt-get? It seems to me like that would be departing too much from the previously established cli style... but that's just me :-\ |
For what it's worth, I'm more in favour of assuming |
+1 for a happy path with no interruptions. While there are some places I'd much rather do a notice as the user installs that there are other [1] http://alistapart.com/article/neveruseawarning On Mon, Jan 28, 2013 at 6:20 PM, Patrick Connolly
|
@phinze aggree with you: just an information about the other versions while install and a hint to uninstall and reinstall |
👍 |
In an ideal world, we'd also have LANG/LOCALE checks that download the right version of the software - if there is such a version - while also defaulting to a safe language or something to get it installed at all. TorBrowser for example isn't localized like a normal project, so we have the same problem as firefox basically. One .xpi per language that must be added to the default baseline Firefox. Whee. |
Firefox has different downloads for different locales, not sure if that's what you mean or not. I'm sure custom flags (for locale, architecture, etc) are needed, pulling data from the env ( |
What I mean is that Tor offers Tor Browsers like so: https://www.torproject.org/dist/torbrowser/osx/TorBrowser-2.3.25-2-osx-i386-en-US.zip |
I would love to see this happen! I'm a huge "early access" and nightly junkie, and it would be nice to have a sweet way of managing it through cask. 👍 |
Me too @gebba - I think this will be the next big feature to land. |
👍 (and to make sure I get notified when this lands) |
@patcon orite |
As per #212, Sublime Text 3 is now open to the public, regardless of registration status. I've got a Update: For those interested, here's a fork with the ST3 cask while we wait for this PR to hit. The cask looks like this: class SublimeText3 < Cask
url 'http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%20Build%203047.dmg'
homepage 'http://www.sublimetext.com/3'
version '3047'
sha1 'cf20f30d0b0d406ced76784d9bdd63f817868f74'
link 'Sublime Text.app'
end |
I'm not going to spend more time on here this evening, we'll just have to agree to disagree. Besides, it's @nanoxd's feature now. |
@benjaminhawkeslewis Regarding your first point
Even though this would be the appropriate solution for older apps (and this is certainly the issue to discuss that), homebrew-cask has typically been concerned with the newer versions (two quick examples of this are Alfred and TextMate, where we outright abandoned v1 for v2), and in those discussions (can’t seem to find them right now) there is some reasoning as to why. I’d prefer to find those discussions instead of repeating everything, specially since some of he reasoning may no longer apply, but some of it is certainly worth considering. |
+1 I would really like to see support for older versions and nightly builds. |
I have no doubt there is some demand for this, the question is if it is enough to justify the work. We discussed this about Alfred, and even though that pertained to a specific case, it’s still somewhat relevant. The comment by @hanjianwei seems to me like the best approach to this. |
I actually rather like have the different chrome versions completely separate. For me it is nice to be able to see what apps have beta versions and what do not. Although appending the version to the package name, What are the use cases for having these flags instead of separate formulas? |
@saulshanabrook The |
…iple versions of the same app
I'm actually thinking of creating some kind of repository like Python package, Roby Gems, Node.js's NPM does. I see number of pull requests you are getting and I bet at some point it become really hard to manage although pull requests itself are pretty straightforward by itself (update version, download link and checksum, or any of them in different combinations). Also I'm thinking about automated way of updating recipes...this should reduce number of pull requests dramatically. At the moment they are just ideas... |
…hp-beta8 sha256 checksum in netbeans-php-beta8.rb
I just wanted to check - is using https://github.com/caskroom/homebrew-versions the currently recommended way of doing this? (#4332 seems to imply so). Or has there been any changes in terms of getting this in home-brew-cask itself? |
#4332 worked for me. |
#4332 works:
|
Different repos is likely the best we have, and will continue to be for a long while, until/unless we revamp the system. |
In #114, I hinted at this, and #41 is the original issue. We need some way to support apps that have multiple concurrent builds/versions/channels. Here are the various situations in the Casks library at the moment:
These are just multiple stable/beta/alpha/nightlies, though. IntelliJ presents a different (but no less worthy) use-case: we currently has a cask each for the Community and Ultimate editions. It would be interesting to combine these!
My current proposal would have the formulae look like this:
Here's how the Firefox cask would be done:
With options looking like this:
Please comment! with any ideas, criticisms, completely different proposals, or whatever else. This is quite a rough draft of an idea :)
The text was updated successfully, but these errors were encountered: