#106 Enusre to download sources in cliClient
Merged by cqi. Opened by cqi.
cqi/rpkg adjust-call-resources  into  master

Download 106.patch

cliClient is the better place to call cliClient.sources to download sources
files. This makes it easier for downstream client tool to extend
cliClient.sources and no need to overwrite related methods to use the
extension, where the related methods are compile, install, prep, local and
srpm.

Signed-off-by: Chenxiong Qi cqi@redhat.com

rebased

Could anyone review?

Looks good to me. This is a breaking change for any client that actually redefines some of the cli.py methods, right?

Probably yes, but I'm not sure. At least, some script calling the modified Commands methods would need to call sources method explicitly, if it is necessary to ensure sources files downloaded.

rebased

Anyway, I think this can be merged.

Pull-Request has been merged by cqi

Metadata