microsoft / microsoft/winget-create
wingetcreate new asks for same info twice. PackageIdentifier, Publisher and PackageName
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 651
- Forks
- 114
- Avg merge
- 7h 52m
- Merged PRs (30d)
- 3
Description
Brief description of your issue
wingetcreate new asks for same info twice. PackageIdentifier, Publisher and PackageName
It only needs to ask for the publisher name and the package name and then it can make the PackageIdentifier
Steps to reproduce
- Run wingetcreate new
- Paste installerURL
- You are prompted for the PackageIdentifier (which should be in the format .
- Answer a couple more prompts
- You are prompted for the Publisher (which you already typed in when you were prompted for the PackageIdentifier)
- You are prompted for the PackageName (which you already typed in when you were prompted for the PackageIdentifier)
Expected behavior
- Run wingetcreate new
- Paste installerURL
- You are prompted for the PackageName
- You are prompted for the Publisher
- wingetcreate carries on as normal
Note: You are not prompted for the PackageIdentifier since you already gave information on who is the Publisher and the PackageName
Actual behavior
Wingetcreate new asks for the same information twice
Environment
Copyright (c) Microsoft Corporation. All rights reserved.
Operating System: Microsoft Windows NT 10.0.19045.0
System Architecture: X64
Winget-Create Directories Path
------------------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.WindowsPackageManagerManifestCreator_8wekyb3d8bbwe\LocalState\DiagOutputDir
User settings %LOCALAPPDATA%\Packages\Microsoft.WindowsPackageManagerManifestCreator_8wekyb3d8bbwe\LocalState\settings.json
Installer cache %TEMP%\wingetcreate
Links
------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-create-privacy
License Agreement https://aka.ms/winget-create-license
Third Party Notices https://aka.ms/winget-create-3rdPartyNotice
Homepage https://aka.ms/winget-create
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the wingetcreate new command entry point and follow the prompts for PackageIdentifier, Publisher, and PackageName. Run wingetcreate new with an installer URL to reproduce the duplicate questions. Done means Publisher and PackageName are requested once and the PackageIdentifier is derived without another prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100