19 Commits

Author SHA1 Message Date
Colin Walters
56b1e02f01 Rework to run in Fedora, not CentOS
https://pagure.io/fedora-atomic-host-continuous/issue/16

Fedora started using richdeps in the `BuildRequires`, which finally
brought down our hacky tower to do Fedora RPM builds from a CentOS 7
host.

Complicating all of this is that mock in Fedora is python3.  So
we'd have to maintain compatibility with both 2/3 and that sucks.
Let's do a hard 3 port for now.
2018-02-01 12:51:06 -05:00
Colin Walters
b29f84ffe4 git: Quiet more local operations
In Jenkins, git ends up printing a *lot* of output for local clones,
and it's not useful.  Potentially we should use `isatty(0)` for
quiet-or-not in the future, but for now this should help make Jenkins
longs more readable.

Closes: #26
Approved by: cgwalters
2016-05-07 15:17:45 +00:00
Colin Walters
a4ff7e3ca2 Add a clone operation, resolve/clone inherit basetask_resolve
I want to support two related but distinct things:

 - Performing both i386 and x86_64 builds of the same source.
   This is the base `clone` operation.
 - Testing builds of a contributed patch or github PR.  This
   requires modifying one (or more) of the sources, and hence
   is known as `--full`.

Closes: #16
Approved by: cgwalters
2016-04-26 13:47:28 +00:00
Colin Walters
3a224a3e28 git: Consider lightweight tags as well
Some people use them even though I think it's pretty silly...if you're
making a tag, it's not really hard to include a changelog in it and
for that matter a GPG signature.

But it makes for more correct versions.

Closes: #17
Approved by: cgwalters
2016-04-21 16:50:07 +00:00
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
e3d9086bf9 git: Delete leftover debugging statement 2016-03-28 11:18:55 -04:00
Colin Walters
9c3e5afd65 travis: Actually do make+check
Closes: #7
Approved by: cgwalters
2016-03-26 13:32:05 +00:00
Colin Walters
2da0c0b545 Add support for certificate pinning
TLS pinning should basically be standard practice nowadays.  It isn't
significantly difficult to manage, and adds a fair amount of security.

Closes: #6
Approved by: cgwalters
2016-03-25 20:54:05 +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
c5068dbf72 git: Prefix git fetch line with module being fetched 2015-07-28 21:59:14 -04:00
Colin Walters
e1c95a1552 Drop the libgsystem dependency
At the moment it's just annoying to build this in EPEL7 as it would
overlap with Atomic Host builds etc.
2015-07-27 11:22:57 -04:00
Colin Walters
4ee74bcb22 git: Add a submodule resolution cache file
We could do this a lot better if we used libgit2, but eh, for now this
is fine.
2015-07-16 14:31:37 -04:00
Colin Walters
5746d204fc git: Fix indentation error in previous commit 2015-03-10 20:50:18 -04:00
Colin Walters
fd0c042ef3 git: Use hardlinks for local mirrors by default
It's just more efficient.
2015-03-10 17:48:43 -04:00
Colin Walters
080e826ff8 Generating SRPMs works 2015-03-09 21:51:36 -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
0fa14e7412 Packaging/pylint fixes 2015-03-08 11:17:18 -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