817 Commits

Author SHA1 Message Date
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
Mike McQuaid
4176399537
Merge pull request #3851 from MikeMcQuaid/pry
irb: add pry support.
2018-02-28 14:25:16 +00:00
Mike McQuaid
2205f62ec6 irb: add pry support.
Make `brew irb` optionally support `pry`. While doing so, also make it a `dev-cmd`.
2018-02-28 11:36:23 +00:00
AndrewMcBurney
14256faa47 Added flag to flush_cache in LinkageChecker. Format ruby hash as JSON string before storing in dbm. 2018-02-27 13:05:19 -05:00
Mike McQuaid
e3be551244
Merge pull request #3847 from MikeMcQuaid/travis-caching
travis.yml: fix bundler caching.
2018-02-27 15:36:34 +00:00
Mike McQuaid
d4a3fc088f travis.yml: fix bundler caching. 2018-02-27 14:30:30 +00:00
Mike McQuaid
6302da37f6 Add prof and ruby commands.
These are imported from Homebrew/homebrew-dev-tools and are both used by
maintainers so may be useful for contributors too.
2018-02-27 12:07:30 +00:00
AndrewMcBurney
4bc6459ed7 Removed redundant documentation, use database_cache as a block, and use symbolic keys over string keys in function calls. 2018-02-25 12:14:11 -05:00
Mike McQuaid
f2ce6489b2 Use more docs.brew.sh short links
These are nicer on the eyes.
2018-02-22 19:46:58 +00:00
AndrewMcBurney
69b590012d Berkeley db cache optimization for brew linkage command. 2018-02-12 16:31:41 -05:00
William Woodruff
b4443e1cc0
Merge branch 'audit-deny-binary-looking-urls' 2018-02-07 11:20:19 -05:00
William Woodruff
3f43f60a2a
audit: Warn on new formulae containing binary URLs 2018-02-06 08:44:56 -05:00
Mike McQuaid
3ac2f81f3c
Merge pull request #3757 from EricFromCanada/master
docs: add more option descriptions
2018-02-05 10:31:57 +01:00
William Woodruff
7fffccba05
audit: Remove FILEUTILS_METHODS constant
This constant hasn't been used since there was an `audit_line`
method, and as such is vestigial.
2018-02-04 22:44:46 -05:00
EricFromCanada
91246c2553 docs: fix double backticks appearing in HTML manpage 2018-02-01 17:17:09 -05:00
EricFromCanada
1d2b4ed321 docs: add more missing option descriptions
and improve wording or formatting where necessary.
2018-02-01 16:06:17 -05:00
ilovezfs
ccbe4945ad bump-formula-pr: improve version formula component regex. 2018-01-28 08:12:12 -08:00
ilovezfs
98e48a9da7 bump-formula-pr: regex escape urls in replacements. 2018-01-28 08:12:12 -08:00
ilovezfs
edd1c76d40 bump-formula-pr: detect download strategy from url.
Previously, CurlDownloadStrategy was hard coded.
2018-01-28 08:12:12 -08:00
ilovezfs
6460a34e65 bump-formula-pr: add Debian mirror handling. 2018-01-28 08:12:12 -08:00
ilovezfs
e46fbdd18d bump-formula-pr: update GNU mirror handling.
homebrew/core now uses ftp.gnu.org/gnu for the primary url and
ftpmirror.gnu.org for the mirror.
2018-01-28 08:10:53 -08:00
ilovezfs
99bb068ca7 bump-formula-pr: improve formula name guessing. 2018-01-28 08:10:53 -08:00
Mike McQuaid
d1d4a667d1 tap-new: update based on Homebrew/brew travis.yml. 2018-01-26 21:47:33 +00:00
ilovezfs
5a3555eeee bump-formula-pr: only validate tar files. 2018-01-24 04:22:11 -08:00
ilovezfs
4a1a8b86ac bump-formula-pr: use "resource" not "rsrc" 2018-01-24 03:51:23 -08:00
Mike McQuaid
02e4cae3d0
Merge pull request #3676 from apjanke/make-apjanke-former-maintainer
README: update list of maintainers
2018-01-18 15:55:36 +00:00
Mike McQuaid
65695885b6 Update other Homebrew maintainers. 2018-01-18 15:45:51 +00:00
Mike McQuaid
edc6efd443
Merge pull request #3689 from sjackman/pull-json
publish_bottle_file_on_bintray: Use f.full_name
2018-01-18 15:30:03 +00:00