coreos / coreos/coreos-assembler

make cosa diff support diffing artifact sizes between builds

Open
#3,992 1 comment 0 reactions 1 assignee View on GitHub

@c4rt0 is already working on this.

Since Dec 17, 2024.

jira
Dominant language
Go
Stars
393
Forks
193
Avg merge
17h 6m
Merged PRs (30d)
5

Description

I wrote diffbuildsizes.py.txt a while ago when we switched to OSBuild to try to verify nothing dramatic was happening when we went from one build tool to the next. This was before cosa diff existed. Let's somehow incorporate this into cosa diff. It just uses the sizes reported in meta.json so it's pretty lightweight.

An example of the output looks like:

    platform     | compression  | 40.20240131.91.0 | 40.20240201.91.0
---------------------------------------------------------------------
qemu             | compressed   | 663MiB           | 848MiB          
qemu             | uncompressed | 1577MiB          | 876MiB          
metal4k          | compressed   | 661MiB           | 670MiB          
metal4k          | uncompressed | 2458MiB          | 2458MiB         
metal            | compressed   | 663MiB           | 698MiB          
metal            | uncompressed | 2458MiB          | 2458MiB         

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.