Closed PAStheLoD closed 2 months ago
Hm, after patching crates/sprinkles/src/buckets.rs Bucket::matches() it seems that there's some error during parsing the manifest.
eager_name_matches returns true, but then the error is silently ignored.
~> cargo run search -m name bun
bucket: "main", manifest name: "bun" , search_regex: Regex("(?i)bun")
err!! .. :o ParsingManifest("C:\\Users\\Tibi\\scoop\\buckets\\main\\bucket\\bun.json", Error("invalid type: sequence, expected a string", line: 11, column: 19))
ah, after editing bun.json it's clear that sfsu currently cannot parse manifests with multiple download URLs and checksum hashes for them.
probably the hash
and url
fields of the InstallConfig struct also need to be StringArray
enums? (Blindly replacing the types leads to ... pikachu surprise ... compile time errors!)
Thanks for reporting this. I recently changed the manifest to use a single string under the impression that there weren't any manifests using multiple urls/hashes.
This change was reverted in #672, and this should work again after that PR is merged.
Describe the bug
searching for
bun
does not find the bun manifest from "main" bucketSteps to To Reproduce
sfsu search bun
Expected behavior
Output includes
Full Output
Version
1.11.0
Additional context
quite possible unrelated, but sfsu checkup gives a strange error:
Error: Internal Windows API Error: the system cannot find the file specified 0x80070002
result of
scoop search bun
also, using
-m both
indicates that the main bucket is searched:also thanks for writing sfsu, it's great!