Commit Graph

43 Commits

Author SHA1 Message Date
Vítor Galvão 60531a2812 remove license from all casks (#25368) 2016-10-10 17:45:23 +01:00
Alexandre Alonso 45a75e89fa update arduino version 1.6.12 (#24757) 2016-09-23 11:36:48 +03:00
Eduardo Avelar d97231a7b8 Update Arduino IDE to 1.6.10 (#23177) 2016-07-26 22:06:34 +03: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
Shoichi Aizawa fff2325253 updated arduino (1.6.9) (#21410) 2016-05-24 15:17:19 +01:00
Anto Prijosoesilo 668c882a93 Upgrade Arduino.app to v1.6.8
Upgrade Arduino.app to v1.6.8
2016-03-10 12:16:14 -05:00
Lukas Bestle a7d6f63107 Arduino: Link arduino-builder binary 2016-01-14 12:39:22 +00:00
Vítor Galvão 17620ef14b arduino.rb: depends_on_java 2016-01-12 20:09:15 +00:00
Masafumi Fujiwara 7f7be1fa5b Fix sha256 on Arduino 1.6.7 2015-12-22 19:16:36 +00:00
Romain Bossart 6dbc6a783f Upgrade Arduino.app to 1.6.7 2015-12-19 12:41:07 +00:00
Josh Hagins feba4ec740 Remove DSL versions from all casks 2015-12-17 20:15:28 -05:00
Wyatt J. Brown f07ed4bddc Switch Arduino, GIMP, and HexChat casks to use HTTPS instead of HTTP. 2015-11-27 12:36:38 +00:00
Nathan Henrie 1ae46c0b43 Upgrade Arduino.app to 1.6.6 2015-11-13 19:55:25 +00:00
Joe Violago c2f77ddcdf Updated Arduino.app license info 2015-10-27 22:02:16 +00:00
Michael 9e0de202d7 Arduino 1.6.5-r5 2015-08-29 12:21:56 +08:00
Adrian Rangel 741e488c27 fix arduino version
the correct url is `http://downloads.arduino.cc/arduino-1.6.5-r3-macosx.zip` version  number is missing a `-`.
2015-08-15 00:06:01 +03:00
Michael 055184ef70 Arduino 1.6.5r3 2015-08-13 23:41:03 +08:00
Vítor Galvão ba0c777444 arduino.rb: changed url back to http 2015-07-11 12:02:57 +01:00
Michael d9a1bbdf6e Merge pull request #12544 from Gutem/arduino
Upgrade Arduino.app to 1.6.5
2015-07-11 14:22:21 +08:00
Gutem 5e26b6455e Upgrade Arduino.app to 1.6.5 2015-07-10 21:13:00 -03:00
scribblemaniac ca3b18b018 Fix links to use SSL 2015-06-29 01:22:36 -06:00
Corey Jewett aa2fa3c6a8 Upgrade Arduino.app to 1.6.5 2015-06-26 21:43:19 +01:00
Leo Lou 1b7e4c2522 Bump Arduino 1.6.4 2015-05-07 22:31:54 +08:00
Leo Lou 80d1c931bb Add Arduino 1.6.3 2015-04-02 22:55:30 +08:00
Leo Lou 69c3cca5c3 Bump Arduino 1.6.2 2015-03-28 21:41:47 +08:00
Bret Comnes 9ad19d4efe Version bump 2015-03-10 08:25:41 -07:00
Leo Lou 5ab44db55f Add arduino 1.6.0 2015-02-10 17:58:03 +08:00
Vítor Galvão d24067c259 arduino.rb: added name 2015-01-04 03:12:09 +00:00
Roland Walker 89e59745d8 new-style header in arduino 2014-11-13 12:34:02 -05:00
Alex Guerrero 002c3c2694 Update Arduino URL 2014-11-08 15:05:29 +01:00
Camillus Gerard Cai 00e00354f9 Updated Arduino IDE to 1.0.6. 2014-10-04 08:32:29 -04:00
Roland Walker 10c3b1d767 add license stanza to arduino 2014-10-01 11:41:44 -04:00
Roland Walker ef57c167a4 re-use version in arduino 2014-09-26 08:08:46 -04:00
Roland Walker 40a871286c app stanza in arduino.rb 2014-09-15 12:05:15 -04:00
ndr 2c147093ec Reformat arduino.rb according to readability conventions 2014-06-27 02:00:57 +02:00
Roland Walker 36ebef22c5 use HTTPS url in arduino.rb 2014-06-18 10:55:20 -04:00
Camillus Gerard Cai ed0c6ec72b Downgraded arduino to 1.0.5 stable.
The old package for 1.5.5 was a beta build. The beta build was updated to
1.5.6-r2 and moved to homebrew-versions.
2014-03-11 15:45:05 +08: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
Felipe "Zoc" Silveira 0b935fa48b Fixed arduino download URL 2013-12-22 16:04:07 -02:00
Felipe "Zoc" Silveira 9eb87c7725 Updated arduino from version 1.0.5 to 1.5.5
This update adds support for Arduino Yun and Arduino Due.
2013-12-22 14:48:43 -02:00
Michael Ford 300d8bf248 Arduino 1.0.5 2013-06-01 00:48:14 +08:00
Vítor Galvão 68182d00b9 removed extra line before link for aesthetic consistency 2013-05-10 15:24:38 +01:00
Crazor 627988a887 Update Arduino cask to explicitly link app bundle (and also move it to Casks folder. oops!). 2013-05-07 22:46:03 +02:00