Commit Graph

42 Commits

Author SHA1 Message Date
specter119 8673147c65 Update Julia to 0.4.6 (#22365)
Update Julia to 0.4.6
2016-06-24 08:24:47 -04:00
Matt Wean 47383169de [WIP] Change artifact behavior to moving instead of symlinking (#13966)
* Change app artifact to move instead of link

First step towards change in installation behavior mentioned in [13201]

* Fix handling of binaries linked from inside of app bundles

Also adds `appdir` method for interpolation in stanzas

* Change appdir to root Applications directory

* Update 2-app tests

* Refactor: add options, ivars to `Installer`, `Download`

In preparation for upcoming changes, this commit cleans up some code. The commit includes:

- In order to reduce unnecessary object passing, make both the `force` and `skip_cask_deps` option into instance variables of the `Installer` class

- Introduce options hashes to initializers of both the `Installer` and `Download` class

- When the `install --force` command enters the fetch phase, make it explicit in the code that fetching is never enforced in that case.

- Update tests

* Force overwrite artifacts on `--force` reinstall

This commit changes the behavior of a `Moved` artifact such that if the target already exists, `brew cask install --force` will remove the existing target before moving the staged artifact.

In that case, the warning message will say *overwriting* instead of *not moving*.

The behavior of plain `brew cask install` remains unchanged; the same goes for the warning message for that case.

* Change remaining artifacts to move instead of symlink

* Update casks to use appdir in binary paths

* Forcibly overwrite artifacts, modifying flags and using `sudo` if needed

- This commit implements [the proposed behavior for `install --force`](https://github.com/caskroom/homebrew-cask/pull/13966#issuecomment-220830387) when a target already exists and has either permission problems or is not owned by the user.

- The changes apply only when the `force` option is given.

- Reused the existing safeguard from the `.pkg` artifact to prevent deleting important directories by bug or mistake

- The two existing blacklists `SYSTEM_DIRS` and `UNDELETABLE_DIRS` have been consolidated into the `Hbc::MacOS` module.

- `UNDELETABLE_DIRS` now also contains all the entries from `SYSTEM_DIRS` which was a to-do anyway.

- The two blacklists are now also frozen for good measure.

- The utility method `permissions_rmtree` was moved to `Hbc::Utils`.

- The `tried_permissions` part in `Utils` now falls back correctly when there are also ownership issues at the same time.

- Introduced a separate `current_user` method for mocking.

- Added an optional feature to `FakeSystemCommand` so it can now act as a proxy to `SystemCommand`.

- Added tests for various `permissions_rmtree` cases.
2016-05-31 15:23:21 -04:00
Aaron Sun 9e188a7e5d update julia (0.4.5) 2016-03-21 20:44:34 -04:00
Vítor Galvão 599d4535a1 julia.rb: updated vendor comment 2016-03-12 10:25:39 -05:00
ivirshup beca508b63 Update to new version of Julia
Updating version number and sha256 to Julia 0.4.3
2016-01-24 21:55:18 +02:00
Josh Hagins 312ae841f1 Use Ruby 1.9 hash syntax in casks where possible 2016-01-17 21:57:28 -05:00
Josh Hagins 38eeedeb98 julia.rb: RuboCop (master), RuboCop-cask (master) auto-correct 2016-01-03 15:28:49 -05:00
Josh Hagins feba4ec740 Remove DSL versions from all casks 2015-12-17 20:15:28 -05:00
Sorami Hisamoto 4c1109948d Upgrade Julia to v0.4.2 2015-12-12 16:23:35 +09:00
Jens Schleede e46fb5ee9c Upgrade Julia to v0.4.1 2015-11-16 13:11:57 +00:00
Jianwei Han 6d8e46af09 Julia: update to 0.4.0 2015-10-10 10:18:59 +08:00
Sean Garborg 8ac3b70ab4 Bump Julia to latest release 2015-09-04 22:14:56 +01:00
Joao C Costa 6ffec82cff Update julia.rb 2015-06-25 18:50:55 +01:00
Paul Lam 3689453a8f update julia to 0.3.9 2015-06-03 12:08:29 -07:00
Vítor Galvão 634f7748ad julia.rb: specify osx version in depends_on 2015-05-06 16:13:10 +01:00
Murray Tannock 1fc168134c Update julia to v0.3.8 2015-05-04 09:54:59 +00:00
Victor Popkov 5a0d039956 julia.rb: add name 2015-04-07 16:28:53 +03:00
ndr 13cdc71155 julia: update to 0.3.7 2015-03-25 12:32:36 +00:00
ndr c838b4438c julia: update to 0.3.6
and add minimum OS requirements.
2015-02-22 09:38:31 +00:00
Caleb Xu 7d24cdae7f Revert "Revert "Upgrade julia to 0.3.5"" 2015-01-24 12:46:40 -05:00
Caleb Xu 0d4a97ba09 Revert "Upgrade julia to 0.3.5" 2015-01-24 08:27:32 -05:00
Stephen Eglen e7ee23d2a2 Update julia to 0.3.5 2015-01-24 10:50:56 +00:00
Vítor Galvão eb0daccd92 julia.rb: added comment regarding vendor url 2015-01-09 04:25:35 +00:00
Vladimir Andrijevik c087ce5570 Fix SHA sum for Julia 0.3.4 2014-12-29 10:17:57 +01:00
Vladimir Andrijevik c4bfb26d75 Update julia to v0.3.4 2014-12-29 02:38:19 +01:00
Yegor Timoschenko d544287643 Add binary stanza to Julia cask 2014-11-30 14:20:01 +07:00
ndr 654ddcdf2d Update julia to 0.3.3 2014-11-25 12:38:41 +00:00
Roland Walker d8f8a92f7a new-style header in julia 2014-11-13 12:35:48 -05:00
Tim Head 1355505e05 Update to julia 0.3.2 2014-10-23 13:34:29 +02:00
Roland Walker e483244a36 julia.rb checksum has changed 2014-10-13 20:04:48 -04:00
ndr fdb1677865 Specify license of julia 2014-10-11 17:50:25 +01:00
Roland Walker 4191b59279 add zap stanza, julia.rb 2014-10-11 10:41:21 -04:00
Roland Walker 260428b64f add license stanza to julia 2014-10-01 11:43:04 -04:00
ndr 028cb9149b Update Julia to 0.3.1 2014-09-25 05:40:32 +02:00
Roland Walker 1135a935cc app stanza in julia.rb 2014-09-15 12:05:47 -04:00
Ron Rock 4f308733ed Upgrade Julia to v0.3.0 2014-08-21 10:07:58 -05:00
ndr a1dee8806e Reformat julia.rb according to readability conventions 2014-06-27 02:01:21 +02:00
ndr ecb86dd250 Update Julia to 0.2.1 2014-03-09 06:27:52 +01:00
Roland Walker 40184ad948 mass update of 650 Casks to sha256
each of these is verified: the current sha1 and the new
sha256 are both correct for the given download.
2014-02-24 07:55:29 -05:00
Ron Rock a2617262a3 Updates Julia to 0.2.0 release 2013-11-17 17:46:21 -06:00
Ron Rock 8b5844dd3f Julia 0.2-rc2 2013-10-30 22:07:01 -05:00
Zachary M. Jones b0746aa48a Julia is a high-level, high-performance dynamic programming language for technical computing.
Installs Julia binaries.
2013-06-23 12:51:51 -04:00