Skip to content

Commit a660751

Browse files
authored
Merge pull request #20701 from Homebrew/contributions_force
dev-cmd/contributions: remove --force flag.
2 parents 4dae999 + fd5b840 commit a660751

File tree

6 files changed

+1
-13
lines changed

6 files changed

+1
-13
lines changed

Library/Homebrew/dev-cmd/contributions.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ class Contributions < AbstractCommand
5252
description: "Date (ISO 8601 format) to stop searching contributions."
5353
switch "--csv",
5454
description: "Print a CSV of contributions across repositories over the time period."
55-
switch "--force",
56-
description: "Force the installation of missing taps."
5755
conflicts "--organisation", "--repositories"
5856
conflicts "--organisation", "--team"
5957
conflicts "--user", "--team"
@@ -236,7 +234,7 @@ def scan_repositories(organisation, repositories, person, from:, to:)
236234
repository_path, tap = repository_path_and_tap(repository)
237235
if repository_path && tap && !repository_path.exist?
238236
opoo "Repository #{repository} not yet tapped! Tapping it now..."
239-
tap.install(force: args.force?)
237+
tap.install(force: true)
240238
end
241239

242240
repository_full_name = tap&.full_name

completions/bash/brew

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,6 @@ _brew_contributions() {
816816
__brewcomp "
817817
--csv
818818
--debug
819-
--force
820819
--from
821820
--help
822821
--organisation

completions/fish/brew.fish

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,6 @@ __fish_brew_complete_arg 'config' -l verbose -d 'Make some output more verbose'
600600
__fish_brew_complete_cmd 'contributions' 'Summarise contributions to Homebrew repositories'
601601
__fish_brew_complete_arg 'contributions' -l csv -d 'Print a CSV of contributions across repositories over the time period'
602602
__fish_brew_complete_arg 'contributions' -l debug -d 'Display any debugging information'
603-
__fish_brew_complete_arg 'contributions' -l force -d 'Force the installation of missing taps'
604603
__fish_brew_complete_arg 'contributions' -l from -d 'Date (ISO 8601 format) to start searching contributions. Omitting this flag searches the past year'
605604
__fish_brew_complete_arg 'contributions' -l help -d 'Show this message'
606605
__fish_brew_complete_arg 'contributions' -l organisation -d 'Specify the organisation to populate sources repositories from. Omitting this flag searches the Homebrew primary repositories'

completions/zsh/_brew

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,6 @@ _brew_contributions() {
767767
_arguments \
768768
'--csv[Print a CSV of contributions across repositories over the time period]' \
769769
'--debug[Display any debugging information]' \
770-
'--force[Force the installation of missing taps]' \
771770
'--from[Date (ISO 8601 format) to start searching contributions. Omitting this flag searches the past year]' \
772771
'--help[Show this message]' \
773772
'(--repositories --team)--organisation[Specify the organisation to populate sources repositories from. Omitting this flag searches the Homebrew primary repositories]' \

docs/Manpage.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2444,10 +2444,6 @@ Summarise contributions to Homebrew repositories.
24442444

24452445
: Print a CSV of contributions across repositories over the time period.
24462446

2447-
`--force`
2448-
2449-
: Force the installation of missing taps.
2450-
24512447
### `create` \[*`options`*\] *`URL`*
24522448

24532449
Generate a formula or, with `--cask`, a cask for the downloadable file at

manpages/brew.1

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,9 +1531,6 @@ Date (ISO 8601 format) to stop searching contributions\.
15311531
.TP
15321532
\fB\-\-csv\fP
15331533
Print a CSV of contributions across repositories over the time period\.
1534-
.TP
1535-
\fB\-\-force\fP
1536-
Force the installation of missing taps\.
15371534
.SS "\fBcreate\fP \fR[\fIoptions\fP] \fIURL\fP"
15381535
Generate a formula or, with \fB\-\-cask\fP, a cask for the downloadable file at \fIURL\fP and open it in the editor\. Homebrew will attempt to automatically derive the formula name and version, but if it fails, you\[u2019]ll have to make your own template\. The \fBwget\fP formula serves as a simple example\. For the complete API, see:
15391536
.UR https://rubydoc\.brew\.sh/Formula

0 commit comments

Comments
 (0)