794 Commits

Author SHA1 Message Date
Maxim Belkin
40b0d0b584
Make release-notes command work from any location
* specify repository location using `-C` option
* change `newest` to `latest` when talking about the latest tagged
commit
2018-04-10 10:23:40 -05:00
Gautham Goli
a93e7ab2bd bottle: Use @args 2018-04-10 19:09:59 +05:30
Gautham Goli
e809f93c45 mirror: Add missing import for cli_parser 2018-04-10 18:54:12 +05:30
Shaun Jackman
df68d12be4 bottle: Add option --or-later
If --or-later is passed, append _or_later to the bottle tag.
2018-04-09 20:58:38 -07:00
Gautham Goli
d22b750e17 Store common switch as Homebrew.args global var 2018-04-10 00:00:35 +05:30
AndrewMcBurney
dcdd16237c Merge remote-tracking branch 'origin/master' into cache-optimization 2018-04-09 13:49:58 -04:00
Mike McQuaid
54a594ea23
Merge pull request #3870 from GauthamGoli/bump-formula-gh-api
bump-formula-pr: Replace `hub` with GH API calls
2018-04-08 16:02:51 -07:00
Mike McQuaid
010d593a8d
bump-formula-pr: sleep for fork creation. 2018-04-08 15:37:16 -07:00
Mike McQuaid
b584e24ad1
Merge pull request #4033 from MikeMcQuaid/audit-depend-if-build-with
audit (strict): check for build.with? dependencies.
2018-04-08 22:54:07 +01:00
Mike McQuaid
af9ddfe899
Merge pull request #4035 from MikeMcQuaid/ruby-warnings
Fix HOMEBREW_RUBY_WARNINGS="-w"
2018-04-08 22:51:25 +01:00
Mike McQuaid
544dc1b0d0 audit: check for build.with? dependencies.
These don't behave as expected; depending on when and where in Homebrew
(or even an installation process) these are evaluated they return
different results. This means that sometimes these will be seen as
dependencies and sometimes they will be ignored entirely by the DSL.

Instead `:optional` or `:recommended` dependencies should be used. We
don't have a solution yet for grouping dependencies together but this is
another case for removing more optional dependencies altogether (as
there are no designs or proposed implementations).
2018-04-07 20:41:25 +01:00
Mike McQuaid
9fca172d03 Fix HOMEBREW_RUBY_WARNINGS="-w"
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Tom Schoonjans
4cdee1b53d brew create: fix meson template 2018-04-01 11:24:50 +02:00
Gautham Goli
1e0f9fb835 bump-formula-pr: Replace hub with GH API calls to fork and open Pull request 2018-03-31 19:44:55 +05:30
Gautham Goli
8ef1fb30a0 Add :quiet, :verbose, :debug common switches to be specified 2018-03-29 03:20:14 +05:30
Mike McQuaid
d9e3ff6578
Merge pull request #3984 from GauthamGoli/update-test-args
update-test: Use Parser to parse args
2018-03-25 17:39:55 +01:00
Mike McQuaid
f04de219c8
Merge pull request #3975 from GauthamGoli/bottle-args
bottle: Use Parser to parse args
2018-03-25 17:39:25 +01:00
Gautham Goli
92263f51e9 update-test: Use Parser to parse args 2018-03-25 21:39:02 +05:30
Gautham Goli
74baf04ad3 pull: Use Parser to parse args 2018-03-25 21:14:03 +05:30
Gautham Goli
41a05b62fe bottle: Use Parser to parse args 2018-03-25 18:31:01 +05:30
Mike McQuaid
f37b0bc987
Merge pull request #3980 from GauthamGoli/arg-parser-refactor
cli_parser: Add class method to make options declaration more readable
2018-03-25 13:57:59 +01:00
Gautham Goli
ed387572ec cli_parser: Add class method to make options declaration more readable 2018-03-25 18:02:29 +05:30
Mike McQuaid
ae2dbdba52
Merge pull request #3978 from tschoonj/libepoxy-whitelist
Add libepoxy to gnome_devel_whitelist
2018-03-25 12:55:38 +01:00
Tom Schoonjans
2019c289cb Add libepoxy to gnome_devel_whitelist 2018-03-25 11:35:16 +01:00
Mike McQuaid
ceed7a64ba
Merge pull request #3976 from GauthamGoli/tests-args
tests: Use Parser to parse args
2018-03-25 10:02:40 +01:00
Mike McQuaid
ee39940196
Merge pull request #3971 from GauthamGoli/irb-args
irb: Use Parser to parse args
2018-03-25 10:01:47 +01:00
Gautham Goli
191e49511b tests: Use Parser to parse args 2018-03-25 13:48:24 +05:30
Gautham Goli
99438e8e44 Parser: Add env named argument for switch to check environment variables 2018-03-25 11:04:18 +05:30
Mike McQuaid
63da230425
Merge pull request #3972 from GauthamGoli/man-args
man: Use Parser to parse args
2018-03-24 17:17:42 +00:00
Gautham Goli
164f47a108 irb: Use Parser to parse args 2018-03-24 22:18:50 +05:30
Mike McQuaid
121780b417
Merge pull request #3970 from GauthamGoli/edit-args
edit: Use Parser to parse args
2018-03-24 16:21:10 +00:00
Gautham Goli
78b41b07f1 man: Use Parser to parse args 2018-03-24 21:26:16 +05:30
Gautham Goli
56fb2cb67c edit: Use Parser to parse args 2018-03-24 19:38:34 +05:30
Gautham Goli
93481ab491 release-notes: Use Parser to parse args 2018-03-24 19:21:10 +05:30
Mike McQuaid
8040c82e9e
Merge pull request #3610 from GauthamGoli/arg-parser
cli : Add basic arg parser and use it for parsing `brew audit` args
2018-03-21 08:56:38 +00:00
Mike McQuaid
d2c23bde6d Audit use of :run dependencies.
These are a no-op so let's remove them.
2018-03-19 10:11:08 +00:00
Mike McQuaid
b23f66982f Improve external command documentation
Extract `brew bundle` and `brew services` docs from their help. Add a
little for `brew cask` until we can think about e.g. merging the
manpages.
2018-03-15 16:25:14 +00:00
Mike McQuaid
cb6828dbe6
Merge pull request #3925 from maxim-belkin/git_remote_exists_bool
append ? to git_remote_exists
2018-03-15 08:20:14 +00:00
Maxim Belkin
c99cfd1591
add ? to svn_remote_exist 2018-03-14 16:55:45 -05:00
Maxim Belkin
f984701c29
append ? to git_remote_exist 2018-03-14 16:30:45 -05:00
AndrewMcBurney
bc76a8afcb Changed default behavior of brew linkage command to build cache instead of using cached output. Cached output may be printed with --cached flag. 2018-03-14 16:36:56 -04:00
Alyssa Ross
69b9c11ae8
Fix style in brew create-generated formulae
- Fix indentation oddities
- Add empty lines where we expect them in submitted formulae
2018-03-12 09:04:07 +00:00
Gautham Goli
5743f22209 cli : Implement Parser and use it for parsing audit command args 2018-03-09 02:44:50 +05:30
Mike McQuaid
42fc339ee6 test: correctly prune non-test dependencies. 2018-03-08 08:56:58 +00:00
AndrewMcBurney
831fcfa5dd Merge remote-tracking branch 'origin/master' into cache-optimization 2018-03-06 11:46:23 -05:00
Mike McQuaid
fea9bc1e42 Allow :test dependencies.
These specify that they are needed by the test block. This can be
combined with `:build` to ensure that this formula isn't uninstalled
by `brew test-bot` when running `test do` blocks on our CI.
2018-03-05 10:36:39 +00:00
Alyssa Ross
43c658a8fa
Merge pull request #3852 from sjackman/linkage_checker
Move linkage_checker from os/mac to generic
2018-03-01 17:24:34 +00:00
Shaun Jackman
97932c1abf Move linkage_checker from os/mac to generic 2018-02-28 11:18:27 -08:00
Steven Peters
db615a419a dev-cmd/ruby: fix path to dev-cmd/irb and add test 2018-02-28 09:31:29 -08:00
AndrewMcBurney
d7765dd223 Separated os/mac/cache_store.rb into cache_store.rb and os/mac/linkage_cache_store.rb. 2018-02-28 10:39:15 -05:00