Commit graph

131 commits

Author SHA1 Message Date
Tomas Kopecek
921258749a removed unused imports 2016-10-04 15:48:54 +02:00
Mike McLean
3fc396db83 fixes to cgen2 schema update 2016-09-28 18:20:09 -04:00
Mike McLean
127926e3dd move build recycling logic into its own function 2016-09-28 18:20:09 -04:00
Mike McLean
35e7be5c52 warn instead of error when sphinx-build is absent 2016-09-28 18:20:09 -04:00
Mike McLean
dc33a0e679 add btype data for legacy builds 2016-09-28 18:20:09 -04:00
Mike McLean
c0cb1ab73e ... 2016-09-28 18:20:09 -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
c78a5aa7ef schema-update-cgen2.sql 2016-09-28 18:20:09 -04:00
Mike McLean
6df2ec8ba4 btypes schema changes 2016-09-28 18:20:09 -04:00
Mike McLean
41ceb5085f pull in content generator doc too 2016-08-24 22:46:45 -04:00
Mike McLean
caf5b86798 fix doc headers 2016-08-24 21:13:05 -04:00
Mike McLean
c1450f1a65 pull in content generator metadata docs
Copied from: https://fedoraproject.org/wiki/Koji/ContentGeneratorMetadata
Converted with pandoc
pandoc -r mediawiki foo.wiki -t rst -o foo.rst
2016-08-24 21:02:20 -04:00
Mike McLean
a6affa38d5 pull docs updates from Fedora wiki 2016-08-23 17:48:18 -04:00
Mike McLean
89cbe3e2f6 minor text adjustments in doc 2016-08-18 11:27:26 -04:00
Lubomír Sedlář
0fff54cff3 Add testing instructions to docs 2016-08-18 11:22:42 -04:00
Mike McLean
fb0266f8d2 docs: correct url 2016-08-11 12:32:36 -04:00
Mike McLean
daade9bb95 docs: update submission guidelines 2016-08-11 12:22:37 -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
Mike McLean
102d325350 re-add install target to docs
Fixes https://pagure.io/koji/pull-request/2

Needed this adjustment to the Makefile to avoid breaking the build
2016-05-07 16:42:02 -04:00
Adam Miller
aeca12010c remove duplicates in the table of contents 2016-05-07 16:42:02 -04:00
Adam Miller
3fd4275fe3 first pass at converting docs to sphinx-doc reStructured Text 2016-05-07 16:42:02 -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
Tomas Mlcoch
86876a1bc9 Support for koji profiles.
This patch is dmach's patch [1] refactored according to mikem's comments [2].

[1] https://lists.fedoraproject.org/pipermail/buildsys/2015-August/004857.html
[2] https://lists.fedoraproject.org/pipermail/buildsys/2015-October/004900.html

Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
2016-03-21 15:45:26 -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
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