Skip to content

increases default max xml size#34

Merged
xbhouse merged 2 commits intocontent-services:masterfrom
xbhouse:increase-max-xml-size
Jun 18, 2025
Merged

increases default max xml size#34
xbhouse merged 2 commits intocontent-services:masterfrom
xbhouse:increase-max-xml-size

Conversation

@xbhouse
Copy link
Contributor

@xbhouse xbhouse commented Jun 17, 2025

Introspection of the RHEL9 arm baseos repo is failing with this error (error introspecting https://cdn.redhat.com/content/dist/rhel9/9/aarch64/baseos/os/: XML syntax error on line 6371618: unexpected EOF) because the uncompressed file is larger than the default we have set (about 3MB larger). This changes the default max xml size to be 1GB.

To test:

  1. Replace yummy in the backend's go.mod with this PR (replace github.com/content-services/yummy => /path/to/repo)
  2. Introspect the RHEL9 arm baseos repo: ./release/external-repos introspect --url https://cdn.redhat.com/content/dist/rhel9/9/aarch64/baseos/os/. It should introspect successfully.

Copy link
Contributor

@rverdile rverdile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@xbhouse xbhouse merged commit ec845ab into content-services:master Jun 18, 2025
2 checks passed
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.

2 participants