aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2015-04-16cleanup: add --prune to delete old cache files.Mike McQuaid
2015-04-16tap_migrations: migrate pebble-sdk.Mike McQuaid
Closes #35128.
2015-04-15Fix test formula name so it matches the filenameJack Nagel
2015-04-15sandbox postinstallXu Cheng
Closes #38479. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-15sandbox testXu Cheng
2015-04-15sandbox: redesign APIXu Cheng
2015-04-15move safe_fork into a standalone methodXu Cheng
2015-04-15build: fix typoXu Cheng
2015-04-14Revert "brew pull: add automatic tap repair"Dominyk Tiller
This reverts commit bcd34ded9e4b17b8658b7ae947cd392a4e5942c0. Closes #38658. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-13Update test dependenciesJack Nagel
2015-04-13brew pull: add automatic tap repairDominyk Tiller
At the moment, every time I pull a new formulae from a tap, I have to fetch it with the fully qualified name, `brew fetch homebrew/versions/duck123 `, which is fine, but then I also have to install, test, and audit it in the same way, which isn’t fixed until I tap repair, which gets a bit onerous. This just adds a step to `brew pull` where it does the tap repair automatically for taps. Closes #37788. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-12formula: add more API docs for directories.Mike McQuaid
Closes #38571.
2015-04-12readall: use named to check if ARGV is empty.Mike McQuaid
Otherwise e.g. --debug will be interpreted as a (bad) tap argument. Closes #38569. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-12audit: don't split shell commands when using a glob patternBaptiste Fontaine
Without this, `brew audit <some formula>` may ask people to change: system "./script.sh foo-*" into: system "./script.sh", "foo-*" These are not the same. In the first example the shell expansion occurs while it doesn’t in the second one, breaking the build. Closes #38540. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-10download_strategy: automatically use apache.org https mirrorViktor Szakats
Discussion: https://github.com/Homebrew/homebrew/issues/37945 Patch by @jacknagel. Closes #38492. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-09os: support xcode 6.3Dominyk Tiller
It’s Christmas. New stable OS X version, new Swift version, new Xcode, new CLT and a new Clang version. Closes #38468. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-09preliminary write control only sandboxXu Cheng
Closes #38361. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-09pull: increase bottle publish wait timeout.Mike McQuaid
2015-04-09tap: better match install format.Mike McQuaid
2015-04-09untap: better match uninstall format.Mike McQuaid
2015-04-09cmake: adjust standard built typeDominyk Tiller
Moves from None to Release, but comments out the standard release CFLAGS so we can continue using our own. Bumped Libgit2 as an example/test to play with. Closes #37332, hopefully. Closes #37361. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-09test-bot: don't check deps until taps are tappedTim D. Smith
brew deps will fail silently if a formula has dependencies which live in taps that have not yet been tapped. Delay checking brew deps until after tap dependencies are discovered. Closes #38424.
2015-04-09Prioritize TapDependency in parse_string_specTim D. Smith
test-bot expects the dependencies returned from SoftwareSpec#deps to satisfy is_a?(TapDependency) if they come from a tap which might need to be tapped.
2015-04-09Keep Homebrew site-packages in sys.path during brew testTim D. Smith
Formulas that build python things and which are tested with system Python will encounter test failures unless system Python is configured to add Homebrew's site-packages to sys.path. This change makes sure that configuration is performed in the test environment. Both lines are needed; the first reads and processes .pth files and the second makes sure that Homebrew's site-packages is read before the system extras, so that formulas depending on Homebrew/python/numpy get the Homebrew/python version and not the old system version. Closes #38466.
2015-04-09Use UNIXSocket to pass file descriptorXu Cheng
This is a more standard way to pass fd in UNIX world. At the same time, it helps to remove a few hacks and simplifies the code in the sandbox. Closes #38434. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-09uninstall: display file sizeXu Cheng
Closes #38475. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-09figtoipe: move to head-only.Geoff Nixon
Closes #37059. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-09dromeaudio: move to head-only.Geoff Nixon
Closes #37057. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-08FortranDependency: make sure gfortran ends up in PATHTim D. Smith
Per requirements.rb: > XXX If the satisfy block returns a Pathname, then make sure that it > remains available on the PATH. This makes requirements like > satisfy { which("executable") } > work, even under superenv where "executable" wouldn't normally be on the > PATH. > This is undocumented magic and it should be removed, but we need to add > a way to declare path-based requirements that work with superenv first. Fixes homebrew/homebrew-python#170. Closes #38448.
2015-04-08pull: sleep before fetching uploaded bottle.Mike McQuaid
2015-04-08uses: also check the default formulae.Mike McQuaid
This means e.g. `elixir` will show up as using `erlang`.
2015-04-07Remove duplication from cleanup methodsJack Nagel
2015-04-07pathname: prune unnecessary whitespaceDominyk Tiller
Closes #38413. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-07cleanup: display file-sizesDominyk Tiller
Closes #38404
2015-04-07stop supporting md5 checksumXu Cheng
This prevents a downgrade attack. Closes #38433. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-07pull: try downloading bottles after upload.Mike McQuaid
2015-04-07test-bot: override existing Bintray bottles.Mike McQuaid
2015-04-07gcc5: add regexDominyk Tiller
Fixes the bottle regex problem seen in https://github.com/Homebrew/homebrew-versions/pull/678. I don’t know whether it’s a good regex, or an awful regex, but it works and passes `brew tests` and a bottled install. Open to improvements if anyone has them. Closes #38333. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-06add SoftwareSpec#go_resourceTim D. Smith
by analogy to similar code in formula.rb. Permits #37877. Closes #38330.
2015-04-06list: exclude pypy from unbrewedDominyk Tiller
Excludes the PyPy paths from the unbrewed list, since we do the same with Python. Closes #38399.
2015-04-05switch: do not require an existing formulaJack Nagel
2015-04-02Switch PkgVersion to use compositionJack Nagel
Comparing PkgVersion and Version objects can produce nonsensical results. For example, equality is not symmetric: irb(main):002:0> PkgVersion.new("1.0", 0) == Version.new("1.0") => false irb(main):003:0> Version.new("1.0") == PkgVersion.new("1.0", 0) => true Rather than attempt to deal with subclass-superclass equality, let's use composition and punt on the problem altogether.
2015-04-02audit: enforce https for bare bintray.com domainViktor Szakáts
Closes #38302. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-04-01Use pkg_version when comparing against keg versionsJack Nagel
2015-04-01Simplify versions codeJack Nagel
2015-04-01Remove dead codeJack Nagel
2015-03-31pathname: remove hyphen from BOTTLE_EXTNAME_RXShaun Jackman
A hyphen is not a valid character in a Ruby symbol, and the bottle tag should be a valid Ruby symbol for its use in the bottle stanza. Closes #38235. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-31pathname: Add [-0-9] to BOTTLE_EXTNAME_RXShaun Jackman
Change [a-z_]+(32)? to [-a-z0-9_]+ The Linuxbrew bottle tag is x86_64-linux. Closes #32687. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-31pull: make the bintray message stronger.Mike McQuaid
2015-03-31audit: enforce https on *.bintray.com urlsViktor Szakáts
Closes #38209. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>