Commit Graph
2115 Commits
Author SHA1 Message Date
Mike McQuaid d8a2cf9efc Write tabs to bottle JSON, optionally not bottle
- Write a subset of the tab required for bottles as an annotation.
- Add option on new bottle creation to skip writing tab into bottle
  and instead add it (and other useful metadata) to bottle JSON.
- Read formula information and tab from bottle JSON.
- Write prettier JSON to disk.
- Don't write `HEAD` to tab; this duplicates `HOMEBREW_VERSION`.
- Allow `brew bottle` to use `--json` to generate JSON files from a
  local bottle file.
2021-03-31 09:43:37 +01:00
Mike McQuaid d36e99c17c GitHub Packages tweaks
- cleanup comments from #10938
- fix download URL
- remove incorrect comment
2021-03-30 08:42:15 +01:00
Shaun JackmanandMike McQuaid c193cb9848 github_packages: Add annotations to image index
When `brew pr-upload` is run with `--dry-run`, write the OCI directory,
but do not upload it.
2021-03-29 17:11:38 +01:00
Dawid DziurlaandGitHub bd66b4a8ed Merge pull request #10942 from Bo98/linux-to-homebrew-automerge
dev-cmd/pr-automerge: skip automerge for "linux to homebrew-core" by default
2021-03-29 13:45:28 +02:00
hyuraku d4bca4595a dev-cmd/audit: delete one variable 2021-03-27 21:57:36 +09:00
Bo Anderson c6986122c8 dev-cmd/pr-automerge: skip automerge for "linux to homebrew-core" 2021-03-26 11:07:45 +00:00
Rylan PolsterandGitHub 9a355b07c3 Merge pull request #10896 from Rylan12/cask-audit-display-changes
audit: limit non-failure cask output
2021-03-23 01:33:28 -04:00
Rylan PolsterandGitHub 2d3aca706d Merge pull request #10895 from Rylan12/fix-tap-custom-remote-handling
utils/github: handle non-standard tap remotes
2021-03-22 22:28:20 -04:00
Rylan Polster 2b8d19e0bd audit: limit non-failure cask output 2021-03-22 22:16:54 -04:00
Bo AndersonandGitHub ca33b3d425 Merge pull request #10887 from Bo98/dep-expand-caching
Implement caching for dependency expansion
2021-03-22 14:13:44 +00:00
Bo AndersonandGitHub 25373a18cc Merge pull request #10880 from Bo98/cli-stronger-types
Stricter handling of CLI args
2021-03-22 14:13:01 +00:00
Rylan Polster 4e61f61a20 utils/github: handle non-standard tap remotes 2021-03-21 12:35:45 -04:00
Bo Anderson e49a338896 Implement caching for dependency expansion 2021-03-20 16:56:00 +00:00
Bo AndersonandGitHub 1b61d5a563 Merge pull request #10873 from Bo98/shell_commands_cop
Promote shell commands audit to global cop
2021-03-18 20:34:15 +00:00
Bo Anderson 8e98ce69f3 Stricter handling of CLI args 2021-03-18 16:41:57 +00:00
Seeker 6aa4145e3c bump-cask-pr: edit fetch_resource to reduce code duplication
`fetch_resource` now returns a SHA-256 string instead of file path
2021-03-17 21:00:44 -07:00
Seeker f65f0f9245 bump-cask-pr: add fetch_cask helper method 2021-03-17 21:00:44 -07:00
Seeker 5f92d00244 bump-cask-pr: support separate downloads for Intel and ARM 2021-03-17 21:00:43 -07:00
Bo Anderson 20ff68a425 Fix brew style. 2021-03-17 20:45:44 +00:00
Mike McQuaidandGitHub 3afa9b078e Merge pull request #10651 from nandahkrishna/formula-cask-disambiguation
livecheck and bump: formula/cask disambiguation
2021-03-15 11:37:34 +00:00
Mike McQuaid 8e646f6202 pr-upload: support uploading to GitHub Packages.
Use `oras` to create a package tagged with the current version.
2021-03-12 14:09:25 +00:00
Mike McQuaid 3f00d08544 dev-cmd/pr-upload: some refactoring
- make the description more generic/correct
- use "internet archive" over "archive"
- move some logic to a new `GitHubReleases` class (for consistency)
- remove some obvious comments
- extract out and move some constants
2021-03-11 14:49:56 +00:00
Bo Anderson 769a6cd1f5 Don't touch PATH, GEM_HOME and GEM_PATH when testing formula 2021-03-10 17:08:57 +00:00
nandahkrishnaandMike McQuaid 8ddf9b37bd Apply suggestions from code review
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-03-05 18:55:51 +05:30
nandahkrishna ab0e427d3e Disambiguate formulae/casks from different taps 2021-03-04 23:56:04 +05:30
nandahkrishna 6efb37206f dev-cmd/bump: sort formulae and casks by name 2021-03-04 23:56:04 +05:30
nandahkrishna 7d5216c500 Improve formula/cask disambiguation 2021-03-04 23:56:04 +05:30
nandahkrishnaandSam Ford f11786d63d Apply suggestions from code review
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2021-03-04 23:56:04 +05:30
nandahkrishna 22cc750c66 livecheck and bump: formula/cask disambiguation 2021-03-04 23:56:04 +05:30
Dawid Dziurla b3949f0765 dispatch-build-bottle: support Linux 2021-03-03 17:36:12 +01:00
Mike McQuaidandGitHub 28bc2b83e0 Merge pull request #10751 from MikeMcQuaid/brew-tap-new-tweaks
dev-cmd/tap-new: various tweaks.
2021-03-02 13:01:36 +00:00
Mike McQuaid 9663567501 Fix brew style. 2021-03-01 13:43:47 +00:00
Mike McQuaid fb1cf8f389 dev-cmd/tap-new: various tweaks.
- `--no-git` and `--branch` don't conflict as `--branch` is still used
  for the GitHub Actions branch even with `--no-git`
- fix some README markdown linting errors
- fix some YAML/GitHub Actions configuration linting errors
2021-03-01 13:40:08 +00:00
Bo Anderson d911596af9 dev-cmd/test: output stacktrace to stderr 2021-02-26 18:23:48 +00:00
Bo Anderson 6cd1e5e384 Avoid passing around a massive $LOAD_PATH.
Portable Ruby crashes if the $LOAD_PATH gets too big.
2021-02-26 18:23:48 +00:00
Bo Anderson bb4e74042a formula_assertions: use minitest
We are migrating away from using system gems, and we already have minitest in our dependency tree, so we might as well use it.
2021-02-26 18:23:07 +00:00
nandahkrishna 0754fabec6 dev-cmd/man: modify '--fail-if-changed' to '--fail-if-not-changed' 2021-02-26 19:25:17 +05:30
Dustin RodriguesandGitHub a625948b14 Merge pull request #10691 from dtrodrigues/prof-silicon
dev-cmd/prof: prevent from running on Apple Silicon
2021-02-25 11:22:30 -05:00
Shaun Jackman c4787a0a8b pr-upload: Fix a typo affecting Internet Archive 2021-02-24 15:06:06 -08:00
Dustin Rodrigues 511fcee1d7 dev-cmd/prof: prevent from running on Apple Silicon 2021-02-24 09:03:50 -05:00
Mike McQuaidandGitHub f14ed4987f Merge pull request #10679 from Bo98/unbottled
dev-cmd/unbottled: various improvements
2021-02-24 13:56:52 +00:00
Shaun Jackman 641f134274 Apply Mike's suggestions 2021-02-23 11:31:43 -08:00
Bo Anderson fb8b247db3 dev-cmd/unbottled: various improvements
* Ignore bottles for older macOS versions
* Ignore disabled formulae
* Ignore formulae which can't build on the chosen macOS
* Improve/fix sort description
2021-02-23 16:27:58 +00:00
Shaun Jackman c11692ba78 pr-pull: Upload bottles to Archive.org
Add option --archive-item
2021-02-22 17:57:10 -08:00
Shaun Jackman b0bd15fb41 pr-upload: Upload bottles to Archive.org
--archive-item specifies the item identifier.
HOMEBREW_ARCHIVE_KEY=access:secret specifies the S3 key.
2021-02-22 17:21:43 -08:00
Mike McQuaidandGitHub 8d80bcf1a6 Merge pull request #10643 from MikeMcQuaid/sponsors-code-tweaks
dev-cmd/sponsors: tweak code.
2021-02-18 18:02:11 +00:00
Nanda H KrishnaandGitHub 53d840c969 Merge pull request #10635 from nandahkrishna/bump-cask-support
dev-cmd/bump: add cask support
2021-02-18 02:35:34 +05:30
Nanda H KrishnaandGitHub 7dc8025934 Merge pull request #10626 from nandahkrishna/refactor-github-api
utils/github: split GitHub module
2021-02-18 01:20:01 +05:30
nandahkrishna f7c8810214 utils/github/api: remove 'api' from method names 2021-02-17 23:47:05 +05:30
Mike McQuaid a85ad91b43 dev-cmd/sponsors: tweak code.
- add named constants
- change an unless to if
2021-02-17 17:53:10 +00:00