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. 09 Dec, 2020 1 commit
    • Mike McQuaid's avatar
      Fix bottle prefix and repository handling · 0f9bad00
      Mike McQuaid authored
      We were previously only looking at the `cellar` value when pouring
      bottles and ignoring the `prefix` and (implicit) `repository`.
      
      Actually look at these values and set the defaults for each platform.
      
      Also, when we're relocating to create or pour bottles when `prefix`
      and `repository` are equal then skip relocating the `repository` and
      always use references to the `prefix` instead.
      
      Fixes #9453
      0f9bad00
  2. 01 Dec, 2020 1 commit
  3. 30 Nov, 2020 1 commit
  4. 27 Nov, 2020 1 commit
  5. 26 Nov, 2020 1 commit
    • Michka Popoff's avatar
      bottle merge: add support for linux cellar · 95bf529a
      Michka Popoff authored
      The first attempt to build and pull a formula (hello) for linux in homebrew-core
      resulted in a wrong cellar line being added to the formula's bottle block.
      
      How to test/debug this, using the 4 bottles that where built for hello:
      brew bottle --merge --debug hello--2.10_1.mojave.bottle.json hello--2.10_1.x86_64_linux.bottle.json hello--2.10_1.big_sur.bottle.json hello--2.10_1.catalina.bottle.json
      
      This command would add create the following bottle block:
      
        bottle do
          cellar "/home/linuxbrew/.linuxbrew/Cellar"
          sha256 "a0af7dcbb5c83f6f3f7ecd507c2d352c1a018f894d51ad241ce8492fa598010f" => :big_sur
          sha256 "5334dd344986e46b2aa4f0471cac7b0914bd7de7cb890a34415771788d03f2ac" => :catalina
          sha256 "22948764d8f8d7be4870ff92dae64d986eb63a9150b219c20fff87d1a6aa93d6" => :mojave
          sha256 "702dc7f78444d2f4f1c19324be654bcbb8b99dd0e9ce26c3e2fbc3b6464a189f" => :x86_64_linux
        end
      
      After the change in this PR, the result is the following:
      
        bottle do
          sha256 "a0af7dcbb5c83f6f3f7ecd507c2d352c1a018f894d51ad241ce8492fa598010f" => :big_sur
          sha256 "5334dd344986e46b2aa4f0471cac7b0914bd7de7cb890a34415771788d03f2ac" => :catalina
          sha256 "22948764d8f8d7be4870ff92dae64d986eb63a9150b219c20fff87d1a6aa93d6" => :mojave
          sha256 "702dc7f78444d2f4f1c19324be654bcbb8b99dd0e9ce26c3e2fbc3b6464a189f" => :x86_64_linux
        end
      
      The brew bottle --merge code will pick the most common cellar line between the 4 bottles, by order of priority:
      - non-relocatable (fixed cellar path)
      - cellar :any
      - cellar :any_skip_relocation
      
      In the case of the hello bottle, the 3 mac bottles are "cellar :any_skip_relocation", and the linux bottle
      is non-relocatable. So the linux bottle wins and the code correctly determines that the 4 bottles should
      be non-relocatable.
      
      In that case, the /home/linuxbrew/.linuxbrew/Cellar path is defined as cellar, and by convention
      we do not write that out to the formula file, hence the cellar path check that needs to be modified
      in this PR.
      
      This PR also fixes the same situation for mac ARM cellar paths
      95bf529a
  6. 13 Nov, 2020 1 commit
    • Mike McQuaid's avatar
      Handle macOS Homebrew on ARM · 5afff3f3
      Mike McQuaid authored
      - Output `brew doctor` and `brew install` messages noting this configuration is (currently) unsupported and encourage use of Rosetta instead
      - Output Rosetta 2 usage in `brew config` on ARM (whether in Rosetta 2 or not)
      - Check the architecture of (newly installed) dependencies and ensure they are using the correct architecture.
      - Don't allow installing macOS Intel Homebrew in macOS ARM Homebrew default prefix (and vice versa
      - Actually write out the architecture of dependencies to the tab rather than generating and throwing them away
      - Set and document the expected default prefix for macOS Intel Homebrew, macOS ARM Homebrew (`/opt/homebrew`) and Homebrew on Linux
      
      While we're here:
      - Don't say Big Sur is a prerelease version but still make it clear we
        don't support it (yet).
      - Don't reference non-existent IRC channel
      5afff3f3
  7. 11 Nov, 2020 1 commit
  8. 10 Oct, 2020 1 commit
  9. 09 Oct, 2020 1 commit
  10. 12 Sep, 2020 1 commit
  11. 03 Sep, 2020 1 commit
  12. 01 Sep, 2020 1 commit
  13. 22 Aug, 2020 1 commit
  14. 20 Aug, 2020 1 commit
  15. 11 Aug, 2020 1 commit
  16. 06 Aug, 2020 1 commit
  17. 31 Jul, 2020 1 commit
  18. 24 May, 2020 1 commit
  19. 06 May, 2020 1 commit
    • Mike McQuaid's avatar
      Refactor CLI to remove `unless args_parsed` · 20a11993
      Mike McQuaid authored
      Refactor the CLI::Args module so it doesn't have different paths to
      check arguments depending on whether the arguments have been parsed or
      not. Instead, set the values we need from the global ARGV at
      first, global initialisation time where they will be thrown away when
      the actual arguments are parsed.
      
      To do this some other general refactoring was needed:
      - more methods made private when possible
      - e.g. `HEAD?` used consistently instead of `head` before arguments
        are parsed.
      - formula options are only parsed after named arguments are extracted
      20a11993
  20. 20 Apr, 2020 1 commit
  21. 19 Apr, 2020 1 commit
  22. 12 Apr, 2020 1 commit
  23. 07 Apr, 2020 1 commit
  24. 05 Apr, 2020 1 commit
  25. 03 Feb, 2020 1 commit
  26. 30 Dec, 2019 1 commit
  27. 02 Dec, 2019 1 commit
  28. 06 Nov, 2019 1 commit
  29. 13 Oct, 2019 1 commit
    • Issy Long's avatar
      Auto-fix Style/RedundantBegin offenses · 341ea608
      Issy Long authored
      - This also required auto-fixes for Layout/EmptyLinesAroundBlockBody and
        Layout/InconsistentIndentation once the auto-fixer had got rid of the
        "redundant begin"s.
      341ea608
  30. 30 Sep, 2019 1 commit
  31. 20 Apr, 2019 1 commit
  32. 19 Apr, 2019 1 commit
  33. 17 Apr, 2019 1 commit
  34. 21 Feb, 2019 1 commit
  35. 30 Dec, 2018 1 commit
    • Mike McQuaid's avatar
      brew.sh: make update --preinstall exec. · 00dbb221
      Mike McQuaid authored
      This means that any new environment variables or changes to `bin/brew`
      or `brew.sh` will be used in the new process. This also allows the
      removal of various fallbacks from autoupdates from old versions.
      00dbb221
  36. 08 Nov, 2018 1 commit
  37. 03 Nov, 2018 2 commits
  38. 20 Oct, 2018 1 commit
  39. 19 Oct, 2018 1 commit