Commit Graph
1331 Commits
Author SHA1 Message Date
Baffour Adu Boampong ea2f4087fe Add livecheck version and duplicate pr check 2020-07-02 17:06:39 +00:00
Elizabeth Tackett 732c6efa19 remove extraneous files 2020-07-01 10:21:57 -05:00
Baffour Adu Boampong 3265650279 Update Repology parser and bump command 2020-07-01 02:50:21 +00:00
Baffour Adu Boampong 4105df0c3f Merge branch 'mlh-outdated-packages' of github.com:MLH-Fellowship/brew into mlh-outdated-packages 2020-06-30 15:11:18 +00:00
Baffour Adu Boampong 7a9fbfb6d3 setup and test command 2020-06-30 15:11:11 +00:00
Elizabeth Tackett d557ca80bc fix brew style violations 2020-06-30 09:57:51 -05:00
Elizabeth Tackett 9a94bb2543 skeleton code bump dev-cmd file 2020-06-30 09:57:50 -05:00
Elizabeth Tackett 24bb79c2ab initialize bump.rb file 2020-06-30 09:57:50 -05:00
Pranas Ziaukas 455633f7d2 Throttle balena-cli version bumps
Discussion in Homebrew/homebrew-core#57082
2020-06-30 12:12:34 +03:00
Elizabeth Tackett 14d63f61a5 fix brew style violations 2020-06-29 10:16:58 -05:00
Elizabeth Tackett d67aea7f43 skeleton code bump dev-cmd file 2020-06-29 09:47:19 -05:00
Elizabeth Tackett f060009424 initialize bump.rb file 2020-06-29 09:37:50 -05:00
Mike McQuaidandGitHub 61b4e7c414 Merge pull request #7745 from dtrodrigues/bump-pr-dupes
bump-formula-pr: search for closed dupe PRs
2020-06-29 08:39:30 +01:00
Dustin Rodrigues f684a59fa5 bump-formula-pr: search for closed dupe PRs 2020-06-27 12:50:43 -04:00
Mike McQuaidandGitHub 58de51f2ce Merge pull request #7837 from FTLam11/7392-migrate-audit-rules-to-rubocop
audit: Move patch checks from brew audit to rubocop
2020-06-27 13:11:51 +01:00
Frank Lam b2eafdf11d Remove patch checks from audit 2020-06-27 02:37:57 +08:00
Eric KnibbeandGitHub db998860f1 Merge pull request #7831 from EricFromCanada/fix-help-output
docs: fixes for help output
2020-06-25 13:08:48 -04:00
Dario Vladovic 519c339261 create: add --crystal option 2020-06-25 18:23:06 +02:00
EricFromCanada 910c85f782 docs: improve commands' help output 2020-06-25 12:01:52 -04:00
Jonathan Chang 2b990aa53c pr-pull: pass verbose and debug to subcommands 2020-06-22 00:25:57 +10:00
Jonathan Chang 17c20c0e11 pr-pull: dupe logic moved to mirror and pr-upload 2020-06-21 19:55:10 +10:00
Mike McQuaidandGitHub 6049227c0a Merge pull request #7771 from alebcay/extract-typo
extract: fix typo
2020-06-19 20:00:42 +01:00
Caleb Xu 2e6b8d65b3 extract: fix typo 2020-06-18 11:19:04 -04:00
Caleb Xu a53c92bd7f Cache commands list for faster shell completions 2020-06-18 11:06:31 -04:00
Issy LongandGitHub 2608755ac5 Merge pull request #7709 from dawidd6/auto-mirroring
bintray: automatically run brew mirror if needed
2020-06-17 20:09:30 +01:00
Dawid Dziurla 3b0359706f bintray: automatically run brew mirror if needed 2020-06-13 12:55:03 +02:00
Issy Long 7ad7834b15 audit: Supress pre-release audits for known pre-release formulae
- This safelists one formula that has only ever shipped pre-releases,
  from before we had the GitHub pre-release audit. So it won't fail CI
  and cause maintainers more work to determine if it's always been that
  way, or if it's new. Then, we don't have to keep comments at the top
  of files to say so for the next contributors.
- We should check this list from time to time to make sure that the
  formulae here have graduated to actual releases and we can remove
  them.
2020-06-12 15:59:30 +01: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 McQuaidandGitHub ae7e58ef78 Merge pull request #7488 from danielbayley/master
cat: Allow 'bat' to find existing configuration
2020-06-12 10:45:11 +01:00
Jonathan ChangandGitHub b99bfe1b8c Merge pull request #7717 from jonchang/preserve-trailers
pr-pull: preserve trailers when signing off commit
2020-06-10 21:15:56 +10:00
Jonathan Chang ee9c335b51 pr-pull: preserve trailers when signing off commit 2020-06-10 19:27:05 +10:00
Mike McQuaid 0dd004f53d dev-cmd/audit: handle nil newest_committed_revision.
Fixes #7712.
2020-06-10 08:39:41 +01:00
Mike McQuaid 2a94d382ac audit: make audit_revision_and_version_scheme faster.
This is really, really slow at the moment for a few reasons:
- it goes through the list of revisions twice
- it checks many more revisions than it needs to

Even after these improvements it's still by far the slowest audit so
am also making it a `--git` only audit.

Additionally, to further improve default `brew audit` performance do not
run `brew style` checks when doing `brew audit` with no arguments.

`brew style` can be run quickly and efficiently on all of a tap (and is
cached) so no need to duplicate it here.
2020-06-08 15:00:09 +01:00
Issy Long 8eba9b86ab Change occurrences of "blacklist" to "denylist" or "disallow"
- Depending on context, I've gone for either "denylist" or "disallow"
  here. "Disallow" for things in sentences, or actions, and "denylist"
  for list of things.
2020-06-06 22:38:33 +01:00
Issy Long 0041ea21f5 Change occurrences of "whitelist" to "allowlist" 2020-06-06 22:38:32 +01:00
Mike McQuaid 80c1a166b1 dev-cmd/pull: deprecate.
We no longer use this and `hub checkout` does what we want better.
2020-06-05 08:53:03 +01:00
Thierry Moisan 7a285cf476 Fix audit online release variable 2020-06-04 09:09:12 -04:00
Mike McQuaid 8b24d8c5e9 dev-cmd/audit: don't check GitHub releases without --online.
This both is more accurate and making `brew audit` without `--online` a
bit faster.
2020-06-03 17:50:57 +01:00
Mike McQuaid aa81982aba brew style --fix 2020-06-02 09:49:23 +01:00
Bo Anderson f6de06d244 dev-cmd/audit: whitelist python@3.8 to be non-keg-only 2020-05-31 22:39:29 +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
Sean Molenaar 3567892802 Add notibility checks for casks 2020-05-26 14:21:25 +02:00
Issy Long d14eed6cec audit: Remove call to deprecated created_pr_comment method
```
➜ brew audit --online --new-formula --verbose turbogit
turbogit:
  * GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)
  * GitHub repository too new (<30 days old)
Error: undefined local variable or method `created_pr_comment' for Homebrew:Module
/usr/local/Homebrew/Library/Homebrew/dev-cmd/audit.rb:148:in `audit'
/usr/local/Homebrew/Library/Homebrew/brew.rb:110:in `<main>'
```

- This was removed in 4f75a77b08. We can't
  post PR comments from GitHub Actions CI from forks.
2020-05-25 13:00:38 +01:00
Issy Long 0cced8e7bd audit: Fix Regexp for stripping .git from repo URLs
- [For a formula named
  turbogit](https://github.com/Homebrew/homebrew-core/pull/55208), we
  didn't see any of the notability checks fail CI.
- The repo name was getting truncated to `turb`, which didn't exist, so
  the audit didn't return anything for this check.
- The Regexp to strip `.git` from the end of was not escaping the `.`,
  so it would match anything ending in `git`, not a literal `.git`.
2020-05-25 12:48:16 +01:00
Mike McQuaid ef95b59ed4 Remove HomebrewArgvExtension
Fixes #5730
2020-05-23 19:39:11 +01:00
Mike McQuaidandGitHub e1f3c8d2b3 Merge pull request #7579 from MikeMcQuaid/deprecations
Update deprecations
2020-05-23 14:38:10 +01:00
Zhiming Wang 83fa24741e bump-formula-pr: fix forking error when formula is guessed from url
Regression introduced in f90612ccf0 (#6718).

`tap_full_name` returned from `use_correct_linux_tap` has been
required (`GitHub.create_fork(tap_full_name)`), but it was never set when the
formula is guessed from args.url, resulting in an API request to
https://api.github.com/repos//forks which 404s (note the missing :owner/:repo),
and subsequently

    Error: Unable to fork: Not Found!
2020-05-23 14:20:35 +08:00
Mike McQuaid ca47992a6c Fix rubocop-performance brew style. 2020-05-22 08:52:26 +01:00
Mathäus Zingerle bb9665ced8 Migrate scheme checks for cvs, bzr, hg, fossil, and svn+http to Rubocop 2020-05-20 20:52:00 -05:00
Daniel Bayley e477a38958 [WIP] cat: Allow 'bat' to find existing configuration file 2020-05-20 16:51:36 +01:00