Nanda H Krishna
5ccfbcd1d2
Autocorrect style issues with brew style --fix
2021-07-08 12:36:39 +05:30
Mike McQuaid
1680ddb267
utils/repology: temporarily disable functionality.
...
Doesn't work with system `curl` currently.
2021-06-30 09:20:56 +01:00
Michael Cho
d304c84f2a
test/utils/github_spec: fix artifact number
2021-06-25 11:36:13 -07:00
Alexander Bayandin
d55cbeac78
github_spec: Update PR number with unexpired artifacts
2021-06-24 13:29:44 +01:00
Sam Ford
0752d25125
OS::Mac: Move version methods into ::Version
2021-06-23 09:03:46 -04:00
Misty De Meo
c0a02442d9
Revert "language/java: use shortened brew paths"
...
This reverts commits 318175cfe2b23328f1b5f13812fd59cfd45fe1dc,
e7ab760392b9691a6c730b7e0d660b7874969e70 and
3b35af63f608438b1882756feca94a6ebdd0d6a3 (PR #11537 ).
2021-06-17 20:29:43 -07:00
Misty De Meo
3cf5c3239f
Merge pull request #11544 from mistydemeo/fix_tests
...
Fix a pair of tests on Apple silicon
2021-06-16 03:15:06 -07:00
Misty De Meo
93ea8b6350
Analytics spec: avoid ARM-specific strings
2021-06-15 20:35:21 -07:00
Caleb Xu
318175cfe2
Utils: add shortened_brew_path
2021-06-15 09:58:46 -04:00
Mike McQuaid
b914411ac8
Delete Bintray code
...
Remove all code related to Bintray. It no longer works so there's no
point keeping it around.
Some of this could arguably be deprecated/disabled first/instead but:
I'm not sure I see the sense in keeping stuff around that's known to be
broken.
2021-05-12 13:37:18 +01:00
David Xia
7920006020
fix: use recommended way of updating Fish shell $PATH
...
fixes https://github.com/Homebrew/brew/issues/8965
See Fish docs https://fishshell.com/docs/current/tutorial.html#path .
> A faster way is to use the `fish_add_path function`... The advantage is that
> you don't have to go mucking around in files: just run this once at the
> command line, and it will affect the current session and all future instances
> too.
>
> Or you can modify `$fish_user_paths` yourself, but you should be careful not
> to append to it unconditionally in config.fish, or it will grow longer and
> longer.
2021-05-08 21:19:19 -07:00
John Bampton
1691e615fe
Fix spelling
2021-05-08 11:20:01 +10:00
Bo Anderson
20d86c0185
Refactor some tag handling into a Utils::Bottles::Tag class
2021-04-08 17:23:57 +01:00
hyuraku
178ae750b9
utils/github: set default args to search_code
2021-02-26 21:31:30 +09:00
Kenneth Chew
edead95768
utils/spdx: correctly detect non-deprecated licenses with plus
2021-02-23 16:28:24 -05:00
Issy Long
e1ad07190e
rubocop: Fix RSpec/ContextWording
offenses
...
- For some of these I changed `context` to `describe` as it fit better
rather than contriving a "when", "with" or "without", or massively
restructuring the tests.
2021-02-19 23:30:41 +00:00
nandahkrishna
24bb6040a7
dev-cmd/bump: add cask support
2021-02-17 00:42:07 +05:30
Bo Anderson
f5c075d668
test/utils/git_spec: fix cherry pick test with older git
2021-02-10 17:36:46 +00:00
nandahkrishna
0474fe6093
dev-cmd/update-maintainers: add tests
2021-02-08 23:33:25 +05:30
Mike McQuaid
e65e310fd0
Fix brew style
2021-01-29 20:56:59 +00:00
EricFromCanada
a427de5bee
capitalization fixes
...
"curl" is the binary, while "cURL" is the umbrella project.
2021-01-26 15:36:44 -05:00
nandahkrishna
e2ddf9894a
Refactor brew bump
2021-01-24 19:10:46 +05:30
Seeker
bd25e7da2a
utils/git_repository: add ::git_branch and ::git_commit_message
2021-01-20 17:34:54 -08:00
Seeker
64c2b21c2f
git_repository_spec: group together shared examples
2021-01-19 12:32:20 -08:00
Michka Popoff
3eea1434cc
bottle: tag specific cellars
2021-01-19 10:14:25 +01:00
Seeker
9bf409111c
git_repository: raise error instead of returning nil if safe
2021-01-17 09:01:04 -08:00
Seeker
4f02c1c8a8
utils/git_repository: use Pathname.pwd
if no repo
specified
2021-01-13 13:02:37 -08:00
Misty De Meo
847897fdac
Popen spec: ensure Rubocop is happy
...
These were introduced in #10305 but only started going red
after that PR was merged.
2021-01-13 11:21:10 -08:00
Seeker
be6dd72c16
Merge pull request #10305 from SeekingMeaning/safe-popen-tests
...
utils/popen: add `safe` argument to `popen_read` and `popen_write`
2021-01-13 10:51:46 -08:00
Seeker
82901036f9
Merge pull request #10298 from SeekingMeaning/ast
...
utils/ast: move helper functions from `FormulaAST` to `AST`
2021-01-12 22:32:23 -08:00
Seeker
99a7e2192c
Merge pull request #10296 from SeekingMeaning/utils-named-subject
...
test/utils/*: use `described_class` or named `subject`
2021-01-12 13:38:55 -08:00
Seeker
40d85ecb40
popen_spec: add tests for safe_popen_read
and safe_popen_write
2021-01-12 09:56:05 -08:00
Seeker
14b4916dda
utils/ast: move helper functions from FormulaAST
to AST
2021-01-11 20:35:14 -08:00
Seeker
022bcbb269
test/utils/*: use described_class
or named subject
2021-01-11 12:31:39 -08:00
Seeker
2ebfb4221c
utils/ast: add FormulaAST
class
2021-01-10 09:25:46 -08:00
Mike McQuaid
57eaae6146
Merge pull request #10248 from MikeMcQuaid/analytics-tweaks
...
Improve submitted analytics data
2021-01-08 10:01:19 +00:00
Seeker
41e0619de8
utils: add git_repository
2021-01-07 11:45:11 -08:00
Mike McQuaid
8af4895479
Improve submitted analytics data
...
- Use default `custom-prefix` label on macOS ARM (as `/usr/local` is
not the default).
- Add architecture (or Rosetta) to analytics event label.
- Don't send minor versions on Big Sur.
- Remove defunct `HOMEBREW_OSX_VERSION` reference.
2021-01-07 09:28:40 +00:00
Seeker
8828b4bd68
utils/ast: add stanza_text
helper function
2021-01-03 22:26:19 -08:00
Seeker
24636d8bea
utils/ast: cleanup
...
- move `add_bottle_stanza!` from `Utils::Bottles` to `Utils::AST`
- add `replace_bottle_stanza!`
- simplify parameters
2020-12-29 03:40:39 -08:00
Seeker
aaf7bc2bc5
utils: add AST helper functions for editing formulae
2020-12-22 22:05:23 -08:00
Seeker
cdb07d89ae
integration_test: fix indentation for test formulae
2020-12-21 16:17:39 -08:00
Sam Ford
27b7713f1e
Expand tests for Curl#curl_args
2020-12-19 18:13:15 -05:00
Seeker
b8aa67be5b
bottle: add bottle stanza by traversing AST
2020-12-10 13:38:57 -08:00
Jonathan Chang
8b206dfa33
git_extensions: move commit_message from utils/git
2020-12-06 14:33:23 +11:00
Rylan Polster
22a3025f6e
utils/pypi: return nil for non-pypi-packages from url
2020-12-03 15:00:30 -05:00
Rylan Polster
4bfb390577
utils/pypi: make package name comparison case-insensitive
2020-12-01 01:19:33 +01:00
Rylan Polster
b2e25d12aa
utils/pypi: refactor package handling
2020-11-24 15:40:15 -05:00
Michka Popoff
1fc3d22ab4
pr-pull: allow to pull from multiple workflows
...
and allow to skip missing workflows
Can be used like this:
brew pr-pull --workflows=tests.yml,wheezy_tests.yml --ignore-missing-artifacts=wheezy_tests.yml PRNUMBER
2020-11-24 15:46:44 +01:00
Markus Reiter
f87c9c5dc4
Fix tests failing locally.
2020-11-18 05:54:42 +01:00