| Age | Commit message (Collapse) | Author |
|
Closes Homebrew/homebrew#47280.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Fixes Homebrew/homebrew#31156.
Closes Homebrew/homebrew#47246.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
|
|
Also reuse this improved implementation in the GitHub rate limit errors.
Closes Homebrew/homebrew#44721.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Also, print as a warning to STDERR and print a backtrace in debug mode.
Closes Homebrew/homebrew#47099.
Closes Homebrew/homebrew#47154.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
If the source contains a broken symlink, `brew bottle` would fail for no
good reason when trying to determine the most recently modified
file. To avoid this, we ignore any files for which stat(2) fails.
Closes Homebrew/homebrew#47111.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes Homebrew/homebrew#47185.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
Closes Homebrew/homebrew#47182.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
Closes Homebrew/homebrew#47177.
Signed-off-by: Xu Cheng <xucheng@me.com>
|
|
|
|
|
|
|
|
|
|
For users whose local brew is at around 2015-06-11 to 2015-08-06,
running `brew update` will emit following error:
Error: uninitialized constant Formulary::CoreFormulaRepository
This is caused by the same bug described in Homebrew/homebrew#42553.
This commit workarounds this issue and restores `brew update` compatibility
for users mentioned above.
Also cleanup legacy `require "cmd/tap"`.
|
|
Let's hide implementation detail on where to find alias directory.
This will benefit future core code and formulae separation.
Also let `brew readall` check aliases for all taps.
|
|
|
|
Let's hide implementation detail on where to find core formulae alias
directory. This will benefit future core code and formulae separation.
|
|
To use origin/master as start commit
brew update-test
To use <sha1> as start commit
brew update-test --commit=<sha1>
To use commit at <date> as start commit
brew update-test --before=<date>
Also print start/end commit for debug purpose
|
|
This commit partial reverts beed39e46fa021dd1c133c2c8eaaa81b524e68c7.
For users whose local brew is at around 2015-06-02 to 2015-06-11,
running `brew update` will emit following error:
Error: undefined method 'full_version' for OS::Mac:Module
This is caused by the same bug described in Homebrew/homebrew#42553.
Let's use `MACOS_FULL_VERSION` for now to restore `brew update` compatibility
for these users.
TODO: revert this commit after core code and formulae separation.
|
|
|
|
|
|
Add them for `install`, `bottle`, `uninstall`, `cleanup`.
Closes Homebrew/homebrew#47079.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
* Include install option --without-docs to disable creation of docs
* Include patch to successfully find osx dylibs and ignore glib static libs
* Remove mydumper from tap_migrations.rb
Closes Homebrew/homebrew#45892.
Signed-off-by: Andrew Janke <andrew@apjanke.net>
|
|
While it may suffice to merge string and non-reserved tags by forming a
union of all tags of dependencies of the same name, this approach fails
to work for the reserved tags. These are now merged such that the most
restrictive tag (meaning sometimes an empty tag) is preserved.
The previous behavior caused essential dependencies to be omitted and
builds to fail in response. E.g., multiple `:fortran` dependencies with
tags `[]`, `[:recommended]`, and `[:optional]` would have been expanded
and merged to `"gcc"` with tags `[:recommended, :optional]`, causing it
to be no longer seen as a required dependency.
Closes Homebrew/homebrew#47040.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
|
|
The general idea is that merging multiple dependencies of the same name
should produce the strictest tag instead of a (meaningless) union of the
reserved tags. For example, if a dependency is both a `:recommended` and
an `:optional` dependency at different points in the dependency tree,
the resulting merged dependency should be tagged as `:recommended`.
Handle all other reserved tags in the same spirit.
|
|
These tests were using too much semi-global state (instance variables)
and relied unnecessarily on the exact number of calls to `optional?` and
`recommended?` in the `Depedable` module.
|
|
`OpenStruct` (of which `Tab` is a subclass) doesn't support subscripting
with square brackets. Use normal dot notation to restore compatibility.
|
|
|
|
Closes Homebrew/homebrew#47041.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
I've set all the variable data to versions that are dependent on the
latest source file date and various modification dates also to the
latest source file date. With this if you rerun `brew bottle`
multiple times in a row you will see the same checksum even if you have
`brew reinstall`ed (as long as upstream does not hardcode e.g. the
build date).
I debugged this with diffoscope and worked on this as part of the
Athens 2015 reproducible builds workshop:
https://reproducible-builds.org/events/athens2015/
Closes Homebrew/homebrew#46587.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
This means that dependencies can be merged but still maintain all
their option names.
Closes Homebrew/homebrew#46916.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
This test will obviously fail but it does mark that the option names
are not being merged correctly.
|
|
|
|
Both `req.tags.include?(:run)` and `req.run?` are currently equivalent,
but the latter relies less on implementation details.
|
|
Without this the returned string is not as accurate if the method is
called with an int larger than 120.
Closes Homebrew/homebrew#47002.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
|
|
|
|
|
|
Fixes Homebrew/homebrew#46984.
|
|
Also use `popen_read` instead of `safe_system` for cleaner argument
passing and write the output with `atomic_write`.
Closes Homebrew/homebrew#46826.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
|
|
|
|
Users with local changes and without a configured Git identity won't be
able to update Homebrew via `brew update`, as the update will fail when
trying to stash the local modifications with `git stash`. They will be
unable to proceed until they follow Git's advice to configure their
identity or they manage to revert their local changes.
This change always sets a commit e-mail and name, avoiding this issue. A
nice bonus is that experienced Git users can see who created the stash
commit (identifying `brew update` as the author).
Fixes Homebrew/homebrew#46930.
Closes Homebrew/homebrew#46939.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
|
|
All other commands document both `--dry-run` and `-n` in the option
description and mention only `--dry-run` in the command summary. Let's
do the same for `cleanup`.
Closes Homebrew/homebrew#46942.
Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
|
|
Fix the regression introduced by Homebrew/homebrew#46735.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit 373da8666e633b06d8a5bb98621461b700f4b2d7.
|