A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/microsoft/PowerShellForGitHub/commit/2740026e64f2246d3b10bd3ccca197ea4ca3c9d8 below:

Reimagining status for the module (#253) · microsoft/PowerShellForGitHub@2740026 · GitHub

File tree Expand file treeCollapse file tree 6 files changed

+138

-482

lines changed

Filter options

Expand file treeCollapse file tree 6 files changed

+138

-482

lines changed Original file line number Diff line number Diff line change

@@ -78,6 +78,10 @@ function Set-GitHubConfiguration

78 78 79 79

.PARAMETER DefaultNoStatus

80 80

Control if the -NoStatus switch should be passed-in by default to all methods.

81 +

The -NoStatus switch has been deprecated. Commands in this module no longer display status

82 +

on the console, thus passing in -NoStatus to a command no longer has any impact.

83 +

Therefore, the value of this configuration setting also no longer has any impact on

84 +

command execution.

81 85 82 86

.PARAMETER DefaultOwnerName

83 87

The owner name that should be used with a command that takes OwnerName as a parameter

@@ -132,6 +136,14 @@ function Set-GitHubConfiguration

132 136

.PARAMETER LogTimeAsUtc

133 137

If specified, all times logged will be logged as UTC instead of the local timezone.

134 138 139 +

.PARAMETER MultiRequestProgressThreshold

140 +

Some commands may require sending multiple requests to GitHub. In some situations,

141 +

getting the entirety of the request might take 70+ requests occurring over 20+ seconds.

142 +

A progress bar will be shown (displaying which sub-request is being executed) if the number

143 +

of requests required to complete this command is greater than or equal to this configuration

144 +

value.

145 +

Set to 0 to disable this feature.

146 + 135 147

.PARAMETER RetryDelaySeconds

136 148

The number of seconds to wait before retrying a command again after receiving a 202 response.

137 149

@@ -212,6 +224,8 @@ function Set-GitHubConfiguration

212 224 213 225

[switch] $LogTimeAsUtc,

214 226 227 +

[int] $MultiRequestProgressThreshold,

228 + 215 229

[int] $RetryDelaySeconds,

216 230 217 231

[switch] $SuppressNoTokenWarning,

@@ -296,6 +310,7 @@ function Get-GitHubConfiguration

296 310

'LogProcessId',

297 311

'LogRequestBody',

298 312

'LogTimeAsUtc',

313 +

'MultiRequestProgressThreshold',

299 314

'RetryDelaySeconds',

300 315

'SuppressNoTokenWarning',

301 316

'SuppressTelemetryReminder',

@@ -640,6 +655,7 @@ function Import-GitHubConfiguration

640 655

'logProcessId' = $false

641 656

'logRequestBody' = $false

642 657

'logTimeAsUtc' = $false

658 +

'multiRequestProgressThreshold' = 10

643 659

'retryDelaySeconds' = 30

644 660

'suppressNoTokenWarning' = $false

645 661

'suppressTelemetryReminder' = $false

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4