mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-04-21 17:36:40 +00:00
ref: move legacy field backport from classifypkg to ExportLegacy; add .apk/.AppImage formats
- Remove LegacyBackport from classifypkg and webicached; canonical values now flow through storage untouched - Add legacyFieldBackport() in storage/legacy.go, called only at export time (go: armv6→arm, ffmpeg windows: .gz/.empty→.exe) - ExportLegacy now takes pkg name and returns LegacyDropStats (variants + formats dropped) - fsstore.Commit logs dropped assets so filtering is visible - Add FormatAPK (.apk) and FormatAppImage (.AppImage) to buildmeta and classify so those files are properly classified and then correctly dropped from legacy export rather than passing through as empty-format
This commit is contained in:
@@ -329,8 +329,6 @@ func (wc *WebiCache) refreshPackage(ctx context.Context, pkg pkgConf) error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("classify: %w", err)
|
||||
}
|
||||
// Legacy backport: translate canonical values to what Node.js expects.
|
||||
classifypkg.LegacyBackport(name, assets)
|
||||
classifyDur := time.Since(classifyStart)
|
||||
|
||||
// Step 3: Write to fsstore.
|
||||
|
||||
Reference in New Issue
Block a user