I have attached at patch to pungi to allow for "relnotepkgs" and
"relnotefilere" to be passed on the command line. This allows for
packages other than fedora-release to contain the "relnotefilere" files .
It also lets one define what files to include via the command line vs the
hard coded defaults.
These changes cause the hub to use generators for some potentially large
queries internally. The point is to reduce memory usage.
In the case that a large query is returned via rpc, the marshaller has
been extended to handle generators. The marshaller will still create a
giant pile of xml, but we at least still save the memory for the
I also have some work on an iterating marshaller that will not keep the
entire xml return in memory, but that's a bit more complicated, so I'm
going to leave that for another day.
There are other cases (e.g. repo_init) where we have very large queries
internally. In these cases, this patch set will result in significant
From: Pat Riehecky <riehecky(a)fnal.gov>
Over at the CentOS project they are looking into an rpkg based tool,
but due to the hard coded filename for external sourecs, a lot of code
The attached patch preserves the existing behavior, but allows a hook
into the 'sources' function so that other metadata files can be consulted.
The format of the url in the CentOS structure is also different. However,
I've not (yet?) taken a stab at making that customizable.
Pat Riehecky (2):
Allow custom 'sources' metadata file
Added optional 'valsep' for metadata files not seperated by ' '
src/pyrpkg/__init__.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)