Mike McQuaid
2e7c423609
bottle: show diff before trying to commit.
2014-01-30 16:58:12 +01:00
aereal
91524a384d
Make brew tap
error message more clear
...
Closes Homebrew/homebrew#25813 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-01-26 17:33:12 -06:00
Frizlab
5de3686cd2
upgrade: fix output when no packages to upgrade.
...
When upgrading, if the only package to upgrade is a
pinned package, the output looked like that:
==> Upgrading 0 packages, with result:
==> Not upgrading 1 pinned package:
<<package_name & version>>
The blank line is not beautiful. This commit fixes
the output and replaces with:
==> No packages to upgrade
==> Not upgrading 1 pinned package:
<<package_name & version>>
Closes Homebrew/homebrew#26157 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-26 18:04:20 +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
30e409adfd
search: handle tap not found and suggest update.
...
Closes Homebrew/homebrew#25706 .
Closes Homebrew/homebrew#25682 .
2014-01-09 17:20:54 +00:00
Christian Moritz
3651c0cb58
create: fix typos
...
Closes Homebrew/homebrew#25709 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-07 12:10:11 +00:00
Mike McQuaid
cb0b6a0fa3
create: always use double quotes.
2014-01-07 08:11:02 +00:00
Mike McQuaid
6047e67d35
bottle: improve "not installed" message.
...
Fixes Homebrew/homebrew#25546 .
2014-01-04 14:50:13 +00:00
Mike McQuaid
4dd6f0cb4c
install, update: AlreadyTappedError never raised.
2014-01-03 21:57:06 +00:00
Mike McQuaid
95e6a634b4
tap: never throw AlreadyTappedError.
...
Just make it a warning instead.
Closes Homebrew/homebrew#25511 .
Closes Homebrew/homebrew#25617 .
2014-01-03 21:56:57 +00:00
Mike McQuaid
5b95710254
homebrew-python has moved to Homebrew org.
2013-12-28 12:14:38 +00:00
Josh Tilles
410121d8ed
Replace template’s j1
with deparallelize
...
Solely because I think `ENV.deparallelize` is *way* clearer than
`ENV.j1`, at least to the uninitiated.
Also, updating the template will reduce the number of `ENV.j1`s that
persist because the Homebrew maintainers want clean histories of
formulae. Ideally, this change should prevent any more cases from being
introduced!
Closes Homebrew/homebrew#25431 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-12-27 16:58:55 -06: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
0bb7c4d3ed
prune: remove unnecessary .sort
2013-12-21 21:37:26 -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
4e11656e01
versions: improve performance of rev_list
2013-12-17 20:43:45 -06:00
Mike McQuaid
268e32e37c
doctor: don't complain about unmigrated remote.
2013-12-17 23:40:21 +00:00
Mike McQuaid
4b7f435a00
doctor: fix autocrlf set command.
...
Fixes Homebrew/homebrew#25282 .
2013-12-17 16:34:01 +00:00
Mike McQuaid
5751b9e66c
doctor: add instructions for remote migration.
2013-12-17 16:25:51 +00:00
Adam Vandenberg
6aa2277119
options: show --HEAD and --devel when appropriate
...
Closes Homebrew/homebrew#24680 .
2013-12-15 19:42:08 -08:00
Chris Kampmeier
2635817ca8
doctor: don't let gitconfig break dirty-tree check
...
`brew doctor` always complains about uncommitted modifications to
Homebrew when you have status.branch=true in your git config, because
the implicit --branch makes `git status -s` always print branch/tracking
info. The --porcelain mode is similar to -s/--short, but ignores most of
the user's config and should remain stable.
The --untracked-files option ensures we'll see untracked files even for
users with status.showUntrackedFiles=no, which is not suppressed by
--porcelain for some reason.
Closes Homebrew/homebrew#25230 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-12-15 17:20:45 +00:00
Mike McQuaid
a1728a8174
doctor: check for migrated origin Git remote.
...
Closes Homebrew/homebrew#25211 .
2013-12-14 23:11:16 +00:00
Mike McQuaid
228a5a545a
update: rewrite origin to point to Homebrew org.
2013-12-14 23:10:20 +00:00
Mike McQuaid
2afa1c3b86
tap: change core formula tap naming.
2013-12-14 23:10:20 +00: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
Mike McQuaid
d7c13f84b6
Update string references to mxcl/homebrew.
2013-12-14 18:18:35 +00:00
Mike McQuaid
4c2e7b1659
Update docs, comment mxcl/homebrew refs.
2013-12-14 18:18:35 +00:00
Jack Nagel
ce19fa2223
Unify install name parsing
2013-12-14 09:35:58 -06:00
Jack Nagel
c6c7b9b165
Extract HOMEBREW_TEMP constant
2013-12-14 09:35:58 -06:00
Misty De Meo
775406be91
brew: error out if bad xcode-select path given
...
Since a bad xcode-select path can cause many brew commands to freeze,
it's worth warning users and bailing out as early as possible.
The doctor check wasn't good enough, since the doctor could freeze
before the warning about this was ever printed.
2013-12-13 08:52:29 -08:00
Bovard Tiberi
569bd7c425
doctor: fix PATH issues in comments
...
Closes Homebrew/homebrew#25170 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-12-12 20:07:39 -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
6c04ccfb3b
Remove unused variables
2013-12-12 15:42:35 -06:00
Mike McQuaid
55db2f7e11
uses: fix weird colon output.
...
Closes Homebrew/homebrew#24145 .
2013-12-12 21:24:42 +00:00
Mike McQuaid
38d2ffb2b8
audit: remove deprecated Python features.
...
These will be removed soon so don't check for them.
2013-12-12 21:07:41 +00:00
Jack Nagel
1b7718f6a7
bottle: determine revision more reliably
...
Closes Homebrew/homebrew#25100 .
2013-12-10 16:39:13 -06:00
Jack Nagel
a933b58507
versions: restore original constant
...
Before:
f1 = Formula.factory('tree')
f1.versions
f2 = Formula.factory('tree')
f1.class == f2.class # => false
After:
f1 = Formula.factory('tree')
f1.versions
f2 = Formula.factory('tree')
f1.class == f2.class # => true
2013-12-09 21:13:45 -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
c3ac88d8c7
versions: delete unused method
2013-12-09 17:34:04 -06:00
Jack Nagel
109e9dc58b
Silence some Ruby 2.1 warnings
2013-12-09 13:44:45 -06:00
Jack Nagel
cc4776cc23
versions: fix bottle filename usage
2013-12-08 16:41:35 -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