6 Commits

Author SHA1 Message Date
Colin Walters
2ed64cd86b Use flake8, update source code
It catches unused imports at least which is helpful.  Ignore some of
the more annoying errors.

Closes: #15
Approved by: cgwalters
2016-04-12 17:36:25 +00:00
Colin Walters
ca0d58352e Some porting to support Python 2+3 simultaneously
However, it won't be really useful until we (likely) run either `mock`
or `pyrpkg` from a subprocess.
2016-02-29 20:53:19 -05:00
Colin Walters
683756924b Move the srpm logic into resolve
Now the workdir structure looks like:

 - src: Git mirror
 - snapshot: Directory of SRPMs plus snapshot.json build config
 - build{,0,1}: Binary RPMs

When we added the `prep-cmd` to the overlay schema, we started
fetching sources during build which is wrong.  We might as well bite
the bullet here and just use SRPMs as the canonical representation
here.

This is preparatory work for being able to consume pure dist-git
repositories, and pulling in `fedpkg/pyrpkg` more closely.
2015-09-01 18:33:06 -04:00
Colin Walters
d2461a552f wip 2015-03-09 18:35:23 -04:00
Colin Walters
2442d19adf Resolve does a mirror 2015-03-09 16:05:00 -04:00
Colin Walters
98e63881a5 Initial commit; import some code from rpm-ostree-toolbox && rdopkg
And translate some git code from gnome-continuous into python.  So
kind of a hybrid.
2015-03-08 10:53:15 -04:00