1942 Commits

Author SHA1 Message Date
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
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
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
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
Dawid Dziurla
d91e5358cb
pr-upload: tighten json_files glob 2020-12-12 22:59:28 +01:00
EricFromCanada
9dec442e71 pr-pull: prepare replacement for --workflow flag 2020-12-11 16:50:03 -05:00
Seeker
7a22fc2c3e
Merge pull request #9467 from SeekingMeaning/bump-cask-pr-stuff
Refactor `bump-cask-pr`.
2020-12-11 11:01:51 -08:00
Seeker
85373df30e
Merge pull request #9095 from SeekingMeaning/bottle-ast
bottle: add bottle stanza by traversing AST
2020-12-11 09:05:14 -08:00
Markus Reiter
a428aa6617 Wrap guess_cask_version with timeout. 2020-12-11 02:48:12 +01:00
Seeker
b13be5e989 bump-cask-pr: don't add checksum when versioned and has :no_check 2020-12-10 14:53:05 -08:00
Seeker
d291b3c185 Refactor bump-cask-pr.
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-12-10 14:17:10 -08:00
Seeker
b8aa67be5b bottle: add bottle stanza by traversing AST 2020-12-10 13:38:57 -08:00
EricFromCanada
59cfef6db0 bump-formula-pr: handle additional edge cases 2020-12-09 10:21:36 -05:00
Mike McQuaid
8bf6ec5739
Merge pull request #9464 from MikeMcQuaid/arch_version_handling
MacOS::Version architecture handling
2020-12-09 12:45:16 +00:00