32412 Commits

Author SHA1 Message Date
Max Eisner
b792a4f645
fix TypeError 2022-07-31 21:48:02 +02:00
Lukas Oberhuber
8b1eb32e99 Sources now retained in Caches/Homebrew/Sources
Full path is ~/Library/Caches/Homebrew/Sources

This creates a brand new directory for each build, but leaves previous.
2022-07-31 20:33:25 +01:00
Max Eisner
b2d94dc897
update arg names in docs and signature 2022-07-31 21:01:42 +02:00
Lukas Oberhuber
4b0d52ef62 debug_symbols passed down to soure dir creator
The flag is now passed down to resource which creates the directory for
unpacking the source.
2022-07-31 19:59:25 +01:00
Lukas Oberhuber
4eea117e84 ofail if debug-symbols cannot be extracted. 2022-07-30 11:41:05 +01:00
Lukas Oberhuber
15f1ac8775 Integration test for --debug-symbols
But only checks that the command works. Not that `dsymutil` is called
or that `-g` is added to the compile args.

(Not sure how to do either in an integration test.)
2022-07-30 11:23:40 +01:00
Lukas Oberhuber
cd9fe97c55 Improve style 2022-07-30 11:10:26 +01:00
Lukas Oberhuber
e46a61e181 rename & inline dsymutil to prepare_debug_symbols 2022-07-30 11:08:52 +01:00
Carlo Cabrera
e217fd35c2
Merge pull request #12770 from carlocab/deprecated-dependencies
formula_auditor: audit for deprecated dependencies
2022-07-30 13:23:57 +08:00
Shaun Jackman
4f02c5de99
Merge pull request #13618 from sjackman/sj/audit_glibc
audit_glibc: Permit glibc 2.27, 2.31, or 2.35 and fix the error message
2022-07-29 14:57:45 -07:00
Shaun Jackman
7d1197e8eb audit_glibc: Permit glibc 2.27, 2.31, or 2.35 2022-07-29 14:06:51 -07:00
Shaun Jackman
1ac5fc05bd audit_glibc: Permit glibc 2.35
See https://github.com/Homebrew/brew/issues/13619
2022-07-29 10:13:09 -07:00
Shaun Jackman
291eacd482 audit_glibc: Fix the error message
"The glibc version must be 2.35" should have read
"The glibc version must be 2.23".
2022-07-29 09:30:18 -07:00
Carlo Cabrera
7c7a92e8fb
formula_auditor: clean up error wording 2022-07-29 20:10:05 +08:00
Carlo Cabrera
467a45421f
dependency_collector: replace bazaar with breezy 2022-07-29 18:10:12 +08:00
Carlo Cabrera
e1ba143d88
download_strategy: replace bazaar with breezy
Bazaar is no longer maintained, and Breezy seems to be a drop-in
replacement.

I've tested the commands used in the download strategy and they seem to
work.

We need this in order to properly deprecate the `bazaar` formula.

See Homebrew/homebrew-core#106848.
2022-07-29 17:02:39 +08:00
Carlo Cabrera
43a34706ed
Merge pull request #13615 from Homebrew/dependabot/bundler/Library/Homebrew/bootsnap-1.13.0
build(deps): bump bootsnap from 1.12.0 to 1.13.0 in /Library/Homebrew
2022-07-29 15:14:10 +08:00
Carlo Cabrera
cbff83898e
formula_auditor: audit for deprecated dependencies
Closes #12748.
2022-07-29 15:07:16 +08:00
Carlo Cabrera
72880dea35
Merge pull request #13586 from carlocab/git-fsmonitor 2022-07-29 04:28:15 +08:00
Rylan Polster
ea1f2098ac
Move HOMEBREW_SIMULATE_MACOS_ON_LINUX handling to SimulateSystem 2022-07-28 15:04:25 -04:00
BrewTestBot
f45114cfae
brew vendor-gems: commit updates. 2022-07-28 18:07:46 +00:00
dependabot[bot]
506daa1a09
build(deps): bump bootsnap from 1.12.0 to 1.13.0 in /Library/Homebrew
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: bootsnap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 18:03:51 +00:00
Carlo Cabrera
5e60d54e70
update: disable Git fsmonitor for all Homebrew repositories
Stopping the fsmonitor doesn't seem to work, so let's just prevent the
fsmonitor from watching our repositories.
2022-07-28 22:20:07 +08:00
Rylan Polster
ef929a7c28
Merge pull request #13599 from Rylan12/cleanup-simulate-system
`SimulateSystem` improvements
2022-07-28 10:05:13 -04:00
Carlo Cabrera
c42169249e
cmd/update: stop fsmonitor after all Git operations complete
Also, skip the status check, as that doesn't really help us.
2022-07-28 22:02:31 +08:00
Rylan Polster
4cc0e854ce
Rename treat_as_*? to simulating_or_running_on_*? 2022-07-28 09:18:16 -04:00
Max Eisner
dff3fc9d2f
fix symbol in SHELL env 2022-07-27 16:59:30 +02:00
Rylan Polster
985f29f595
Merge pull request #13605 from Rylan12/api-merge-variations
Use `variations` hash when installing from the API
2022-07-27 15:37:31 +02:00
Lukas Oberhuber
22b1b61b73 Fix brew typecheck 2022-07-26 19:36:43 +01:00
Lukas Oberhuber
215e545660 brew style 2022-07-26 19:28:30 +01:00
Lukas Oberhuber
c442250304 Increase Metrics/BlockLength limit for install_args
Instead of disabling the cop for that block
2022-07-26 19:27:23 +01:00
Lukas Oberhuber
a578068dd5 Unlikely but ensures reasonable error 2022-07-26 18:01:22 +01:00
Lukas Oberhuber
6551b25b07 Compile with symbols when requested on all plats 2022-07-26 17:56:11 +01:00
Lukas Oberhuber
c2a95f077f Compiler -g flag set based on --debug-symbols 2022-07-26 17:18:01 +01:00
Lukas Oberhuber
91065b9ddd Improve flag passing for debug-symbols 2022-07-26 16:15:26 +01:00
Lukas Oberhuber
d195f22522 Connecting up --debug-symbols flag
This connects the calling of dsymutil and the retention of temporary
files. Still need to connect compilation to flag.
2022-07-26 12:15:53 +01:00
Lukas Oberhuber
74dd365a56 Hardcoded symbol production
Needs to be toggled by the `--debug-symbols` flag instead of hard coded
2022-07-26 12:13:38 +01:00
Lukas Oberhuber
f4cb9a40a6
remove macos specific dummy call
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2022-07-26 11:26:03 +01:00
Lukas Oberhuber
2d4c792b0b Make one function 2022-07-26 10:00:05 +01:00
Alexander Bayandin
1af0bcde20
Merge pull request #13601 from bayandin/cleaup-github-headers
Clean up GitHub headers
2022-07-26 01:06:26 +01:00
Lukas Oberhuber
e1ea9da507 Conceptual draft of dsym support for macos 2022-07-26 00:00:45 +01:00
Rylan Polster
5bc5f32893
Merge pull request #13606 from Homebrew/dependabot/bundler/Library/Homebrew/msgpack-1.5.4
build(deps): bump msgpack from 1.5.3 to 1.5.4 in /Library/Homebrew
2022-07-25 23:36:58 +02:00
Rylan Polster
11297dff11
Merge pull request #13607 from Homebrew/dependabot/bundler/Library/Homebrew/nokogiri-1.13.8
build(deps): bump nokogiri from 1.13.7 to 1.13.8 in /Library/Homebrew
2022-07-25 23:36:24 +02:00
BrewTestBot
86f88e2b70
brew vendor-gems: commit updates. 2022-07-25 18:09:44 +00:00
BrewTestBot
cd6ce16159
brew vendor-gems: commit updates. 2022-07-25 18:09:37 +00:00
dependabot[bot]
fbd4b679f7
build(deps): bump nokogiri from 1.13.7 to 1.13.8 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.7 to 1.13.8.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.7...v1.13.8)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 18:07:13 +00:00
dependabot[bot]
91d64131d2
build(deps): bump msgpack from 1.5.3 to 1.5.4 in /Library/Homebrew
Bumps [msgpack](https://github.com/msgpack/msgpack-ruby) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/msgpack/msgpack-ruby/releases)
- [Changelog](https://github.com/msgpack/msgpack-ruby/blob/master/ChangeLog)
- [Commits](https://github.com/msgpack/msgpack-ruby/compare/v1.5.3...v1.5.4)

---
updated-dependencies:
- dependency-name: msgpack
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 18:06:59 +00:00
Rylan Polster
ebf109ade5
Fix tests 2022-07-25 19:22:15 +02:00
Rylan Polster
233cef08cf
Fix style 2022-07-25 18:31:35 +02:00
Alexander Bayandin
864f1bed11
Merge pull request #13597 from bayandin/bayandin-patch-1
bump-formula-pr: even more precise tag replacement
2022-07-25 17:30:30 +01:00