Anatoli Babenia
6afd15ae00
create: Fix getting name from GitHub archives
...
`brew create https://github.com/lapce/lapce/archive/v0.3.0.tar.gz ` was
getting the wrong name 'v3.0.0' from the URL
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-12-05 14:49:53 -05:00
Mike McQuaid
df3a0c434d
Merge pull request #16279 from Homebrew/dependabot/bundler/Library/Homebrew/json-2.7.0
...
build(deps-dev): bump json from 2.6.3 to 2.7.0 in /Library/Homebrew
2023-12-04 18:02:57 +00:00
Bo Anderson
6eb8d51a0c
dev-cmd/typecheck: skip json
RBI generation
2023-12-04 17:08:56 +00:00
Bevan Kay
dc2ded859b
Gemfile: load REXML gem for brew bump
2023-12-04 13:03:21 +11:00
Bo Anderson
110b9b03b0
Hack fix for Sorbet hidden definitions update failing on Ruby 3
2023-12-01 19:45:52 +00:00
Mike McQuaid
395ea6b261
Merge pull request #16274 from Bo98/bump-cask-pr-dup-check-fix
...
bump-cask-pr: fix duplicate PR checking with comma versions
2023-11-30 11:52:15 +00:00
Mike McQuaid
0e5018870f
Merge pull request #16273 from Bo98/bump-cask-pr-sha256
...
dev-cmd/bump-cask-pr: fix --sha256
2023-11-30 11:40:47 +00:00
Bo Anderson
0aae1fa6ae
bump-cask-pr: fix duplicate PR checking with comma versions
2023-11-30 02:49:07 +00:00
Bo Anderson
5e1f40467b
dev-cmd/bump-cask-pr: fix --sha256
2023-11-30 02:47:06 +00:00
Anatoli Babenia
dd939340fd
formula_creator: Pass url
to constructor
2023-11-29 19:13:19 +00:00
Anatoli Babenia
a7756bd303
formula_creator: Remove tap accessor
2023-11-29 18:57:24 +00:00
Anatoli Babenia
b2df600e3e
Move mode
into constructor params
2023-11-28 18:07:32 +00:00
Anatoli Babenia
912678ca5e
Save tap
in constructor
2023-11-28 16:07:38 +00:00
Anatoli Babenia
d1820a8fb1
brew style
wrapping of a long call
2023-11-28 15:57:19 +00:00
Anatoli Babenia
c17fc7b6f6
Remove license accessor
2023-11-28 15:46:01 +00:00
Anatoli Babenia
2b3ef56aa4
Try keyword arguments
2023-11-28 15:35:58 +00:00
Anatoli Babenia
259823cf4d
formula_creator: Set initial values for name and version in constructor
2023-11-27 21:08:18 +00:00
Anatoli Babenia
e2d2ea1d04
formula_creator: Remove dependency on args
2023-11-27 21:08:10 +00:00
Anatoli Babenia
c148396b98
create: Pass fetch value directly into constructor
2023-11-27 21:04:19 +00:00
Anatoli Babenia
d8f19ff881
Rename generate!
to write_formula!
2023-11-23 18:04:03 +03:00
Anatoli Babenia
51b16585fb
formula_creator: Remove path
attr to reduce code complexity
...
`path` attribute is used only once, and it is easier to calculate
it on the fly than to update its state after different methods.
2023-11-21 13:28:47 +03:00
Bo Anderson
34b1f37846
dev-cmd/vendor-gems: git add Gemfile.lock
2023-11-17 17:48:26 +00:00
Mike McQuaid
78b7d7e2d6
Merge pull request #16231 from Bo98/vendor-gem-workaround
...
dev-cmd/vendor-gems: workaround Dependabot removing lockfile platforms
2023-11-17 17:02:07 +00:00
Bo Anderson
58ff22eb55
dev-cmd/vendor-gem: workaround Dependabot removing lockfile platforms
2023-11-17 16:51:03 +00:00
Bo Anderson
ca549fa10d
dev-cmd/determine-test-runner: add --all-supported
2023-11-17 02:11:01 +00:00
Carlo Cabrera
d15ccaf92f
dev-cmd/vendor-gems: fix creation of broken symlinks
...
When the target symlink already points to an existing directory, the
`#ln_sf` call creates the symlink inside the intended target directory
(which is not what we intend to do here).
Let's fix that.
Closes #16205
2023-11-14 16:25:26 +08:00
Mike McQuaid
ff404fe5ab
Merge pull request #16184 from dduugg/rm-try
...
Remove use of ActiveSupport try
2023-11-06 13:11:01 +00:00
Douglas Eichelberger
00ba09d73d
Remove use of ActiveSupport try
2023-11-05 09:28:19 -08:00
Douglas Eichelberger
0191af7899
resolve typecheck errors
2023-11-05 08:55:58 -08:00
Bo Anderson
3c9eb901db
dev-cmd/audit: fix for Ruby 3
2023-10-30 21:21:30 +00:00
Mike McQuaid
729a6d4eac
Merge pull request #16064 from thecaralice/term-env
...
Add a few environment variables important for editors
2023-10-30 14:40:56 +00:00
Alice Carroll
9378b12d26
Re-export COLORTERM
only locally in brew edit
2023-10-30 00:01:51 +03:00
Bo Anderson
97eda64790
Merge pull request #16150 from Bo98/rexml-gem
...
Pull in REXML gem as it doesn't ship with Ruby 3
2023-10-28 18:03:30 +01:00
Bo Anderson
f38fc62f90
dev-cmd: fix GitHub.workflow_dispatch_event kwarg calls
2023-10-27 22:37:22 +01:00
Bo Anderson
e19127dc89
dev-cmd/bump-formula-pr: fix specs passing under Ruby 3
2023-10-27 20:34:42 +01:00
Bo Anderson
26ea6b7f9e
Pull in REXML gem as it doesn't ship with Ruby 3
2023-10-27 20:24:10 +01:00
Bo Anderson
14c1dce38b
Allow HOMEBREW_RUBY3 in tests
2023-10-27 15:58:43 +01:00
Bo Anderson
1af398068c
dev-cmd/pr-upload: fix gems not being installed with --upload-only
2023-10-26 20:20:53 +01:00
apainintheneck
c033a4673c
dev-cmd/bump-cask-pr: replace url before downloading files
...
Previously it was possible for both the version and url to be changed.
This would cause the old url to be used to download the cask and check
the checksum since the version and checksum were replaced in the cask
first and then the url would be replaced. This meant that the resulting
checksum was wrong if a url was provided and might be completely
invalid if it was interpolated.
2023-10-23 19:22:46 -07:00
Mike McQuaid
ab16b59ee7
Merge pull request #16116 from iMichka/dep2
...
brew unbottled: skip deprecated
2023-10-18 09:08:27 +01:00
Mike McQuaid
f656f8db97
dev-cmd/unbottled: more idiomatic Ruby.
2023-10-18 08:52:25 +01:00
apainintheneck
e48c155f42
dev-cmd/unbottled: share common parts of bottle tag regex
...
This makes it easier to see that the two regexes are related
and could make it easier to change them in the future if
need be.
2023-10-17 22:41:50 -07:00
Michka Popoff
651cef6f6b
brew unbottled: skip deprecated formulae
...
We are not interested in bottling them
2023-10-17 23:12:22 +02:00
apainintheneck
83598bb950
cmd/unbottled: Address review feedback for --lost
...
- Add heading message to indicate bottle tag used
- Use --no-ext-diff with git to avoid potential problems
- Resolve formula renames to avoid false positives
- Increase parsing stringency
2023-10-16 20:51:38 -07:00
apainintheneck
20f00a6427
dev-cmd/unbottled: add --lost option
...
This option tries to find bottles where the bottle was removed
from the formula in the past week and not added back in.
It checks the output of `git log` to see if there are any
bottles that fit this criteria.
2023-10-15 16:05:17 -07:00
Eric Knibbe
8e01227add
cmd/deps: show deps for head spec with --HEAD
...
Plus a few man page fixes
2023-10-13 00:29:09 -04:00
David C Hall
a3887482bb
Update tap-new.rb
2023-10-11 19:40:04 -07:00
David C Hall
8e65816335
Adding GHA permission for GitHub Packages
...
When a tap stores bottles in GitHub Packages, then the publish workflow requires the corresponding write permission.
2023-10-11 19:31:54 -07:00
Jameel Kaisar
2779b8ea7f
Add missing permissions to actions publish
...
This commit adds the missing permissions to the
actions publish script. The 'contents: write'
permission is required to publish releases and
the 'pull-requests: write' permission is required
to close the pull request after the changes are committed.
2023-10-08 22:13:59 +00:00
Jameel Kaisar
61c030b08f
Add close pr to actions publish
...
This commit enhances the publish actions script by
including a step to close the pull request after
committing the changes. The existing script deletes
the branch after pushing the commits, but lacks
the functionality to close the associated PR.
2023-10-08 18:08:56 +00:00