| Age | Commit message (Collapse) | Author |
|
Allow to install any spec
|
|
This is both easier for debugging and to communicate with users what is
being done.
|
|
* installing HEAD keg_only should be possible only if:
1.
- Old version installed differs from new one and optlinked
- `--force` flag is passed
- HEAD is seriously outdated or outdated with `--fetch-HEAD`
or 2.
- Old version installed differs from new one and not optlinked
or 3.
- This formula is not installed
* installing keg_only should be possible only if:
1.
- Old version installed differs from new one and optlinked
- `--force` flag is passed
or 2.
- Old version installed differs from new one and not optlinked
or 3.
- This formula is not installed
* installing HEAD should be possible only if:
1.
- Old HEAD is seriously outdated or outdated with `--fetch-HEAD`
or 2.
- HEAD is not installed
* installing stable or devel should be possible only if:
- Old version installed differs from new one
|
|
Fixes #1600.
|
|
This is used by the install script so it can simplify it's logic and
make the analytics messaging more prominent.
|
|
There were some bugs with the use of `HOMEBREW_NO_ANALYTICS_THIS_RUN`
and some output glitches I missed with the previous PR (#1575).
|
|
- Don't output the analytics message and mark it as read if
`HOMEBREW_NO_ANALYTICS_THIS_RUN` is set. This mostly simplifies the
installer code where we can display the message ourselves there rather
than having `brew update` print it out sometimes and not others (i.e.
when there's no system Git installed).
- Use the shell's audible bell to nudge people to actually read this
message (and give them less excuse to complain when they don't).
- Add an extra newline and bold all the analytics messaging so it's
more visible in the output.
|
|
|
|
Handle `MethodDeprecatedError` because we want people to be able to
uninstall regardless of the content of their formula.
|
|
cmd/list: follow aliases
|
|
Closes #1514
|
|
These shouldn’t get here in the first place so this is a bit of a hack
pending a better fix.
|
|
Warn developers when uninstalling a dependency
|
|
Works around Rubycop not liking method names that start with `is_`
by changing convention from singular to plural.
I think it's better that way anyway.
|
|
|
|
Suggested in #1084.
Made the existing warning output entirely to STDERR, because
previously the first line went to STDERR and subsequent ones went
to STDOUT.
|
|
|
|
|
|
|
|
Invalid build option warnings - supersedes #1088
|
|
|
|
If `--with-foo` is provided to a formula through a tab or through
another formula depending on it and this option does not exist it
should be filtered. If it is not (the prior behaviour) then this can
prevent bottles being used unnecessarily.
Fixes #1399.
|
|
Otherwise there's an error which is a regression on previous
functionality. This mirrors `rm -f` which doesn't fail if a file doesn't
exist.
|
|
uninstall: refuse when dependents still installed
|
|
Improve debugging information based on failures
|
|
update-report: default Caskroom moved to prefix.
|
|
Look at HOMEBREW_PREFIX rather than HOMEBREW_REPOSITORY for the default
Caskroom location.
|
|
|
|
|
|
...and update man pages where applicable
|
|
Improve the GitHub API scope and token related messaging by
autopopulating the scopes we need on the new scopes page and, in the
case of a lacking a scope we need, output what scope was required.
Also, DRY up the personal access token code.
|
|
|
|
|
|
|
|
|
|
This was moved to Keg, but looks like I forgot to get rid of it here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dependent can be bypassed with `--ignore-dependencies`.
This is now the default for `HOMEBREW_DEVELOPER`s.
|
|
|
|
With the way uninstall is set up at the moment, it's pretty difficult to
add functionality to both the --force and normal variants.
Extracting the racks and kegs to be uninstalled before uninstalling them
should make this easier.
|
|
|
|
@ilovezfs pointed out that Homebrew generally uses "dependent", rather than
"dependant".
|
|
Suggested by @MikeMcQuaid
|