Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

index: add json index writing #1126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

xnox
Copy link
Contributor

@xnox xnox commented Apr 8, 2024

YOLO - no tests neither before nor after

Doing update on a single package, of an apk repository, seems to generate json which is much larger, so the json seems very stale.

$ git diff --stat
 APKINDEX.json | 179154 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------
 1 file changed, 114348 insertions(+), 64806 deletions(-)

Once this change lands, we can update melange index command in pipelines to generate new.json in addition to new.tar.gz and then copy that to the buckets.

Melange Pull Request Template

Functional Changes

  • This change can build all of Wolfi without errors (describe results in notes)

Notes:

SCA Changes

  • Examining several representative APKs show no regression / the desired effect (details in notes)

Notes:

Linter

  • The new check is clean across Wolfi
  • The new check is opt-in or a warning

Notes:

YOLO - no tests neither before nor after

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@chainguard.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant