pulp/pulp_rpm — pull request #70 by jwmatthews (2012-12-14 20:04:24+00:00)
Title: Fixes for comps import so it is able to work with gzipped content under a 'groups' tag

Main issue is that after we publish comps.xml data, modifyrepo sticks the gzipped version of comps.xml.gz under 'groups' instead of 'groups_gz'.

Yum is able to work around this with updateinfo parsing, yet yum can not do the same for comps processing.

Our fix is to check if it's .gz if it is then wrap it with GzipFile.