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]: Typst.Typst #145055

Closed
2 tasks done
Enivex opened this issue Mar 18, 2024 · 4 comments · Fixed by #145057
Closed
2 tasks done

[Package Issue]: Typst.Typst #145055

Enivex opened this issue Mar 18, 2024 · 4 comments · Fixed by #145057
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@Enivex
Copy link

Enivex commented Mar 18, 2024

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

Other

Brief description of your issue

Winget believes 0.11.0-rc1 is newer than 0.11.0. Therefore the only way to install 0.11.0 is to manually specify that version.

Steps to reproduce

winget show typst --versions
Found Typst [Typst.Typst]
Version
----------
0.11.0-rc1
0.11.0
0.10.0
0.9.0
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0

Actual behavior

0.11.0 should be on top

Expected behavior

0.11.0-rc1 is on top

Environment

Windows Package Manager v1.7.10661
Windows: Windows.Desktop v10.0.22635.3350
Package: Microsoft.DesktopAppInstaller v1.22.10661.0

Screenshots and Logs

No response

@Enivex Enivex added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Mar 18, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@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 Mar 18, 2024
@mdanish-kh
Copy link
Contributor

With how WinGet performs version sorting, 0.11.0-rc1 will be considered higher than 0.11.0. WinGet does not have proper channels support (beta, stable etc) yet. If we want to make pre-release versions available, they should be added under a separate PackageId like Typst.Typst.Preview / Typst.Typst.Prerelease.

To unblock this issue, I'll remove the release candidate version from Typst.Typst PackageId.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Mar 18, 2024
@stephengillie
Copy link
Collaborator

Should the release candidate be readded under another PacakgeIdentifier? Possibly Typst.Typst.RC?

@mdanish-kh
Copy link
Contributor

If the community wishes to add it, it can be made into another Package Request issue. Personally, I don't see enough value for adding it, maybe we can only retain the latest release candidate if we wish to add it. And the main ID Typst.Typst should ideally offer only the stable releases.

@denelon denelon added this to the 1.10 Packages milestone Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants