2052 Commits

Author SHA1 Message Date
Mike McQuaid
20ff74a7a7
Merge pull request #10134 from MikeMcQuaid/unbottled-tweaks
dev-cmd/unbottled: improve output.
2020-12-28 13:44:17 +00:00
Mike McQuaid
dc52ff620b
Merge pull request #10031 from hyuraku/only_path_formula_or_cask
add function to define path
2020-12-28 13:22:22 +00:00
Mike McQuaid
6e2da862b7
Merge pull request #10109 from SeekingMeaning/bump-cask-pr-ignore
bump-cask-pr: ignore closed duplicate PRs
2020-12-28 13:19:49 +00:00
Mike McQuaid
d20b946cfe
dev-cmd/unbottled: improve output.
Handle a few more edge cases:
- improve the unbottled output heading so it makes sense when we're
  outputting bottles that are ready to bottle
- output already bottled formulae if named
- handle Linux/Mac requiring formulae and output if named
- output bottle unneeded/disabled formulae if named
- use green/yellow/red for bottles ready to be built now/later/never
2020-12-28 11:36:12 +00:00
Rylan Polster
97f8d09519 release-notes: only show blog link when previous_tag passed 2020-12-25 13:52:36 -05:00
Seeker
9acbc6c3f4 bump-cask-pr: ignore closed duplicate PRs 2020-12-24 09:25:38 -08:00
FX Coudert
e69a54d0d8
Merge pull request #10110 from fxcoudert/unbottled
unbottled: improve output
2020-12-24 13:54:15 +01:00
Michka Popoff
a704abc6dc bottle --merge: check for all cellars 2020-12-24 12:12:23 +01:00
Seeker
4f2b74a149 bottle: fix --merge test failure 2020-12-24 10:45:20 +01:00
Seeker
1ea8b82a54 bottle: add merge_bottle_spec helper function 2020-12-24 10:45:20 +01:00
Rylan Polster
76c69b7bb3 release-notes: add message directing users to the blog. 2020-12-23 11:17:51 -05:00
Francois-Xavier Coudert
93cfc27660 unbottled: improve output 2020-12-23 14:45:11 +01:00
Seeker
4520c05957 bump-revision: use Utils::AST 2020-12-22 22:05:23 -08:00
hyuraku
ffc5c3206e
repair message 2020-12-19 22:59:27 -05:00
hyuraku
9f7e471382
livecheck: raise error if no watchlist 2020-12-19 22:59:26 -05:00
Sam Ford
e604cf742b
dev-cmd/livecheck: use safe navigation on #sort_by 2020-12-19 22:59:26 -05:00
Markus Reiter
3db55d13d6 Improve handling of SIGINT. 2020-12-18 16:48:49 +01:00
EricFromCanada
69255d268d pr-pull: disable --workflow flag
Replaced by --workflows.
2020-12-18 10:09:23 -05:00
Mike McQuaid
74fb058c7e
More deprecations
More deprecations, disabling and removal for Homebrew 2.7.0.
2020-12-18 14:17:37 +00:00
Mike McQuaid
0bbf965807
More bottling HOMEBREW_LIBRARY changes
- Refuse to create bottles which have non-relocatable references to
  `HOMEBREW_LIBRARY`. This allows us to make all bottles ignore where
  `HOMEBREW_REPOSITORY` is (even those that aren't `cellar :any`).
  I cannot see any circumstances in which any bottle should link to
  anything within `HOMEBREW_REPOSITORY`.
- Remove audit that becomes unnecessary given the above change.
- Relocate references to `@HOMEBREW_LIBRARY@` but don't actually write
  any references yet. This will allow us to move to using
  `@HOMEBREW_LIBRARY` and remove all relocation of `HOMEBREW_REPOSITORY`
  in a future release (2.7.1, most likely).
2020-12-18 13:50:10 +00:00
Mike McQuaid
010ae37420
Merge pull request #9403 from MikeMcQuaid/deprecate-cask-requirements
Deprecate cask requirements.
2020-12-18 12:15:35 +00:00
hyuraku
0a97cd18a5 set default args 2020-12-17 21:14:18 +09:00
Jonathan Chang
09c3058618 Remove basic authentication support for GitHub.
Since we (and GitHub) no longer support password authentication
using non-token passwords, always set the Authorization header,
rather than needlessly checking for a (possibly incorrect) username.
2020-12-17 23:09:22 +11:00
hyuraku
7be216fcbe change function name 2020-12-17 21:07:43 +09:00
hyuraku
d7f9bb6247 add function to define path 2020-12-17 21:07:43 +09:00
Markus Reiter
632c9be369
Merge pull request #9533 from hyuraku/style-add-two-options
style: add two options
2020-12-17 11:31:16 +01:00
EricFromCanada
c2ce486d3a create: allow creating casks in a specified tap 2020-12-16 20:52:05 -05:00
Alexander Bayandin
3e53d5ba70
Merge pull request #10028 from bayandin/do-not-automerge-draft-prs
dev-cmd/pr-automerge: exclude draft PRs
2020-12-15 16:01:56 +00:00
Markus Reiter
d81e9009e1
Merge pull request #9541 from reitermarkus/audit-livecheck
Add audit for `livecheck` in casks.
2020-12-15 16:19:06 +01:00
Alexander Bayandin
5607e4a947 dev-cmd/pr-automerge: exclude draft PR 2020-12-15 14:24:31 +00:00
Mike McQuaid
87dd13aea6
Deprecate cask requirements.
This probably has to wait until 2.7.0 now and will require a bunch of
formula changes/deprecations but we should probably start moving in this
direction given we're not installing any of these on our CI any more.
2020-12-15 14:19:45 +00:00
Markus Reiter
dc2006d5ff
Merge pull request #9429 from hyuraku/repair-brew-edit-error-message
add path name to brew edit error message
2020-12-14 17:14:00 +01:00
Markus Reiter
f711352cfd Add audit for livecheck in casks. 2020-12-14 15:44:35 +01:00
Markus Reiter
7331a9ba51
Merge pull request #9539 from reitermarkus/bump-unversioned-casks
Also cache failed version bump attempts.
2020-12-14 15:21:44 +01:00
Mike McQuaid
1a52862e6d
Merge pull request #9424 from EricFromCanada/flag-replacement
pr-pull: prepare replacement for --workflow flag
2020-12-14 12:44:26 +00:00
Markus Reiter
01cd373c34 Also cache failed version bump attempts. 2020-12-14 13:02:52 +01:00
hyuraku
4f0b7255ac style: add two options 2020-12-13 23:05:08 +09:00
Markus Reiter
3e63acad67 Mention type checking documentation when brew typecheck fails. 2020-12-13 03:46:35 +01:00
Sam Ford
15a868c5e6
dev-cmd/livecheck: respect --cask and --formula
When running `brew livecheck --cask` or `brew livecheck --formula`,
livecheck wasn't properly respecting these flags. It should have
worked by only including the casks or formulae in the watchlist but
instead these flags were treating all the names in the watchlist as
formulae or casks, which doesn't work properly.

This addresses the issue by always using `#to_formulae_and_casks`
on the watchlist names and then using `#reject` to conditionally
exclude formulae or casks based on whether the related flags were
passed to `brew livecheck`.
2020-12-12 17:43:26 -05:00
Sam Ford
7b14f7446d
dev-cmd/livecheck: format usage_banner 2020-12-12 17:43:25 -05:00
Markus Reiter
f35829dd37
Load formulae/casks from tap files. 2020-12-12 17:43:24 -05:00
Markus Reiter
00e219caf9
Fix type error. 2020-12-12 17:43:24 -05:00
Markus Reiter
af56a99a37
Use symbol for respond_to?. 2020-12-12 17:43:24 -05:00
Markus Reiter
3b366d05b9
Fix code style. 2020-12-12 17:43:23 -05:00
Seeker
90067ea8ed
Add --formula/--formulae and --cask/--casks 2020-12-12 17:43:23 -05:00
Seeker
a7b36ee9ea
Update help text 2020-12-12 17:43:23 -05:00
Seeker
f06f83ca69
Rename livecheck_formulae_and_casks to run_checks 2020-12-12 17:43:23 -05:00
Seeker
e40bc65414
Sort formulae_and_casks_to_check in Livecheck#livecheck 2020-12-12 17:43:22 -05:00
Seeker
4b87da4da9
Initial small fixes
- Skip blank lines in watchlist
- Initialize Livecheck#version as nil
- Simplify livecheck_version logic
- Make test a bit more understandable
2020-12-12 17:43:22 -05:00
Seeker
6794a78087
livecheck: add support for casks 2020-12-12 17:43:21 -05:00