Nanda H Krishna
beed30f359
tap-new: fix invalid tap name message
2021-04-13 02:43:38 +05:30
Nanda H Krishna
f648b071ad
dev-cmd/tap-new: use Utils::Git.setup_gpg!
2021-04-02 17:21:26 +05:30
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
EricFromCanada
2e982cd2a2
use odie when commands encounter errors
2021-01-26 15:36:43 -05:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner
2021-01-18 21:20:11 -05:00
Rylan Polster
84af07f152
Merge pull request #10288 from Rylan12/refactor-named-args
...
Add named_args DSL for commands
2021-01-14 21:43:54 -05:00
Mike McQuaid
591e9d6a52
dev-cmd/tap-new: fix output on newer versions of Git.
...
Otherwise this prints to `stderr` to ask for configuration of the branch
name:
https://github.com/Homebrew/brew/pull/10323/checks?check_run_id=1701105141#step:5:51
2021-01-14 10:47:44 +00:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
EricFromCanada
f784b7107f
manpage: fixes for grammar
2020-11-16 07:56:50 -05:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Rylan Polster
6dec175574
tap-new: don't need to checkout default branch
2020-10-15 16:56:53 -04:00
Rylan Polster
64d135d0a7
tap-new: add option for branch name
2020-10-15 15:00:35 -04:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Dawid Dziurla
843dffea78
tap-new: enable bottles publishing
...
to GitHub Releases
2020-10-02 13:49:24 +02:00
Mike McQuaid
d2fc08d942
GitHub Actions cleanup
...
- Add consistent spacing
- Remove `pull_request: []` warning
- remove identical, implicit `name` usage
- use `actions/cache@v1` for compatibility
2020-08-13 14:54:22 +01:00
Issy Long
2cf655fe98
Merge pull request #8304 from PurpleBooth/fix-warning
...
Correct warning
2020-08-11 20:15:08 +01:00
Billie Thompson
705f26734a
Correct warning
...
Currently, if you open up a action generated by the tap-new command in
the github GUI, you get a warning saying "pull_requests should be an
object". This fixes that.
This wasn't stopping anything working currently, though I suppose it may
in the future.
Co-authored-by: Issy Long <me@issyl0.co.uk>
2020-08-11 20:03:30 +02:00
Billie Thompson
b5c98090d0
Add missing id
...
This will always fail until the cache step can refer to setup step
2020-08-10 20:52:47 +02:00
Mike McQuaid
3e4da13934
Cleanup more GitHub Actions usage
...
Increase consistency between workflows, use more of our actions and
`@main`.
2020-08-06 19:35:39 +01:00
Mike McQuaid
b0d26b0dcf
workflows/tests: use setup-homebrew GitHub Action.
...
This allows more code reuse.
2020-08-06 10:55:18 +01:00
Mike McQuaid
acfdbce6d4
tap-new: update GitHub Actions.
...
This should be using the split options for a better user experience
and can use both Linux and macOS now.
2020-08-04 11:57:39 +01:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
Mike McQuaid
f94a38e4b1
tap-new: restrict new tap names.
...
Don't want to restrict this for all taps otherwise existing ones may
explode.
Fixes #7734
2020-06-12 11:42:40 +01:00
Mike McQuaid
9a654897d4
manpage: no longer mention installing from a URL.
...
This is deprecated in #7660 .
2020-05-29 17:04:42 +01:00
Mike McQuaid
e3ac94fc5d
dev-cmd: use more and cleanup new args APIs.
2020-03-05 09:40:15 +00:00
Issy Long
b3abf3d7c9
dev-cmd/tap-new: Set up GitHub Actions CI instead of Azure
...
- We recently removed Azure as a supported CI provider
(Homebrew/homebrew-test-bot PR 325), so `brew test-bot` won't run on
Azure any more.
- Homebrew CI is moving towards GitHub Actions as the standard.
2020-02-15 17:39:33 +00:00
EricFromCanada
aea6d79d21
option parser: check for extra named args
2019-12-15 00:04:45 -05:00
EricFromCanada
2f7c3afeb8
cmd: improve wording of messages, spacing
2019-12-15 00:04:45 -05:00
Abi أب
990d45881f
Use Xcode_10.2.1
...
`brew doctor` will return exit code 1 if using Xcode_10.2
```==> brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Your Xcode (10.2) is outdated.
Please update to Xcode 10.2.1 (or delete it).
Xcode can be updated from the App Store.
==> FAILED
```
2019-10-28 23:59:01 +01:00
L. E. Segovia
9050d0a7b1
Use Xcode 10.2 for new taps too
...
See https://github.com/Homebrew/brew/pull/6083
2019-05-09 23:59:43 +00:00
Steven Peters
d6bd271986
dev-cmd/tap-new: azure script to use 10.14
2019-05-09 20:03:31 +00:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
e40b171127
Rename cli_parser to cli/parser.
2019-04-17 22:16:50 +09:00
Mike McQuaid
3615f891f7
tap-new: improve output.
...
Note the tap path.
References #5901 .
2019-03-23 12:41:35 +00:00
Jonathan Chang
cc9479772f
tap-new: use real repo name
2019-03-14 23:51:09 +11:00
Mike McQuaid
bbea109926
dev-cmd: remove --help headers and tweak docs.
2019-01-30 21:39:28 +00:00
Mike McQuaid
382e0ed7b4
azure-pipelines-yml: early exit on errors.
...
We don't want to silently ignore failing commands.
Also, while we're editing the `tap-new` generated `azure-pipelines.yml`
also add the changes missed here from #5600 .
2019-01-24 20:45:00 +00:00
Mike McQuaid
61fa59e95b
Remove Travis CI specific code
...
We’re no longer using this for our CI so this is no longer necessary.
Also, migrate `brew tap-new` to use Azure pipelines.
2018-12-30 21:13:24 +00:00
EricFromCanada
388781f6a7
dev-cmd/: remove colons from command specs.
...
These aren't needed when converting Parser-based help text to man page or Markdown formats.
Includes regenerated docs.
2018-10-19 13:12:55 -04:00
EricFromCanada
ddf057f3dd
dev-cmd/: edit help text and descriptions.
2018-10-19 13:12:11 -04:00
Gautham Goli
7b0f27ca39
style: Fix style errors
2018-10-03 19:49:46 +05:30
Gautham Goli
446b1cb9e3
man: Seperate global options into a section
2018-10-03 19:49:45 +05:30
Gautham Goli
e0e876cf37
man: Make command heading H3
2018-10-03 19:49:44 +05:30
Gautham Goli
4f58f2db99
man: Generate dev cmd manpages
2018-10-03 19:49:41 +05:30
Gautham Goli
b6c456b681
Extract out arg parsing method to <cmd>_args method
2018-10-03 19:19:04 +05:30
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Shaun Jackman
f6093961ef
Add Homebrew::DEFAULT_PREFIX for Linux
...
The default prefix is /usr/local on macOS
and /home/linuxbrew/.linuxbrew on Linux.
2018-09-11 09:57:08 -07:00
Markus Reiter
7762ce32aa
Use more descriptive heredoc names.
2018-07-11 18:15:30 +02:00
Gautham Goli
d22b750e17
Store common switch as Homebrew.args
global var
2018-04-10 00:00:35 +05:30
Mike McQuaid
9fca172d03
Fix HOMEBREW_RUBY_WARNINGS="-w"
...
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00