On 07/02/2014 11:11 AM, Pat Riehecky wrote:
From: Pat Riehecky <[email protected]>

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
is duplicated.

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(-)


For the custom url format, would a config entry or optional arg to Commands.sources be preferred?

Pat

--
Pat Riehecky

Scientific Linux developer
http://www.scientificlinux.org/

--
buildsys mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Reply via email to