Tomas Kopecek
e461659a8a
Index for rpm search
...
Related: https://pagure.io/koji/issue/3448
2022-10-18 12:04:31 +02:00
Jana Cupova
8d3bf008ac
Use compression_type in listArchiveFiles
...
Fixes: https://pagure.io/koji/issue/855
2022-06-27 15:00:32 +02:00
Jana Cupova
1252129136
Add description for permissions
...
Fixes: https://pagure.io/koji/issue/335
2022-01-31 10:21:58 +01:00
Jana Cupova
bc2a51350d
Enable/disable channel
...
Fixes: https://pagure.io/koji/issue/1851
2021-07-20 10:33:50 +02:00
Jana Cupova
aec9fba121
Add CLI related to channels + add comments to channels
...
Fixes: https://pagure.io/koji/issue/1711
Fixes: https://pagure.io/koji/issue/1849
2021-06-29 14:44:47 +02:00
Jana Cupova
6a2c6e7586
Repo info with task id
...
Fixes: https://pagure.io/koji/issue/888
2021-04-19 15:15:10 +02:00
Tomas Kopecek
3f71076eba
Revert "PR#2576: db: add debian package archivetype"
...
This reverts commit b19f1760bf , reversing
changes made to b3f548f803 .
We've agreed that adding new archivetypes should be done via API not by
default values in db.
Related: https://pagure.io/koji/issue/2575
Related: https://pagure.io/koji/pull-request/2576
2021-02-04 15:59:17 +01:00
Tomas Kopecek
51f79c5f48
db: add debian package archivetype
...
Fixes: https://pagure.io/koji/issue/2575
2021-01-13 14:40:05 +01:00
Tomas Kopecek
3491554405
unify sql case
2020-12-14 11:42:01 +01:00
Tomas Kopecek
24bd694865
external repos can have specified arch list
...
Fixes: https://pagure.io/koji/issue/2538
2020-11-24 13:56:29 +01:00
Tomas Kopecek
5167fee215
proton: missing default value for timestamp
...
Related: https://pagure.io/koji/issue/2230
2020-10-01 09:21:51 +02:00
Mike McLean
4ddc48e72a
avoid message re-insertion, extend test mode, schema and docs updates
...
include new table in main schema, since this plugin is part of Koji itself
clean up and expand the docs for this plugin
refactor query_from_db() into handle_db_msgs()
* fix lock error cases
* only delete messages from queue if we successfully send them
* handle test_mode
allow test_mode to exercise db queue via test_mode_fail setting
2020-09-30 10:14:49 +02:00
Tomas Kopecek
08494de774
block inherited extra tag info
...
Fixes: https://pagure.io/koji/issue/2283
2020-09-28 11:03:43 +02:00
Tomas Kopecek
f49d2fdbe9
db: additional index
...
Fixes: https://pagure.io/koji/issue/2418
2020-08-25 11:27:05 +02:00
Tomas Kopecek
6d41344d38
hub: fix index so it gets used by planner
...
Fixes: https://pagure.io/koji/issue/2333
2020-06-24 15:02:05 +02:00
Tomas Kopecek
87b8cf718a
db: use timestamps with timezone
...
Fixes: https://pagure.io/koji/issue/2160
2020-06-24 09:44:52 +02:00
Yuming Zhu
944d105571
hub: editTagExternalRepo is able to set merge_mode
...
fixes : #1857
2020-03-25 13:39:30 +01:00
Tomas Kopecek
b54c32af1a
use real time for events
...
NOW() is time of transaction start. For long transaction, there could be
race and some other transactions which ended earlier can have newer
events. clock_timestamp returns real time (changes during transaction),
so it should be better for this case.
Fixes: https://pagure.io/koji/issue/1747
2020-03-19 14:30:24 +01:00
Mike McLean
51c5c9715a
outdated comment
2020-02-05 11:36:34 +01:00
Tomas Kopecek
22dc480b18
add all used permissions to db
...
Fixes: https://pagure.io/koji/issue/1637
2019-10-16 10:01:43 +02:00
Ken Dreyer
f5a845be14
enforce unique content generator names in database
...
Set a uniqueness constraint on the content generator name in the
database.
Prior to this change, we were only enforcing this in the hub application
layer. Configure this in postgres for safety.
2019-10-14 10:07:41 +02:00
Yuming Zhu
f47d630acd
update schema with new table - user_krb_principals
2019-10-10 16:37:56 +02:00
Steve Milner
a1a90570c9
docs/schema.sql: update for changes in schema-upgrade-1.18-1.19.sql
2019-09-26 17:36:39 +02:00
Yuming Zhu
417d230277
fix schema.sql introduced by moving owner from tag_packages to another table
...
related: https://pagure.io/koji/pull-request/1473
fixes: https://pagure.io/koji/issue/956
2019-09-26 17:21:31 +02:00
Tomas Kopecek
3de3f61fbb
move tag/package owners to separate table
...
Changing owner is triggering repo regeneration in kojira. As it is
something which doesn't have any effect on repodata, let's put it to
separate table and let kojira ignore these changes.
Fixes: https://pagure.io/koji/issue/956
2019-08-29 15:44:24 +02:00
Tomas Kopecek
f1d2ebc85c
move cg_id to build table
2019-07-16 10:11:55 -04:00
Tomas Kopecek
f6a845c870
restrict to cg_id
2019-07-16 10:11:55 -04:00
Tomas Kopecek
f2647a687b
use token for reservation
2019-07-16 10:11:54 -04:00
Tomas Kopecek
c775031e9d
few more useful indices on tag_packages
2019-07-11 15:22:33 -04:00
Tomas Kopecek
e39d92164f
Create db index for listTagged
...
Fixes: https://pagure.io/koji/issue/1352
2019-07-11 15:22:33 -04:00
Tomas Kopecek
e14d60b78f
update migration for notification optouts
2019-07-09 13:34:36 -04:00
Mike McLean
7a302ce6ad
new table for notification blocks
2019-07-09 13:34:36 -04:00
Ben Howard
8d0624bf2f
Add raw-gz and compressed QCOW2 archive types.
2019-06-26 16:06:59 -04:00
Tomas Kopecek
03bf5554c5
use better index for sessions
...
Fixes: https://pagure.io/koji/issue/1372
2019-06-13 16:15:40 -04:00
Mike McLean
a190035862
add vhdx archivetype
2019-03-26 10:05:54 -04:00
Tomas Kopecek
3c56e125de
add .tgz to list of tar's possible extensions
...
Fixes: https://pagure.io/koji/issue/1343
2019-03-14 15:21:43 +01:00
Tomas Kopecek
3d6b640c56
Modify SQL update scripts
2018-09-20 12:37:26 -04:00
Mike McLean
3273d249cd
merge mode is part of tag connection rather than inherent to repo
2018-09-20 12:37:26 -04:00
Mike McLean
f2b2a82c4b
merge_mode field for external repos
2018-09-20 12:37:26 -04:00
mprahl
c21124ee12
Allow longer Build Target names
2018-05-23 18:32:34 -04:00
Mike McLean
5ec9e2379c
schema fixes
2018-04-30 11:35:25 -04:00
Tomas Kopecek
b50479abb0
host_channels history
2018-04-30 11:35:25 -04:00
Tomas Kopecek
0f8238dd33
add index
2018-04-30 11:35:25 -04:00
Tomas Kopecek
a5b713e438
update schema.sql for host_config
2018-04-30 11:35:25 -04:00
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