internal/rosa: apply patches in specified order
Test / Create distribution (push) Successful in 1m1s
Test / Sandbox (push) Successful in 2m59s
Test / ShareFS (push) Successful in 4m4s
Test / Hakurei (push) Successful in 4m15s
Test / Sandbox (race detector) (push) Successful in 5m40s
Test / Hakurei (race detector) (push) Successful in 6m45s
Test / Flake checks (push) Successful in 1m30s

This seems more intuitive than letting the filesystem decide, and having to use awkward names.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
cat
2026-07-10 15:39:55 +09:00
parent 8e9b3a2ed1
commit e1f16e7720
2 changed files with 24 additions and 18 deletions
+1 -1
View File
@@ -1053,7 +1053,7 @@ func (ctx *evalContext) pf(
return
}
attr.Patches = append(attr.Patches, KV{
strings.TrimSuffix(filepath.Base(pathname), ".patch"),
filepath.Base(pathname),
unsafe.String(unsafe.SliceData(p), len(p)),
})
}