winget-pkgs icon indicating copy to clipboard operation
winget-pkgs copied to clipboard

[Update Request]: StefansTools.grepWin

Open RadAd opened this issue 3 years ago • 6 comments

What type of update are you requesting?

A new version of an existing package

Current Package Identifier

StefansTools.grepWin

Package Version

2.0.1232

Please describe the changes you would like to see

My previous request was not updated correctly. https://github.com/microsoft/winget-pkgs/issues/113395

This package has historically used the build number in the version instead of the published version number.

The update should have been 2.0.1232, not 2.0.15.

RadAd avatar Jul 31 '23 01:07 RadAd

The version winget thinks is the newest version is critically broken with handling read-only files. winGrep will just skip and not search them unless "include symbolic links" is checked which is not the default.

The versioning scheme in winget is plain wrong. The official version scheme is 2.0.15.1232 for the current version from June 2023 and e.g. 2.0 .8 .1054 for older versions.

mhartkorn avatar Sep 18 '23 13:09 mhartkorn

  • Duplicate of https://github.com/microsoft/winget-pkgs/issues/113395
  • Resolved by https://github.com/microsoft/winget-pkgs/pull/113440

Issue can be closed.

Dragon1573 avatar Oct 26 '23 16:10 Dragon1573

#113440 doesn't resolve this issue, it caused this issue. The issue is winget has changed its versioning scheme for grepWin and has messed up future updates. It would have been better to continue the old scheme.

RadAd avatar Oct 27 '23 05:10 RadAd

There are 2 ways to solve this:

  1. Remove all previous versions of this package.
  2. Change the version number to continue the further versioning.

These 2 methods can be done directly on github.dev , maybe you can achieve this yourself! :smile:

Dragon1573 avatar Oct 27 '23 10:10 Dragon1573

When this was fixed, I feel like version 2.0.15 was missed. There is no DisplayVersion in https://github.com/microsoft/winget-pkgs/blob/master/manifests/s/StefansTools/grepWin/2.0.15/StefansTools.grepWin.installer.yaml so winget shows as follows:

image

Based on the registry image

It would suggest there should be

AppsAndFeaturesEntries:
- DisplayVersion: 2.0.1232

DigitalJustin avatar Jan 10 '24 18:01 DigitalJustin

I have the same issue:

> winget list --id StefansTools.grepWin
Name        Id                   Version  Available Source
----------------------------------------------------------
grepWin x64 StefansTools.grepWin > 2.0.12 2.0.15    winget
> reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{75A64F1A-4A9F-44C9-957E-4036384C434B}

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{75A64F1A-4A9F-44C9-957E-4036384C434B}
    AuthorizedCDFPrefix    REG_SZ    
    Comments    REG_SZ    
    Contact    REG_SZ    
    DisplayVersion    REG_SZ    2.0.1232
    HelpLink    REG_SZ    
    HelpTelephone    REG_SZ    
    InstallDate    REG_SZ    20230925
    InstallLocation    REG_SZ    C:\Users\xxx\AppData\Local\Programs\grepWin\
    InstallSource    REG_SZ    D:\
    ModifyPath    REG_EXPAND_SZ    MsiExec.exe /I{75A64F1A-4A9F-44C9-957E-4036384C434B}
    Publisher    REG_SZ    Stefans Tools
    Readme    REG_SZ    
    Size    REG_SZ    
    EstimatedSize    REG_DWORD    0x7fc
    UninstallString    REG_EXPAND_SZ    MsiExec.exe /I{75A64F1A-4A9F-44C9-957E-4036384C434B}
    URLInfoAbout    REG_SZ    
    URLUpdateInfo    REG_SZ    
    VersionMajor    REG_DWORD    0x2
    VersionMinor    REG_DWORD    0x0
    WindowsInstaller    REG_DWORD    0x1
    Version    REG_DWORD    0x20004d0
    Language    REG_DWORD    0x409
    DisplayName    REG_SZ    grepWin x64

The changes made to use the other versioning scheme have really messed this up.

RadAd avatar Jan 11 '24 00:01 RadAd