Skip to content
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

[Package Issue]: task.task new version not found by winget #121205

Closed
2 tasks done
dpprdan opened this issue Sep 29, 2023 · 2 comments
Closed
2 tasks done

[Package Issue]: task.task new version not found by winget #121205

dpprdan opened this issue Sep 29, 2023 · 2 comments
Labels
Area-Matching Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@dpprdan
Copy link
Contributor

dpprdan commented Sep 29, 2023

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

No applicable update found.

Brief description of your issue

winget doesn't find updates to task.task beyond version 3.28 even though newer manifests are available, see go-task/task#1355

I suspect that this is because the newer manifests have PackageVersion: v3.xx.x instead of e.g. 3.28.0, i.e. that this is a manifest error. I just want to double check with someone from the winget team. Should this have been caught during manifest validation?

NB task has a NestedInstallerType: portable.

Steps to reproduce

After installing task 3.28.0 to the Sandbox:

--> Comparing ARP Entries

DisplayName DisplayVersion Publisher ProductCode              Scope
----------- -------------- --------- -----------              -----
Task        3.28.0         Task      Task.Task__DefaultSource User

PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> winget upgrade task.task
No available upgrade found.
No newer package versions are available from the configured sources.
PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> winget show task.task
Found Task [Task.Task]
Version: 3.28.0
Publisher: Task
[...]

Actual behavior

If I install one of the newer versions in the Sandbox, and run winget upgrade afterwards, winget offers 3.28.0 as an update for v3.30.0, which is obviously not correct.

PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> winget upgrade

Name           Id             Version       Available     Source
----------------------------------------------------------------
Microsoft Edge Microsoft.Edge 100.0.1185.36 117.0.2045.43 winget
Task           Task.Task      v3.30.0       3.28.0        winget

Expected behavior

winget ought to find versions >3.28.0

Environment

PS C:\Users\WDAGUtilityAccount\Desktop\winget-pkgs> winget --info
Windows Package Manager v1.6.2701
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2283
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2701.0


### Screenshots and Logs

_No response_
@dpprdan dpprdan added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Sep 29, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Sep 29, 2023
@Trenly
Copy link
Contributor

Trenly commented Sep 29, 2023

This does seem like an error with the manifests, although it is also related to

cc @andreynering

@dpprdan
Copy link
Contributor Author

dpprdan commented Oct 2, 2023

Now that #121213 has been merged I see

PS C:\> winget search task.task
Name Id        Version Source
------------------------------
Task Task.Task 3.30.1  winget

So this can be closed AFAICT

@dpprdan dpprdan closed this as completed Oct 2, 2023
@denelon denelon added this to the 1.7 Packages milestone Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Matching Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

4 participants