Commit graph

101 commits

Author SHA1 Message Date
Mike McLean
c00084285d give the archivetype a unique name 2018-02-26 15:24:25 -05:00
Mike McLean
d1b2e16915 compressed xml archive type 2018-02-26 15:24:25 -05:00
Yuming Zhu
12121dc191 add xjb and yaml type in archivetypes table
to fix [issue#574](https://pagure.io/koji/issue/574)
2017-08-29 18:07:43 +08:00
Tomas Kopecek
d17157cf33 drop unused add_db_logger call and db table
Fixes: https://pagure.io/koji/issue/469
2017-07-06 11:15:00 -04:00
Brendan Reilly
d9280d6945 Increase 50 character limit of tag names 2017-04-25 14:07:52 -04:00
Mike McLean
8346a60976 more renaming 2017-03-30 09:47:20 -04:00
Jay Greguske
9b504a280c add signed flag to repo table 2017-03-30 09:37:56 -04:00
Mike McLean
275aa83b0f more schema updates 2016-09-28 18:20:09 -04:00
Mike McLean
ea84af67ce add btype_id to archiveinfo 2016-09-28 18:20:09 -04:00
Mike McLean
6df2ec8ba4 btypes schema changes 2016-09-28 18:20:09 -04:00
Mike McLean
7b480adeb1 add jnilib archivetype 2016-07-26 11:25:15 -04:00
Mike McLean
d14dbaacaa add tlb archive type 2016-06-14 12:10:45 -04:00
Mike McLean
cbd6ca9ced misc fixes 2016-05-16 14:02:06 -04:00
Fabian Deutsch
4729adc5f9 Add support for liveimg-squashfs
This patch adds support to build squashfs images which are compatible to
anaconda's liveimg directive and dracuts liveimg feature.
The feature is pretty simple, as it just reuses the raw diskimage, and
strips the disklabel, to retrieve the plain filesystem image.

Two open issues:
- Stripping the disk label is a pretty hack
- Database schema upgrade is missing

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
2016-03-30 12:18:56 -04:00
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
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
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
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
Jay Greguske
74233fc888 treat kickstarts as artifacts 2014-02-26 12:14:11 -05:00