ScoopInstaller / Scoop

A command-line installer for Windows.

Home Page:https://scoop.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] `use_sqlite_cache` will store all the manifest files in the bucket folder

junlongzzz opened this issue · comments

Bug Report

Current Behavior

如下方截图所示,设置了 use_sqlite_cache: true 时,database内会包含对应 bucket 文件夹内的所有 .json 清单文件,但是除开了桶文件夹中的 bucket 文件夹内的清单文件,其他的文件是无效的,导致在搜索之后以为有这个软件清单,但安装时直接报未找到的错误,比如截图中安装的文件在 https://github.com/chawyehsu/dorado/tree/master/deprecated

Expected Behavior

正确的储存有效的清单文件信息

Additional context/output

when set use_sqlite_cache: true

image

when set use_sqlite_cache: false

image

System details

Windows version: 11

PowerShell version: 7.4.2

Scoop Configuration

scoop_branch: develop
use_sqlite_cache : true