Skip to content

Conversation

@dirkmueller
Copy link
Contributor

The indentation might be pretty, but it also adds a few percent of compressed size to the metadata. for production use a --no-pretty can now be set that reduces the amount of blanks in the repodata xml.

The indentation might be pretty, but it also adds a few percent of
compressed size to the metadata. for production use a --no-pretty
can now be set that reduces the amount of blanks in the repodata
xml.
@Conan-Kudo
Copy link
Member

Unless you're not compressing the metadata files, this doesn't really make sense. Also, people do download and look at those files, so I'd rather not make it completely unreadable for just a percentage point or two.

@dirkmueller
Copy link
Contributor Author

@Conan-Kudo I am comparing compressed sizes. The gain would be much bigger in raw. Also, the default does not change. It just adds an option to change it.

The files are not completely unreadable. Basically one package is one line in the output instead of multiple lines. Plus it's just a xmliint --formataway to get the previous output.

@Conan-Kudo
Copy link
Member

Keep in mind that this doesn't affect anything that is added to the repodata through modifyrepo, but sure, I guess...

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