Bo Anderson
1bb651469f
dev-cmd/bottle: don't fail on --keep-old with unchanged values
2021-04-07 20:26:36 +01:00
Mike McQuaid
8800b85f64
More GitHub Packages bulk upload fixes
...
- replace invalid non-ASCII characters from the descriptions
- handle invalid macOS versions on attempting to load old formulae from
old bottles
- let `rubocop` auto-remove a no-longer needed `rubocop:disable`
- fix `skopeo` credentials argument
2021-04-07 17:03:44 +01:00
Mike McQuaid
b0ba92466f
github_packages: fix more bulk upload errors.
...
- replace `+` in formula names (because it's an invalid character)
- do a `skopeo inspect` first to avoid overwriting existing packages
2021-04-07 12:48:34 +01:00
Mike McQuaid
5cae3f4096
dev-cmd/bottle: fix license output.
...
Don't output the complex license object but instead use the same format
we use for `Formula#to_hash`.
2021-04-06 14:41:27 +01:00
Bo Anderson
56b6918739
dev-cmd/pr-pull: don't cherry-pick on --no-commit
2021-04-06 13:30:07 +01:00
hyuraku
3c308aa031
create different tests log with each options
2021-04-06 09:38:37 +09:00
Nanda H Krishna
8e11f03fa9
Merge pull request #11003 from nandahkrishna/gpg-tap-new
...
dev-cmd/tap-new: use `Utils::Git.setup_gpg!`
2021-04-05 17:32:55 +05:30
Markus Reiter
b6ed8915e5
Add compatibility layer for AbstractDownloadStrategy#fetch
.
2021-04-03 20:10:33 +02:00
hyuraku
7fbe08e857
add a directory for test log
2021-04-03 19:03:35 +09:00
hyuraku
854b898856
change test log path
2021-04-03 18:45:46 +09:00
hyuraku
7f5a97d1f3
change directory for log
2021-04-03 18:45:46 +09:00
hyuraku
0ebc90ee67
cache paralell tests log on ci
2021-04-03 18:45:46 +09:00
Markus Reiter
72a79d934e
Fix audit annotations for casks.
2021-04-03 04:27:32 +02:00
Mike McQuaid
0ec1f04e63
GitHub Packages CI upload fixes
...
- Add `--no-commit` option to `brew pr-pull` and pass to
`brew pr-upload`
- Use `skopeo` from `PATH` if available (as it takes a while to build on
CI)
2021-04-02 16:51:18 +01:00
Nanda H Krishna
f648b071ad
dev-cmd/tap-new: use Utils::Git.setup_gpg!
2021-04-02 17:21:26 +05:30
Mike McQuaid
ab0d9f18a5
Merge pull request #10977 from MikeMcQuaid/github_packages_tab_download
...
GitHub Packages Tab download
2021-04-02 09:43:27 +01:00
Dawid Dziurla
82b71b7a02
pr-pull,upload: don't quote passed --committer value
2021-04-02 00:17:43 +02:00
Dawid Dziurla
41775738fa
pr-pull: pass --committer to pr-upload
2021-04-01 23:46:44 +02:00
nandahkrishna
53a7065bcc
Allow specifying committer for some dev-cmd
s
2021-04-01 22:22:31 +05:30
Mike McQuaid
4f57adf42f
github_packages: fix org.opencontainers.image.created.
2021-04-01 17:37:16 +01:00
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 Jackman
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 Dziurla
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 Polster
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 Polster
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 Anderson
ca33b3d425
Merge pull request #10887 from Bo98/dep-expand-caching
...
Implement caching for dependency expansion
2021-03-22 14:13:44 +00:00
Bo Anderson
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 Anderson
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 McQuaid
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
nandahkrishna
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
nandahkrishna
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