| Age | Commit message (Collapse) | Author | 
 | 
These were formerly supported but as it has been a very long time since
32-bit software was necessary on macOS these have been deprecated with
a `brew audit` warning and a future `odeprecated`.
 | 
 | 
Also, add TODOs for deprecating this properly at a later point.
 | 
 | 
 | 
 | 
It's more useful to be able to "bless" an existing bottle to be used on
later OSs (e.g. where it cannot yet be built) than it is to have to
create a new, identical bottle just to have a different filename.
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
Not quite a mass replacement as I've used OS X and Mac OS X where
describing specific older versions and added compatibility methods
for things in the DSL.
 | 
 | 
 | 
 | 
But remove some manual `.freeze`s on constants that shouldn't be
constants.
 | 
 | 
 | 
 | 
`any?` is not the opposite of `empty?`. Besides the case that
`[false, nil].any?` will return false, `any?`(O(n)) has much worse
performance than `empty?`(O(1)).
 | 
 | 
Also prevent the commit of formula's HeadVersion from passing to the resource. 
This is a fix of #531
 | 
 | 
Substitue each Version.new and HeadVersion.new with Version.create
to unify Version and HeadVersion instantiation among core code.
Note that this does not relate to Mac::OS::Version class.
 | 
 | 
 | 
 | 
 | 
 | 
Makes identifying which line in a formula has the bad use of 'option' easier.
Closes #120.
Signed-off-by: Andrew Janke <andrew@apjanke.net>
 | 
 | 
Since we support `apply` DSL in the `patch` block, external
patch files could be any compressed archive. As result, it
could introduce dependencies like xz, 7z etc.
Add the resource of ExternalPatch to dependency_collector, so
we could track these resource dependencies.
Closes Homebrew/homebrew#50318.
Signed-off-by: Xu Cheng <xucheng@me.com>
 | 
 | 
This allows there to be a user-visible description of why a bottle is
not being installed.
 | 
 | 
 | 
 | 
 | 
 | 
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>
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
add guard in Formula#file_modified? to prevent git popup
add guard in Superenv.bin before calling MacOS::Xcode.version
add guard against missing Xcode/CLT in Xcode.uncached_version
return nil instread of 0 in uncached_version when Xcode/CLT are not present, to distinguish from linuxbrew behavior
checks against pour_bottle? and needs_relocation?, add guard around keg.relocate_install_names to check pour_bottle?/needs_relocation? as well
needs_relocation? becomes skip_relocation?, use cellar attr to indicate relocation instead of does_not_need_relocation
MacOS.can_build? becomes MacOS.has_apple_developer_tools?
 | 
 | 
Toggled with does_not_need_relocation method in bottle block.
Also declare needs_relocation? accessors in software/bottle specs.
 | 
 | 
Closes Homebrew/homebrew#42354.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
 | 
 | 
Closes Homebrew/homebrew#41328.
Closes Homebrew/homebrew#41332.
Signed-off-by: Xu Cheng <xucheng@me.com>
 | 
 | 
 | 
 | 
 | 
 | 
by analogy to similar code in formula.rb.
Permits Homebrew/homebrew#37877. Closes Homebrew/homebrew#38330.
 | 
 | 
Closes Homebrew/homebrew#38123.
Signed-off-by: Xu Cheng <xucheng@me.com>
 | 
 | 
The `bottled?` method makes more sense when it also checks for
compatibility.
This is particularly useful for the case in `brew info` so it prints out
`(bottled)` correctly depending on the `Cellar`.
Closes Homebrew/homebrew#37636.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
 | 
 | 
It was fun but we just love Bintray more than you.
Closes Homebrew/homebrew#37211.
Closes Homebrew/homebrew#37213.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
 | 
 | 
 | 
 | 
Also: split into two variables so they can be used for taps.
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
Allows remapping one option name to another and updates build options
and flags accordingly.
 | 
 | 
 | 
 | 
This introduces a new GoResource category of resource. GoResources
have a specialized stage method which allows a resource to stage
itself into a gopath.
The new Go language module provides a one-liner to stage all
GoResources present in the formula.
 | 
 | 
 | 
 | 
 | 
 | 
Closes Homebrew/homebrew#31706.
 | 
 | 
 | 
 | 
 | 
 | 
This reverts commit e143bcef259ca76b2124e6e73bd9bdf872418723.
Closes Homebrew/homebrew#31557.
Closes Homebrew/homebrew#31559.
Closes Homebrew/homebrew#31561.
Closes Homebrew/homebrew#31562.
 | 
 | 
This reverts commit 8d2ef974a3a87bf4207f71ccb8a7b4776e16a016.
 |