Commit graph

105 commits

Author SHA1 Message Date
Mike McLean
5aa6ed4818 move table drops to schema-clear.sql 2016-02-05 08:58:49 -05:00
Mike McLean
4b98f6bd47 drop tables in reverse creation order 2016-02-05 08:50:49 -05:00
Mike McLean
3b182a096a Merge #22 Drop tables and functions only if exist 2016-02-04 16:10:20 +00:00
Mike McLean
6513039f4d obr archivetype 2016-02-01 09:46:57 -05:00
Pavol Babincak
48c48606fe Drop tables and functions only if exist
At the time of first initialization of Koji database tables and
functions don't exist. This isn't really a problem as SQL commands later
in the script create them.

For non-existent tables or functions psql prints NOTICE instead of an
ERROR. Therefore one can check if database was initialized correctly
with ON_ERROR_STOP set (see psql(1)):

     psql returns 3 if an error occurred in a script and the variable
     ON_ERROR_STOP was set.
2016-01-21 16:57:52 +01:00
Mike McLean
a621081b4e wsdl archivetype 2016-01-15 12:01:51 -05:00
Mike McLean
8168da12cd add rc archivetype 2016-01-04 12:44:35 -05:00
Mike McLean
4d528dfcd4 add missing comma in schema file 2015-12-15 18:55:03 -05:00
Mike McLean
c54ea3312a new archivetypes: shell scripts and batch files 2015-12-10 14:45:37 -05: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
262ec7a7da add groovy script archive type 2015-11-17 14:43:05 -05:00
Mike McLean
87fb7f46e9 Merge remote-tracking branch 'origin/master' into cgen 2015-11-17 10:52:42 -05:00
Mike McLean
6c6bef9630 record and report source and metadata_only fields 2015-11-17 10:46:10 -05:00
Mike McLean
b15ecd5c4e new archive types: json, key, dot 2015-11-10 15:40:16 -05:00
Mike McLean
90d7b36353 add start_time to build table 2015-11-04 17:02:24 -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
Mathieu Bridon
9e81597f6c docs: Document how to write a plugin 2015-10-21 12:16:05 -05:00
Mike McLean
94794bcc94 tweak debug messages in schema update script 2015-10-14 14:59:13 -04:00
Mike McLean
36e56a72e3 more extra data. just use a json text field for it. 2015-10-05 23:23:15 -04:00
Mike McLean
ccd486f534 Revert "more extra data in schema"
This reverts commit e36e5fef1c.
2015-10-05 23:07:24 -04:00
Mike McLean
e36e5fef1c more extra data in schema 2015-10-05 16:33:19 -04:00
Mike McLean
d31e774a1c Merge remote-tracking branch 'origin/master' into cgen 2015-09-21 15:43:01 -04:00
Mike McLean
91c877d359 add/remove user from cg 2015-09-21 15:37:50 -04:00
Mike McLean
0e66cc71ff migration doc for 1.10 2015-07-14 23:37:07 -04:00
Mike McLean
7c527d7d08 schema update script for 1.10 2015-07-14 23:37:07 -04:00
Mike McLean
ba7eb75886 initial support for tag extra options
tag_extra table in schema
report tag extras in taginfo and buildconfig
2015-06-24 09:46:15 -04:00
Mike McLean
e8a30591fa Merge remote-tracking branch 'origin' into cgen 2015-06-18 14:26:18 -04:00
Dennis Gilmore
3260dbebdb schema: add missing image channel from the default schema
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-06-07 08:14:53 -05:00
Dennis Gilmore
108475b6a3 schema: add missiing raw.xz archive type
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-05-04 12:46:45 -04:00
Mike McLean
1ccd2209f4 clean up cgen schema update script 2015-04-27 21:57:16 -04:00
Mike McLean
1f4ca498bd Getting cgen schema update script to working state 2015-04-27 21:57:14 -04:00
Mike McLean
7645098543 schema-update-cgen.sql; fix buildroot_extra_info primary key 2015-04-27 15:42:16 -04:00
Ian McLeod
52a01883d6 Add "real" Vagrant format options to image building.
We originally added Vagrant support by tweaking options sent
to the existing RHEV-M and vSphere OVA generation code.  This was
a bit of a hack and resulted in confusing filenames.

This adds "vagrant-libvirt" and "vagrant-virtualbox" image types,
passes in the correct options to Image Factory and produces output
files with the conventional ".box" extension and more descriptive
and less confusing vagrant name suffixes.
2015-04-23 21:35:46 -05:00
Mike McLean
6c781b6b84 fix constraint name; drop buildroot_extra_info.v_type; drop some obsolete comments 2015-04-16 16:36:44 -04:00
Mike McLean
fec4b3b09b image_archive_listing; add drops for new tables; 2015-04-16 14:39:07 -04:00
Mike McLean
c36adb8eb5 merge some of the new buildroot tables, refactor buildroot_extra_info 2015-04-09 19:56:36 -04:00
Mike McLean
e1f928af6b cg br schema pass 1 2015-04-09 15:29:16 -04:00
Mike McLean
517feb21ee update predefined archivetypes 2015-03-10 14:32:08 -04:00
Mike McLean
bac5601bf8 Revert "image: support xz compressed raw files"
This reverts commit 1cbc534d89.
2014-07-31 17:00:09 -04:00
Dennis Gilmore
1cbc534d89 image: support xz compressed raw files
as we publish the raw files on the mirrors we want to be able to request
xz compressed versions of theraw image.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2014-06-13 12:57:24 -05:00
Mike McLean
0db03151a9 add vdi archive type 2014-05-15 09:51:34 -04:00
Mike McLean
1f8cbbb9f0 1.9 migration docs 2014-03-24 16:41:22 -04:00
Jay Greguske
74233fc888 treat kickstarts as artifacts 2014-02-26 12:14:11 -05:00
Mike McLean
36ad812717 1.8 migration doc 2013-04-19 17:26:15 -04:00
Mike Bonnet
c32f29ebac create the image_listing table after image_archives, because it now references it 2013-04-16 13:01:17 -04:00
Mike McLean
0c72df3257 add xsd to archivetypes 2013-02-25 11:18:05 -05:00
Mike McLean
4075949cb3 only allow image_listing entries for actual images 2012-11-29 16:53:06 -05:00
Mike McLean
390a8fb699 further work on schema upgrade script 2012-11-29 16:53:06 -05:00
Mike McLean
9456dcd9b9 imageinfo_listing -> image_listing 2012-11-29 16:53:06 -05:00
Mike McLean
144fdf1096 partial work on imagebuilds schema upgrade script 2012-11-29 16:53:06 -05:00