Closed hgkamath closed 1 year ago
$matchCommit
, $matchTag
suggested workaround: first do scoop download <corrected_url>
So does one need dotnet6 for pattern matching?
Actually I do have it installed via chocolatey, so that's not it.
PS C:\vol\scoop_01\scoop\buckets\extras\bucket> choco list dotnet-6.0-desktopruntime
Chocolatey v2.1.0
dotnet-6.0-desktopruntime 6.0.20
I run scoop using the windows-stock-version powershell-5.119041.3031 and not powershell-7.3.6.
Q1) does powershell version have something to do with it?
also #3292 ?
also #3045 ? says every manifest that uses custom capture groups will not work.
Q2) so how to make custom capture groups work?
Q3) perhaps dup?
Ref
does powershell version have something to do with it?
no
so how to make custom capture groups work?
I don't think it should be implemented, it needs to be compatible for different sites and it may still keep the most of manifests unavailable like now.
Related: https://github.com/ScoopInstaller/Scoop/issues/3894
Bug Report
After a scoop update, I encountered upstream bug: filelight https://bugs.kde.org/show_bug.cgi?id=472546 and needed to go back to version 23.04.3-1416 But scoop install had a download URL string formation problem where the variable
$matchLib
is not substituted. (=msvc2019
)The filelight download location for the older version is
https://binary-factory.kde.org/job/Filelight_Release_win64/1416/artifact/
Unsure if this is a scoop install script problem or a manifest file formation problem. i.e. which script's responsibility is it to properly substitute the
$matchLib
variable?Current Behavior
Expected Behavior
install of older version should succeed
Additional context/output
NA
Possible Solution
workaround
Temporarily overwrite the
$matchLib
variable in the json manifest filePS C:\vol\scoop_01\scoop\buckets\extras\bucket> nvim .\filelight.json
overwrite the string$matchLib
in[0].autoupdate.architecture.64-bit.url
with the proper lib stringmsvc2019
After install, I later undid the change and saved For the time being I have done ascoop hold -g filelight
in order to prevent automatic update until the upstream bug is resolved.System details
Windows version: [e.g. 7, 8, 10, 11]
10
OS architecture: [e.g. 32bit, 64bit, arm64] 64bit
PowerShell version: [output of
"$($PSVersionTable.PSVersion)"
] 5.1.19041.3031Additional software: [(optional) e.g. ConEmu, Git] NA
Scoop Configuration
NA
additional information
Quite a few manifest files in extras bucket have this
$matchLib
variable They all seem to be apps from kde.org