repo-autoindex/repo_autoindex/_impl
Rohan McGovern 117cabb0b7 Use SAX instead of pulldom for primary.xml parsing [RHELDST-14338]
Redo the parsing of packages from primary.xml to use SAX; previously it
was using pulldom. The motivation for the change is to reduce memory usage.

When parsing a larger yum repo such as that contained within
rhel-8-for-ppc64le-appstream-kickstart__8_DOT_4, the observed memory
usage from repo-autoindex command was:

- pulldom: ~700MB
- SAX:     ~85MB

This does not affect the output of the indexing process, and is covered
by existing tests.
2022-10-20 09:51:30 +10:00
..
templates Add a test which renders a yum repo 2022-07-07 14:04:18 +10:00
__init__.py Rearrange sources to keep API separate, add a real test 2022-07-07 13:20:43 +10:00
api.py Implement error handling 2022-08-09 08:51:06 +10:00
base.py Implement error handling 2022-08-09 08:51:06 +10:00
cmd.py Add PULP_MANIFEST support 2022-08-08 13:45:50 +10:00
pulp.py Add PULP_MANIFEST support 2022-08-08 13:45:50 +10:00
template.py Add a test for text elision 2022-08-02 16:41:46 +10:00
tree.py Rearrange sources to keep API separate, add a real test 2022-07-07 13:20:43 +10:00
yum.py Use SAX instead of pulldom for primary.xml parsing [RHELDST-14338] 2022-10-20 09:51:30 +10:00