repo-autoindex/repo_autoindex
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
..
_impl Use SAX instead of pulldom for primary.xml parsing [RHELDST-14338] 2022-10-20 09:51:30 +10:00
__init__.py Implement error handling 2022-08-09 08:51:06 +10:00