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
Mike McQuaid
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 Rodrigues
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 McQuaid
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 McQuaid
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 Krishna
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 Krishna
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
nandahkrishna
88f78c4523
dev-cmd/bump: rescue if livecheck_result errors
2021-02-17 02:36:29 +05:30
nandahkrishna
bf60e2da3d
utils/repology: add constants for repository names
2021-02-17 02:12:18 +05:30
nandahkrishna
24bb6040a7
dev-cmd/bump: add cask support
2021-02-17 00:42:07 +05:30
Jonathan Chang
a946cde4e1
Merge pull request #10615 from jonchang/enhance-sponsors
...
Update Github sponsor text and logos
2021-02-16 14:06:11 +11:00
nandahkrishna
56e0c3d9e8
Update GitHub API usage
2021-02-15 22:38:27 +05:30
Nanda H Krishna
b9cbeb3019
Merge pull request #10608 from nandahkrishna/assignment-condition-parentheses
...
style: use parentheses for assignment in conditions
2021-02-15 18:43:54 +05:30
Jonathan Chang
4c26b9b17e
Merge pull request #10614 from jonchang/brew-prof-min
...
prof: needs at least 1 argument
2021-02-15 23:53:59 +11:00
Jonathan Chang
99ed37fb29
sponsors: automatically update README
...
This saves a copy and paste.
2021-02-15 13:43:40 +11:00
Jonathan Chang
6c2d357c0e
prof: needs at least 1 argument
2021-02-14 20:50:15 +11:00
nandahkrishna
8e5451df2f
style: use parentheses for assignment in conditions
2021-02-12 18:33:37 +05:30
nandahkrishna
810b8e515b
dev-cmd/man: remove diacritics for manpage
2021-02-12 05:41:40 +05:30
Rylan Polster
b4995379d4
dev-cmd/rubocop: call rubocop utility instead of -S rubocop
2021-02-11 08:37:45 -05:00
Issy Long
dde89d8d2b
dev-cmd/update-maintainers: If there are changes, auto-update man pages
...
- I noticed this in a PR recently, maybe the maintainer didn't think
they would have to run `brew man` for this? In that case there's an
extra step after the PR is raised, red CI checks on the PR (which is
demoralising) and potentially requires a reviewer to point this out.
- This runs `brew man` if the `README` file has a diff as part of this
command. Then the user has to `git add .` and their PR is (probably)
good.
2021-02-09 21:26:08 +00:00
nandahkrishna
15f936a22a
dev-cmd/update-maintainers: implement suggestions from code review
2021-02-08 23:33:26 +05:30
nandahkrishna
90632ce274
dev-cmd/update-maintainers: modify Linux maintainer wording in README
2021-02-08 23:33:25 +05:30
nandahkrishna
6026c7c74d
brew update-maintainers
: dev-cmd to update maintainers in README
2021-02-08 23:33:25 +05:30
Rylan Polster
727ac9b47f
bottle: write bottles with new syntax
2021-02-03 20:46:20 -05:00
Mike McQuaid
1cf9f0f789
dev-cmd/release: output blog post release notes.
...
I forgot until I started to work on the 3.0.0 release that there was an
added step I would do for a major/minor release:
```
brew release-notes --markdown 2.7.0 | pbcopy
```
This would generate for 3.0.0/2.8.0 the release notes since 2.7.0 for
editing down into a blog post.
Add this behaviour to `brew release` and, because we're doing it
programmatically anyway, take this chance to also reject Dependabot
lines and sort them for easier grouping by pull request subject.
2021-02-03 10:06:10 +00:00
Dustin Rodrigues
d2430bcf50
Merge pull request #10473 from dtrodrigues/man-force
...
man: allow command to run on unsupported platforms when HOMEBREW_SILICON_DEVELOPER is set
2021-02-02 13:32:41 -05:00
Mike McQuaid
f9b16fad7a
Merge pull request #10475 from MikeMcQuaid/prof-exit-code
...
dev-cmd/prof: allow non-zero exit code.
2021-02-02 09:08:33 +00:00