aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/bottle.rb
AgeCommit message (Collapse)Author
2017-06-02Re-revert "Fix operator spacing."Markus Reiter
2017-06-01Revert "Fix operator spacing."ilovezfs
2017-05-31Fix operator spacing.Markus Reiter
2017-05-29Fixup all RuboCop warnings.Mike McQuaid
2017-04-02Document all short flags.Mike McQuaid
2017-03-06bottle: Remove superfluous odieShaun Jackman
2017-03-05Add more flags and descriptions to man pages.EricFromCanada
2017-02-25Update brew's man page formatting and grammarEricFromCanada
Also update command specifications to match descriptions.
2017-01-22bottle: fix regexXu Cheng
Noted that this is intended for the revision of this formula instead of rebuild of a bottle.
2017-01-17bottle: add: improve regexp to recognize commentsZhiming Wang
This would have eliminated the need for Homebrew/homebrew-core#9000, for instance.
2016-11-20Replace Utils::JSON with corelib JSON calls.William Woodruff
2016-11-06bottle: improve relocatability checkilovezfs
Given how common it is for formulae to hard-code `etc` and `var`, check for those paths (`/usr/local/etc` and `/usr/local/var`) when determing relocatability.
2016-10-25bottle: fix nonexistent pyc bugZhiming Wang
We were deleting pyc files *after* replace_locations_with_placeholders and recording changed_files, meaning that some of the recorded files were to be deleted. The correct order is the opposite. A sample failed session: https://bot.brew.sh/job/Homebrew%20Core/10080/version=el_capitan/testReport/junit/brew-test-bot/el_capitan/bottle_buku/.
2016-10-24keg_relocate: refactor relocate_text_filesJosh Hagins
Replace relocate_text_files with three methods that clarify intent: replace_locations_with_placeholders, replace_placeholders_with_locations and replace_text_in_files, the first two calling the third.
2016-10-24keg_relocate: cache files rewritten during brew bottleJosh Hagins
`brew bottle` replaces instances of the Homebrew prefix, cellar, and repository with placeholders in all text files. Cache these files in INSTALL_RECEIPT.json so that we don't have to check every single text file for placeholders on install.
2016-10-04Merge pull request #1145 from reitermarkus/module-functionMarkus Reiter
Use `module_function` for `Homebrew` module.
2016-10-02Fix `Tty.gray`.Markus Reiter
2016-10-02Merge pull request #823 from reitermarkus/refactoring-ttyMarkus Reiter
Refactor Tty.
2016-10-02Use `module_function` for commands.Markus Reiter
2016-10-01Add `Formatter` module.Markus Reiter
2016-10-01Refactor Tty.Markus Reiter
2016-09-29Fix Lint/NestedMethodDefinition` in `dev-cmd/bottle.rb`.Markus Reiter
2016-09-23Fix Style/IfUnlessModifier.Markus Reiter
2016-09-23Fix Style/GuardClause.Markus Reiter
2016-09-23Fix Performance/FixedSize.Markus Reiter
2016-09-22Remove old cctools references now that only ruby-macho is used.William Woodruff
2016-09-19Merge pull request #1019 from MikeMcQuaid/macos-renameMike McQuaid
Use new "macOS" naming where appropriate.
2016-09-18Use new "macOS" naming where appropriate.Mike McQuaid
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
2016-09-18Relocate HOMEBREW_REPOSITORY when necessary.Mike McQuaid
Now that the default from the installer, our CI and soon all users is `/usr/local/Homebrew` it's a lot easier to check if there's references to it (as we cannot look for `/usr/local` as it's a too commonly hardcoded path).
2016-09-13bottle: allow forcing tap when not present.Mike McQuaid
2016-09-12bottle: remove debug statements.Mike McQuaid
2016-09-11dev-cmd/bottle: fix Rubocop warnings.Mike McQuaid
2016-09-11bottle: set bottle block tap.Mike McQuaid
Avoids issues when using `—keep-old`
2016-09-11Merge pull request #916 from MikeMcQuaid/bottle-old-valueMike McQuaid
bottle: fix old_value/value ordering for --merge.
2016-09-10bottle: fix old_value/value ordering for --merge.Mike McQuaid
Previously this was the wrong way around causing it to not be accepting enough on e.g. a bump from :any to :any_no_relocation.
2016-09-10bottle: use key/value rather than field.Mike McQuaid
Consistent naming is good.
2016-09-10bottle: further improve --keep-old mismatching.Mike McQuaid
- Make the code more similar between `bottle` and `bottle --merge`. - Also output the mismatched values when using `--merge`.
2016-09-10bottle: improve --keep-old failure output.Mike McQuaid
If fields have changed: tell the user what they were before and are afterwards.
2016-09-08Don't hide some (now) developer commands.Mike McQuaid
2016-09-08Move developer-focused commands to dev-cmd.Mike McQuaid