Markus Reiter
89dd608766
Deprecate gpg
stanza.
2018-09-03 20:47:52 +02:00
Mike McQuaid
80d75bc0d8
Homebrew/.rubocop: tweak rules.
...
Adjust the rules based on the current codebase. Remove various enable,
disables and default values that are unnecessary. Add more comments
explaining why. Make minor changes needed to enable a few more rules.
2018-09-02 20:15:09 +01:00
Mike McQuaid
bcb1ec5499
Improve Homebrew/brew line length.
...
Use 124 max line length everywhere. Also, reduce tap max line length to
189 as Homebrew/homebrew-core has that as a maximum now. In future
Homebrew/homebrew-core will also be reduced to 124 maximum line length.
2018-09-02 16:15:09 +01:00
L. E. Segovia
f7cafb50ad
Enable quarantining of Homebrew-Cask's downloads
2018-08-31 13:16:11 +00:00
Mike McQuaid
077e9f0c53
hbc/installer: don't send analytics for private taps.
2018-08-18 08:48:49 +01:00
Brian Morton
1b51456b4c
fix module path to ::Utils::Anlytics
2018-08-16 08:18:23 +02:00
Brian Morton
6701c207e0
add anlytics to cask installs
2018-08-16 08:10:07 +02:00
Markus Reiter
290910d3c0
Remove cask download strategies.
2018-08-06 20:52:45 +02:00
Markus Reiter
eccd20e276
Merge Hbc::Container
classes into UnpackStrategy
.
2018-07-24 16:44:27 +02:00
Markus Reiter
e5e8033145
Add system_command
helpers.
2018-07-22 23:24:18 +02:00
Markus Reiter
8278e9e403
Move verbose
from #initialize
to #extract
.
2018-07-22 20:30:28 +02:00
Markus Reiter
63c5bd96a0
Merge pull request #4486 from reitermarkus/container-refactoring
...
Assimilate `Container`s with `UnpackStrategy`.
2018-07-17 00:03:28 +02:00
Markus Reiter
e5865e7e7f
Assimilate Container
s with UnpackStrategy
.
2018-07-16 23:50:45 +02:00
Markus Reiter
d069cc2ebc
Move error to the right place.
2018-07-16 23:36:15 +02:00
Markus Reiter
c9c5d8e008
Change Container::me?
to Container::can_extract?
.
2018-07-16 09:16:50 +02:00
Markus Reiter
fdc250cac4
Refactor containers and automatically determine dependencies.
2018-07-14 22:32:26 +02:00
Markus Reiter
488149242b
Remove Hbc.init
.
2018-06-09 11:18:40 +02:00
Markus Reiter
458a1e7903
Remove Locations
module.
2018-06-09 09:01:09 +02:00
Chayoung You
b05d69f600
Format identifiers in oh1
2018-02-09 18:00:29 +09:00
Markus Reiter
3f7e63a24c
Merge pull request #3492 from amyspark/fix-latest-casks
...
Properly upgrade Casks with version :latest
2017-11-29 15:00:57 +01:00
L. E. Segovia
96187ade92
Leftover of @reitermarkus's comments
...
Simplify a condition
2017-11-29 01:11:30 +00:00
L. E. Segovia
ab62be5345
Implement @reitermarkus's comments
...
Leftover && and remove xattr "copy"
2017-11-29 01:02:50 +00:00
L. E. Segovia
657d4eaee9
Remove unused backup and metadata logic
2017-11-28 23:55:05 +00:00
L. E. Segovia
63961ac465
Fully separate purge_versioned_files
2017-11-28 21:00:16 +00:00
L. E. Segovia
5840b2fa68
Rename purge_backed_versioned_files to purge_backed_up_versioned_files
2017-11-28 20:36:36 +00:00
L. E. Segovia
9227c8fe3c
Try #2 at handling backed up Casks
...
Avoid using variables altogether; fork out the purge into two
specialized + one common function
2017-11-28 18:03:57 +00:00
L. E. Segovia
9458e985b7
Always backup the old Cask prior to upgrade
...
(and if doing so, correctly set the staged_path when purging it)
2017-11-28 17:37:36 +00:00
L. E. Segovia
2ff114bc32
Use the proper path when purging metadata
2017-11-28 14:29:53 +00:00
L. E. Segovia
8386b9384c
Solve styling and metadata issues
2017-11-28 13:34:50 +00:00
L. E. Segovia
f3355b2a2c
Stage to a different directory if upgrading Casks w/version :latest
2017-11-28 13:03:16 +00:00
Markus Reiter
1948729ec8
Refactor caveats and add kext
caveat.
2017-11-28 00:20:29 +01:00
L. E. Segovia
8ee6ac2613
Implement @reitermarkus's comments
...
- Split move into a move_back (and clarify when it is used)
- Remove unused flags
- Raise error if installed Caskfile not found
- Error out if an upgrade fails
- Remove some defensive programming checks
2017-11-16 10:40:32 -03:00
L. E. Segovia
8cc1aea5f0
Implement @reitermarkus's upgrade flow
2017-11-11 17:21:13 -03:00
L. E. Segovia
72e673afae
Fix reinstall/uninstall tests
2017-11-10 11:33:44 -03:00
L. E. Segovia
522a229dbb
Fix upgrade tests and some upgrade? leftovers
2017-11-08 08:33:33 -03:00
L. E. Segovia
94d266e2d6
Rework uninstallation step
...
Now the artifacts get re-staged, and upon an uninstall/finalize_upgrade
they are deleted by purge_versioned_files instead
2017-11-06 21:27:02 -03:00
L. E. Segovia
84c128411f
Fix style issues
2017-11-06 18:33:29 -03:00
L. E. Segovia
7f2e4f583a
Finalize metadata handling and uninstall logic
2017-10-30 23:29:00 -03:00
L. E. Segovia
55727b7895
Hack a first working version of upgrade
2017-10-29 17:34:53 -03:00
Markus Reiter
9bee9ca575
Use “squiggly” heredocs.
2017-10-18 14:39:09 +02:00
Markus Reiter
5cbf8bdaa7
Merge pull request #3283 from reitermarkus/cask-loader
...
Add helper method for Cask fixture paths and refactor CaskLoader.
2017-10-07 18:30:32 +02:00
Markus Reiter
97333df4cb
Add helper method for Cask fixture paths and refactor CaskLoader.
2017-10-07 16:11:25 +02:00
Markus Reiter
51a0de6368
Directly save artifacts in DSL.
2017-10-04 18:47:55 +02:00
Mike McQuaid
01e9ec9a9f
Rubocop: automatic rule fixes.
2017-09-24 21:23:59 +01:00
Markus Reiter
53ecdd843f
Treat every Artifact
instance as a single artifact.
2017-09-10 23:12:32 +02:00
Markus Reiter
67327c75b5
Implement conflicts_with :cask
.
2017-08-05 16:19:50 +02:00
Markus Reiter
eb110e94f0
Merge pull request #2772 from reitermarkus/dmg-eula
...
Fix DMG mounting.
2017-07-02 02:04:07 +02:00
Markus Reiter
6a1fa87191
Refactor Formula/Cask dependencies.
2017-06-30 02:20:50 +02:00
Markus Reiter
3b4ee58c49
Refactor using Forwardable
and DelegateClass
.
2017-06-28 09:25:31 +02:00
Markus Reiter
80f827e926
Print DMG EULA when --verbose
.
2017-06-14 02:06:25 +02:00