80 Commits

Author SHA1 Message Date
Masaki Muranaka
176e5ab72c Add an option "--root_url=" to bottle command.
Closes Homebrew/homebrew#29081.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-11 15:33:14 -07:00
Mike McQuaid
d90d3651b7 bottle: include revision in commit message. 2014-05-08 14:41:52 +01:00
Jack Nagel
cb9ee747e0 Fix Keg#find so we don't have to deal with it everywhere
lol inheritance
2014-03-27 17:06:05 -05:00
Jack Nagel
4353f4fc97 Detect absolute symlinks during bottle relocation check 2014-03-18 19:03:24 -05:00
Mike McQuaid
0e52cc6188 bottle: remove pyc files before bottling.
Allows more `cellar :any` bottles.
2014-03-13 10:05:20 +00:00
Jack Nagel
da26203912 Fix brew bottle --merge 2014-03-11 09:16:14 -05:00
Jack Nagel
0129542ede Update bottle command for generalized bottle implementation 2014-03-10 14:56:02 -05:00
Jack Nagel
44dc21ca5d Prepare bottle tooling for formula revisions 2014-03-05 20:45:44 -06:00
Mike McQuaid
21e5785652 bottle: fix bottling Git tag case. 2014-03-04 17:34:21 +00:00
Mike McQuaid
cf0a3fe93e bottle: detail what a new regex should match. 2014-02-22 17:15:28 +00:00
Mike McQuaid
4bc82456ee bottle: fail if there is no stable version.
Closes Homebrew/homebrew#26742.
2014-02-15 11:28:48 +00:00
Mike McQuaid
e93792fdef bottle: fix --write messages. 2014-02-09 14:34:50 +00:00
Mike McQuaid
89e07d44f6 bottle: make --write handle both quotes styles. 2014-02-09 14:34:50 +00:00
Mike McQuaid
d83ed0d793 bottle: improve bottle commit writing. 2014-01-31 19:07:57 +01:00
Mike McQuaid
2e7c423609 bottle: show diff before trying to commit. 2014-01-30 16:58:12 +01:00
Mike McQuaid
cb024e222c bottle: only print relocations with --verbose. 2014-01-20 15:26:31 -08:00
Mike McQuaid
91f7f68ec4 bottle: use new quoting style. 2014-01-19 10:06:46 -08:00
Mike McQuaid
6047e67d35 bottle: improve "not installed" message.
Fixes Homebrew/homebrew#25546.
2014-01-04 14:50:13 +00:00
Jack Nagel
7a3e9149e0 bottle: fix updating formulae with sha256 checksums 2013-12-27 16:43:34 -06:00
Jack Nagel
ec2cd31c1d bottle: use formula path accessor 2013-12-27 16:43:34 -06:00
Jack Nagel
c95b90a022 Don't send, just call the method directly 2013-12-27 16:19:43 -06:00
Jack Nagel
a6602740f8 bottle: extract method for enumerating files that match a string
This brings a (small) performance improvement as we yield the files as
they are output by fgrep rather than waiting until fgrep is done to do
any work.
2013-12-17 21:13:23 -06:00
Jack Nagel
f459245e6d bottle: remove unused require 2013-12-14 15:43:15 -06:00
Jack Nagel
d75577a239 bottle: avoid keeping entire strings output in memory 2013-12-14 15:43:15 -06:00
Jack Nagel
ce19fa2223 Unify install name parsing 2013-12-14 09:35:58 -06:00
Jack Nagel
07006bfdd4 bottle: only chdir into the cellar when tarring up the bottle 2013-12-12 19:46:37 -06:00
Jack Nagel
1b7718f6a7 bottle: determine revision more reliably
Closes Homebrew/homebrew#25100.
2013-12-10 16:39:13 -06:00
Jack Nagel
8f42185e18 bottle: re-raise interrupt after cleanup 2013-12-09 19:38:20 -06:00
Jack Nagel
4afd633570 bottle: clean up after interrupts 2013-12-09 17:35:05 -06:00
Jack Nagel
b30f409995 bottle: fix typo'd option name 2013-12-08 16:41:35 -06:00
Jack Nagel
3d8bf53187 bottle: don't repeat output for hardlinked files 2013-12-08 16:18:12 -06:00
Misty De Meo
e2af1cbeeb Use BottleCollector in Bottle SoftwareSpec 2013-12-05 18:24:51 -08:00
Jack Nagel
d6ab345be5 bottle: always perform a full relocation check
Even if the prefix check fails, it is useful to see the results from the
cellar check.
2013-12-05 18:41:45 -06:00
Jack Nagel
62170811dd bottle: String is not Enumerable in 1.9+ 2013-12-05 16:39:39 -06:00
Jack Nagel
d9afb4f9ea bottle: fix reporting matches with spaces in them 2013-12-05 16:39:39 -06:00
Jack Nagel
41a810c1b6 bottle: fix false-positives from static libs when checking relocatability 2013-12-05 16:39:39 -06:00
Jack Nagel
371a98fe66 bottle: only split on newlines 2013-12-05 16:39:38 -06:00
Jack Nagel
fb6867c363 String isn't Enumerable in 1.9+ 2013-12-05 15:09:18 -06:00
Jack Nagel
36701a89ba Do relocation check while preparing bottle 2013-12-04 22:37:57 -06:00
Jack Nagel
76153e9780 Insert placeholders for prefix and cellar in relocatable bottles 2013-12-04 22:37:57 -06:00
Mike McQuaid
fe4370cdd0 bottle: make writing commit message more robust. 2013-12-01 10:26:20 -08:00
Mike McQuaid
9773b9e8bf bottle: write bottle version in commit message. 2013-11-27 08:31:26 +00:00
Mike McQuaid
e08ec21abe bottle: always use HOMEBREW_REPOSITORY. 2013-11-12 11:29:50 +00:00
Mike McQuaid
fd254c3874 bottle: improve written bottle output. 2013-10-31 19:03:31 -07:00
Mike McQuaid
3f489e1eed bottle: write to relative path if exists. 2013-10-31 18:21:03 -07:00
Elliot Saba
c20f6395bb bottle: improve relocatable debugging.
* When Homebrew developer mode is enabled, if a bottle is not found to
  be relocatable attempt to explain why
* Print out paths of each file that still contains the string search for
* If the string searched for was found in an executable, check to see
  if `otool` can explain the string's appearance
* If otool can't explain, see if `strings` can explain

Closes Homebrew/homebrew#23824.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-31 17:12:36 -07:00
Xiyue Deng
592b5d91a0 Fix install_name_tool path for keg_only formulae
* When a versioned keg_only formula installs the same set of executables
  or libraries as a unversioned formula that links to $HOMEBREW_PREFIX,
  install_name_tool will prefer to use the linked paths for files in
  keg_only formula.  This breaks software that should link to the
  keg_only formula but links to the unversioned one instead.
* Add an additional "options" parameter with keg_only field to specify
  the correct install path for keg_only formulae.
2013-10-04 02:03:03 -07:00
Mike McQuaid
b20335b314 bottle: add option to force no bottle revision. 2013-09-23 18:23:23 +01:00
Mike McQuaid
fd49e498fa bottle: fix merging .rb files. 2013-09-23 17:30:56 +01:00
Mike McQuaid
3de941f7c8 bottle: fix default Cellar output. 2013-09-23 17:30:55 +01:00