-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new subcommand "scoop diag" #5543
Open
r15ch13
wants to merge
11
commits into
develop
Choose a base branch
from
scoop-diag
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Returns information about the Scoop environment that can be posted on a GitHub issue
5 tasks
Developer mode and other missing entries in |
Consider add it as a subcommand of scoop-checkup( |
[PowerShell]
Path = $env:USERPROFILE\scoop\apps\pwsh\current\pwsh.exe
Version = 7.3.7
Edition = Core
Architecture = 64bit
RunAsAdmin = False
Parent = Code.exe
[Helpers]
GitPath = $env:USERPROFILE\scoop\apps\git\current\mingw64\bin\git.exe
GitVersion = git version 2.42.0.windows.2
Zip = True
Lessmsi = True
Innounp = True
Dark = True
Aria2 = True
Zstd = False
[Environment]
SCOOP = $env:USERPROFILE\scoop
[Scoop]
Outdated = True
OnHold = False
Config = $env:USERPROFILE\.config\scoop\config.json
CoreRoot = X:\~projects\~powershell\scoop
ScoopDir = $env:USERPROFILE\scoop
CacheDir = $env:USERPROFILE\scoop\cache
GlobalDir = C:\ProgramData\scoop
[Config]
debug = True
last_update = 10/09/2023 15:00:14
analytics_id = <redacted>
aria2-warning-enabled = False
scoop_repo = https://github.com/ScoopInstaller/Scoop
scoop_branch = develop
[Windows]
DeveloperMode = True
LongPathsEnabled = False
ScoopDirFormat = NTFS
GlobalDirFormat = NTFS
WindowsDefender = Running Added the entries from |
Remove the Markdown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This introduces the new subcommand
scoop diag
.It returns information about the Scoop environment using the Ini file format that can be posted on a GitHub issue (including markdown codeblock).
Sensitive content and the username gets automatically redacted.
Is there any other information that could be added to this (or redacted)?
Example output if run from inside Visual Studio Code `.\bin\scoop.ps1 diag`
Example from my actual scoop installation
Example from PowerShell 5
Motivation and Context
Get more information from users about the system setup when they are opening issues.
Checklist:
develop
branch.I have updated the tests accordingly.