mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-11-01 06:51:18 +00:00
I was not able to properly review this specific file from #6351 in time. - Remove unnecessary second Close call to xz writer. - Removed unused values. - Partition packages by architecture in the first loop to reduce the amount of iterations. - Don't compile regex, use `path.Split`. - Pass structs around. - Remove usage of bytes.buffer when there's no buffering. - Use a better data structure for building package lists. TL;DR no functional changes. --- Review this with "Ignore whitespace when comparing lines" enabled. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6663 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz> |
||
|---|---|---|
| .. | ||
| alpine | ||
| alt | ||
| arch | ||
| cargo | ||
| cleanup | ||
| container | ||
| debian | ||
| rpm | ||
| auth.go | ||
| packages.go | ||