Commit graph

1755 commits

Author SHA1 Message Date
Mike McLean
bf57dfca5b avoid waiting on empty task list in newRepo tasks 2015-12-04 16:04:34 -05:00
Mike McLean
4d981318dc avoid db error when taskSetWait called with empty task list 2015-12-04 16:04:34 -05:00
Mike McLean
a1e8ff5ba5 fix query opts passing in repo_references 2015-12-04 16:04:34 -05:00
Mike McLean
2853c9b4f4 ensure fixed_params variable is defined 2015-12-04 16:04:34 -05:00
Mike McLean
a63e61dcef fix nvr recycling 2015-12-04 16:04:33 -05:00
Mike McLean
964561b426 fall back to client side info for authtype 2015-12-03 19:50:10 -05:00
Mike Bonnet
5569c058c1 print the correct authentication method in "koji moshimoshi" 2015-12-01 18:51:53 -05:00
Mike McLean
ecb5c5a397 remove stray # from literal footers in web ui 2015-12-01 13:02:31 -05:00
Mike McLean
41237ec6a9 taginfo: return error code if tag does not exist, drop stray newlines 2015-12-01 13:02:31 -05:00
Till Maas
3a13307598 Increase default SSL timeout to 600
60 is not enough to process a full release like Rawhide and last I
checked the code to use a different timeout than the default timeout
does not work. Therefore use a working default value.

Signed-off-by: Till Maas <opensource@till.name>
2015-11-27 18:39:13 +01:00
Mike McLean
47189e0c3a Merge branch 'cgen'
Merge in content generator changes

Conflicts:
	hub/kojihub.py
2015-11-18 10:55:21 -05:00
Mike McLean
c1e1f34f64 remove mutable default args in _do_target_image 2015-11-17 15:13:57 -05:00
Ian McLeod
66fdccd1b3 add mechanism for general purpose parameter passing to Image Factory
We originally added semi-generic parameter passing for OVA support and
then overloaded it for Vagrant support, before breaking that back out
as specific image types.

This change adds a fairly generic mechanism for parameter passthrough
to plugins and the base builder that does not require patching the
builder and CLI each time a new class of parameter is added to Factory.

The immediate reason for doing this is to expose the Docker plugin's
ability to set custom labels, environments and commands, but it is
likely to be useful for other things in the future.
2015-11-17 14:47:30 -05:00
Mike McLean
262ec7a7da add groovy script archive type 2015-11-17 14:43:05 -05:00
Mike Bonnet
636b9c8383 fail a build that produces an unknown file type, rather than silently ignoring them 2015-11-17 14:32:04 -05:00
Mike Bonnet
d4d04ae9e6 cleanup the build directory when re-running a failed build 2015-11-17 14:20:07 -05:00
Mike McLean
87fb7f46e9 Merge remote-tracking branch 'origin/master' into cgen 2015-11-17 10:52:42 -05:00
Mike McLean
3e663b8556 Better web display for metadata_only imports 2015-11-17 10:46:31 -05:00
Mike McLean
6c6bef9630 record and report source and metadata_only fields 2015-11-17 10:46:10 -05:00
Mike McLean
f40b39cd68 ensure builddir when writing cg metadata file 2015-11-17 10:45:46 -05:00
Mike McLean
353927e00b fix refactor issue 2015-11-17 10:45:31 -05:00
Mike McLean
34a400652e cg_import policy stub 2015-11-17 10:45:31 -05:00
Mike McLean
fe4982c70c run prep steps early 2015-11-17 10:45:31 -05:00
Mike McLean
6be5d30b13 more refactor 2015-11-17 10:45:31 -05:00
Mike McLean
03b43c1c37 don't pass importer class to callback. could confuse plugins 2015-11-17 10:45:31 -05:00
Mike McLean
a0036c4489 refactoring cg importer to facilitate policy hooks 2015-11-17 10:44:17 -05:00
Mike McLean
d8baff3b63 fix a small typo 2015-11-12 14:48:07 -05:00
Mike McLean
910051e783 make sure timestamps are floats to keep datetime happy 2015-11-11 00:56:39 -05:00
Mike McLean
3faa31501c temporary workaround for external component refs in cg_import 2015-11-11 00:41:13 -05:00
Mike McLean
f5d2ad14cc pre/postImport callbacks for content generators 2015-11-11 00:40:14 -05:00
Mike McLean
b15ecd5c4e new archive types: json, key, dot 2015-11-10 15:40:16 -05:00
Mike McLean
470c2de57c record raw metadata 2015-11-05 16:51:16 -05:00
Mike McLean
26fb75920b set build.start_time in cg_import 2015-11-04 17:02:25 -05:00
Mike McLean
8eb55ee35f use build.start_time in webui is set 2015-11-04 17:02:25 -05:00
Mike McLean
c80a7aa9ae support for build.start_time field 2015-11-04 17:02:25 -05:00
Mike McLean
90d7b36353 add start_time to build table 2015-11-04 17:02:24 -05:00
Mike McLean
928e69f61e set completion_time for cg builds 2015-11-04 17:02:24 -05:00
Mike McLean
704f39e24e combine cg import code into a class 2015-11-04 17:02:24 -05:00
Mike McLean
c0e753894b fix typo 2015-11-04 17:02:24 -05:00
Mike McLean
3019974148 handle json metadata as an upload 2015-11-04 17:02:17 -05:00
Mike McLean
f16683d523 remove broken cg_export stub 2015-11-02 12:15:14 -05:00
Mike McLean
ea491f5f03 koji version 1.10.1
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJWMlJ6AAoJEI4ybUZMjacl2EwQANP3tcwNcnXQwAYV3I/a0O2g
 4kuwSNRNxD2jhToqIkNJp7LoEsiUFDMHPFl0yxoDmu750wGAnUjCW2P+GlG1fOr/
 Eh65hA9xEn8g8iWPJJSFip2Xz1sLQxrm/zKzV7xaBqiLc6sjZ/dIPfa/LWZjY/e9
 yBnb+I3Wm/RU5QnENMrs1BU0tlZ613Npz9YqalZ4oxPLS4/XzbAJpFkeVLpj9IgM
 EpSEnoNWCMsoIeTN2Uh8YIpU6BzO5fiqPqYq5NqgZMulMPUkzk9xyJFzw5+GtkfF
 DGt5tIy+7J6t86G6VPtKOW+NIfohyJKxyQlz8Mcg8wYrIFiXAM6f6hw0hILhJ8nB
 62McpzlsjvxE2lOLAlW+G2xaEQ272ew01gkx/vNTp0xHAZuHMSveyzTozDIbzcdg
 7ENa8qbY4HGS7qL/Q/J7kHwKPofhKEHXPh2fVRmj/ogzIBM6em87OH3wtHWsz883
 ay6BA9ngBNmBsSU/OBhXDM62BEhjV6oQTxYM1i0ZR2XeUNdJNI7ezHkroMivIEsn
 LafAslR0IpAUtaM8nHVUVLkMBGvUUxm30OTpRiENnkGrV4PnijCty5NLrogIoAtA
 kAf1HH69ls3Xs8rjZS0XXPdim2Vf7EgXvELWwA4AskD8JnA+wmXBfZML6Zhu1k0h
 FQd47eo4SjVNHRpNSUBG
 =Kbwm
 -----END PGP SIGNATURE-----

Merge tag 'koji-1.10.1' into cgen

koji version 1.10.1

Conflicts:
	hub/kojihub.py
2015-11-02 10:14:21 -05:00
Mike McLean
66c3181781 show extra data in cli. fix cli rpminfo for cg brs 2015-11-01 18:13:29 -05:00
Mike McLean
a6b1981074 show extra data in web ui 2015-11-01 18:13:29 -05:00
Mike McLean
e71ee4bad3 show extra data on buildinfo page 2015-11-01 18:13:29 -05:00
Mike McLean
1aaaee7dd0 provide extra data in several archive queries 2015-11-01 18:12:47 -05:00
Mike McLean
8d349ecde2 more centralization of json parsing 2015-11-01 18:12:47 -05:00
Mike McLean
906712f223 return rpm extra data more places, plus fix some typos from earlier commits 2015-10-30 12:42:59 -04:00
Mike McLean
05ea5ea24a return extra info in get_rpm, support transforms in QueryProcessor 2015-10-30 12:18:53 -04:00
Mike McLean
8a996d5033 handle extra in cg_import_rpm 2015-10-30 10:05:47 -04:00