microsoft / microsoft/winget-cli-restsource

Package installed from private repository is being listed as being installed from public repository

Open
#227 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C#
Stars
317
Forks
79
PR merge metrics
No merged PRs in 30d

Description

Brief description of your issue

When installing an application from our internal WinGet repository, WinGet is listing the package as being installed from the public WinGet repository.

Steps to reproduce

Upload a package to an internal WinGet repository, where the same package exists in the public WinGet repository.
Install the package from the private repository.
Export the list of installed packages. It will show the package as being installed from the public repository, not the private one.

Expected behavior

I would expect WinGet to show the package as being installed from the correct repository.

Actual behavior

WinGet shows the package as being installed from the wrong repository.

Environment
Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.3803
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the private-repository installation and package export described in the issue, then trace how the REST source records repository provenance. Done means an export identifies the private repository when the package was installed from it, rather than the matching public repository.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.