Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/Homebrew/brew.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Sep 23, 2016
  2. Sep 22, 2016
    • Mike McQuaid's avatar
      Use git describe to get the HOMEBREW_VERSION. · f0e9292a
      Mike McQuaid authored
      For tagged commits produces the output:
      - `1.0.1`
      
      For untagged commits with a dirty tree produces the output:
      - `1.0.1-19-g23efbc5-dirty`
      
      Performance:
      ```
      git describe --tags --dirty 2> /dev/null
      0.07s user 0.01s system 96% cpu 0.086 total
      ```
      
      This means we can tag any commit without needing to manually remember
      to bump the revision every time.
      f0e9292a
  3. Sep 17, 2016
  4. Sep 09, 2016
  5. Aug 24, 2016
  6. Aug 19, 2016
  7. Aug 18, 2016
  8. Aug 17, 2016
    • Mike McQuaid's avatar
      brew.rb: allow 10.5. · 7cb11822
      Mike McQuaid authored
      We'll keep the Homebrew installer pointing to Tigerbrew for now but as
      Homebrew/brew technically has no reason to not work on 10.5 let's remove
      this check.
      7cb11822
  9. Jul 25, 2016
  10. Jul 16, 2016
    • Mike McQuaid's avatar
      a07ab8bb
    • Mike McQuaid's avatar
      ENV: move to new paths. (#507) · a02be9ee
      Mike McQuaid authored
      Move some stuff formerly in `Library/ENV` around:
      - Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are
        all superenv wrappers and all symlinks to the same version. We never needed
        the "separate shims for separate versions" functionality and it just adds
        confusion.
      - Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more
        things under `Library/Homebrew`
      - Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually
        used by or related to superenv (or stdenv) in any way.
      a02be9ee
  11. Jul 05, 2016
  12. Jul 04, 2016
    • Martin Afanasjew's avatar
      Revert "Test officially supported cmd taps. (#390)" · dba1958b
      Martin Afanasjew authored
      This reverts commit 252c701c.
      
      Taps installed prior to running the test suite are not visible to the
      test suite as most Homebrew paths are redefined as to not mess up the
      local installation.
      dba1958b
    • Mike McQuaid's avatar
      Test officially supported cmd taps. (#390) · 252c701c
      Mike McQuaid authored
      All of these taps use Homebrew internal APIs (or will shortly) and we
      autoinstall them all from `brew $CMD`. We should adjust our CI to ensure
      that we never accidentally break these taps when making changes to core
      code so that these taps can rely more on this core code rather than
      having to e.g. vendor equivalent code that never changes on our end.
      252c701c
  13. May 09, 2016
  14. May 08, 2016
    • Mike McQuaid's avatar
      Add support for testing generic OS. · ddb576b5
      Mike McQuaid authored
      If the environment variable HOMEBREW_TEST_GENERIC_OS is set ensure that
      neither Mac nor Linux-specific code is loaded. This allows easier
      testing of cross-platform code on OS X and will make it easier to port
      Homebrew to platforms other than OS X and Linux.
      ddb576b5
  15. May 03, 2016
  16. Apr 21, 2016
    • Mike McQuaid's avatar
      brew.rb: uninstall old Homebrew Cask. (#121) · 00736276
      Mike McQuaid authored
      This version is never wanted at this point and it will help Homebrew
      Cask deal with the annoying errors that result from having this version
      still around (some which I've already help users debug).
      00736276
  17. Apr 20, 2016
    • Martin Afanasjew's avatar
      exceptions: add reason to 'UsageError' exception · d9363a15
      Martin Afanasjew authored
      Use the `reason` attribute to be able to handle `UsageError` subclasses
      more uniformly and simplify logic in `brew.rb` to handle them together.
      d9363a15
    • Martin Afanasjew's avatar
      help: show command-specific help for invalid usage · cf3486f9
      Martin Afanasjew authored
      Instead of always printing the generic help text, print command-specific
      help if it is available and a command raised the `UsageError` exception.
      Put the error message underneath the help text (was above) to avoid that
      it scrolls off the screen.
      
      Thereby fix a regression where handling the invalid usage would fail to
      access `ARGV.usage` removed in c6536066.
      cf3486f9
    • Martin Afanasjew's avatar
      help: refactor (again) and fix code style issues · 557ad956
      Martin Afanasjew authored
      Turns out making `empty_argv` a boolean argument for `Homebrew.help` was
      not the best idea and having command-to-path mapping and help extraction
      in a single method is not flexible enough.
      
      Also only complain about missing help text when `HOMEBREW_DEVELOPER=1`
      and otherwise just print the generic help text.
      557ad956
    • Martin Afanasjew's avatar
      brew.rb: fix Ruby syntax warning · 98000134
      Martin Afanasjew authored
      Library/brew.rb:108: warning: `*' interpreted as argument prefix
      98000134
  18. Apr 18, 2016
  19. Apr 11, 2016
    • Martin Afanasjew's avatar
      brew.rb: adjust behavior for undocumented commands · 0382134c
      Martin Afanasjew authored
      Don't exit with a non-zero status code just because an internal command
      happens to be undocumented. Also print the generic help in these cases
      to provide some help (including a reference to the man page).
      0382134c
    • Max Nordlund's avatar
      Implement the `brew help` command · b21f699f
      Max Nordlund authored
      This is also used by `brew <cmd> --help`. The basic idea is to have the
      documentation as a top level comment in each command file. To find these
      comments, they have to be like this `#:`.
      
      This is also used by the `brew man` command to keep the documentation
      DRY, and for that there are now a header and footer for the man page.
      b21f699f
  20. Apr 04, 2016
  21. Apr 02, 2016
  22. Mar 21, 2016
    • Xu Cheng's avatar
      add HOMEBREW_ENV_PATH internal variable · ce7b32ce
      Xu Cheng authored
      `Library/ENV` like `Library/Homebrew` is part of Homebrew basecode. It
      should be able to be accessed during the `brew tests`.
      
      By adding HOMEBREW_ENV_PATH variable, we allow test suit to locate these
      codes.
      ce7b32ce
  23. Feb 15, 2016
  24. Feb 06, 2016
  25. Feb 02, 2016
  26. Jan 27, 2016
  27. Jan 26, 2016
    • Martin Afanasjew's avatar
      brew.rb: don't re-export for external commands · 29d80643
      Martin Afanasjew authored
      `bin/brew` already sets up a bunch of environment variables. There's no
      need to re-export them for external commands. (`HOMEBREW_LIBRARY_PATH`
      and `HOMEBREW_CACHE` continue to be determined later in the Ruby code.)
      29d80643
  28. Jan 20, 2016
  29. Jan 18, 2016
Loading