Commit graph

6089 commits

Author SHA1 Message Date
Tomas Kopecek
dfce69f6bf PR#2958: DBConnectionString/dsn option for db connection
Merges #2958
https://pagure.io/koji/pull-request/2958

Fixes: #2838
https://pagure.io/koji/issue/2838
Option for using SSL is missing, when the pgsql server is an network one.
2021-08-06 09:57:05 +02:00
Tomas Kopecek
2618c50c3d PR#2970: kojira: Do not ever clean up repositories where 'latest' points to
Merges #2970
https://pagure.io/koji/pull-request/2970

Fixes: #2832
https://pagure.io/koji/issue/2832
Kojira is too aggressive with cleaning up dist-repos
2021-08-06 09:50:58 +02:00
Tomas Kopecek
79b7eb36f2 add debug message 2021-08-06 09:50:51 +02:00
Tomas Kopecek
c7f2a77e71 PR#2955: protonmsg: cast body to text
Merges #2955
https://pagure.io/koji/pull-request/2955

Fixes: #2954
https://pagure.io/koji/issue/2954
protonmsg: message body is not decoded back to String from DB
2021-08-06 09:48:54 +02:00
Yu Ming Zhu
243e114b1f protonmsg: cast body to text 2021-08-06 09:48:47 +02:00
Tomas Kopecek
012a2eb83b PR#2971: hub: document readTaggedRPMS method
Merges #2971
https://pagure.io/koji/pull-request/2971
2021-08-04 09:46:41 +02:00
Ken Dreyer
fb18dcf2f6 hub: document readTaggedRPMS method
Update the readTaggedRPMS RPC docstring to describe all parameters and
the return value.
2021-08-03 15:27:10 -04:00
Tomas Kopecek
6ec2a17736 PR#2950: kojira: Do not ever clean up repositories where 'latest' points to
Merges #2950
https://pagure.io/koji/pull-request/2950

Fixes: #2832
https://pagure.io/koji/issue/2832
Kojira is too aggressive with cleaning up dist-repos
2021-08-03 14:56:54 +02:00
Igor Raits
c972415dec kojira: Do not ever clean up repositories where 'latest' points to
We don't want to leave symlink broken… Ideally we would find out stuff
where we should even remove "latest" but it is not straightforward and I
believe this simple check is good enough for the time being.

Fixes: https://pagure.io/koji/issue/2832
Signed-off-by: Igor Raits <igor.raits@gmail.com>
2021-08-03 14:56:52 +02:00
Tomas Kopecek
f0cad50a48 PR#2965: Add remove-sig CLI and deleteRPMSig hub call
Merges #2965
https://pagure.io/koji/pull-request/2965

Fixes: #2665
https://pagure.io/koji/issue/2665
API for deleting signature
2021-08-02 09:49:52 +02:00
Mike McLean
6af614b71b avoid masking hub errors, avoid duplicate check 2021-07-29 08:22:10 -04:00
Mike McLean
d227f0f626 fix unit tests, use error() 2021-07-28 15:22:37 -04:00
Mike McLean
0d815f8969 exit code, --all handling, typo 2021-07-28 13:12:17 -04:00
Tomas Kopecek
1bb6e7456f recreating absolute path bug 2021-07-21 13:48:15 +02:00
Jana Cupova
fb8cfc5678 Add delete-rpm-sig CLI and deleteRPMSig hub call
Fixes: https://pagure.io/koji/issue/2665
2021-07-21 13:43:09 +02:00
Tomas Kopecek
8d1a94c8d4 PR#2961: flake8/rpmlint fixes
Merges #2961
https://pagure.io/koji/pull-request/2961
2021-07-21 09:53:55 +02:00
Tomas Kopecek
a5f4bd736e fix flake8 line length 2021-07-21 09:52:29 +02:00
Tomas Kopecek
535be03af9 fix invalid date in changelog 2021-07-21 09:51:56 +02:00
Tomas Kopecek
35f92706c7 PR#2960: doc: remove old mod_ssl instructions from server howto
Merges #2960
https://pagure.io/koji/pull-request/2960
2021-07-21 09:48:30 +02:00
Ken Dreyer
3bba899053 doc: remove old mod_ssl instructions from server howto
RHEL 7 has httpd 2.4, so anything older than that is not relevant any
more.
2021-07-21 09:48:24 +02:00
Tomas Kopecek
44c89e3516 DBConnectionString/dsn option for db connection
Alternative DSN connection string fro connecting to postgres. Allow us
to specify e.g. sslmode without adding separate DB* options.

Fixes: https://pagure.io/koji/issue/2838
2021-07-20 11:49:06 +02:00
Tomas Kopecek
efe1aa0416 PR#2936: kojira: don't fail on deleted needed tag
Merges #2936
https://pagure.io/koji/pull-request/2936

Fixes: #2935
https://pagure.io/koji/issue/2935
kojira: regen thread restarts on deleted tag
2021-07-20 10:38:27 +02:00
Tomas Kopecek
60aabf82b7 kojira: don't fail on deleted needed tag
Fixes: https://pagure.io/koji/issue/2935
2021-07-20 10:38:20 +02:00
Tomas Kopecek
9b45805d3a PR#2934: Add btype to protonmsg
Merges #2934
https://pagure.io/koji/pull-request/2934

Fixes: #1217
https://pagure.io/koji/issue/1217
[RFE] add build_type in postBuildStateChange event data of prontonmsg
2021-07-20 10:36:59 +02:00
Jana Cupova
e689602be5 Add btype to protonmsg
Fixes: https://pagure.io/koji/issue/1217
2021-07-20 10:36:53 +02:00
Tomas Kopecek
cfcf900e25 PR#2933: Enable/disable channel
Merges #2933
https://pagure.io/koji/pull-request/2933

Fixes: #1851
https://pagure.io/koji/issue/1851
[RFE] disable channel
2021-07-20 10:33:59 +02:00
Jana Cupova
bc2a51350d Enable/disable channel
Fixes: https://pagure.io/koji/issue/1851
2021-07-20 10:33:50 +02:00
Tomas Kopecek
a844de42ff PR#2942: Increase coverage of CLI unit tests
Merges #2942
https://pagure.io/koji/pull-request/2942
2021-07-19 14:04:20 +02:00
Jana Cupova
88b4f7fa2d Increase coverage of CLI unit tests 2021-07-19 14:04:15 +02:00
Tomas Kopecek
53e3b885f9 PR#2945: cli: pass nosslverify opt to image task
Merges #2945
https://pagure.io/koji/pull-request/2945

Fixes: #2797
https://pagure.io/koji/issue/2797
image-build target does not have a way to specify SSL certificates (or disable SSL)
2021-07-19 09:18:22 +02:00
Yu Ming Zhu
cf2a9cfd36 cli: pass nosslverify opt to image task
fixes: #2797
related: #2860
2021-07-19 09:18:15 +02:00
Tomas Kopecek
21a085a067 PR#2941: Remove unnecessary line from unlock-tag CLI
Merges #2941
https://pagure.io/koji/pull-request/2941

Fixes: #2940
https://pagure.io/koji/issue/2940
CLI unlock-tag rewrite list of selected tags
2021-07-19 09:17:37 +02:00
Jana Cupova
9682a2840c Remove unnecessary line from unlock-tag CLI
Fixes: https://pagure.io/koji/issue/2940
2021-07-19 09:17:30 +02:00
Tomas Kopecek
369b4442e8 PR#2937: Update webUI number of tasks
Merges #2937
https://pagure.io/koji/pull-request/2937

Fixes: #2930
https://pagure.io/koji/issue/2930
web UI - can't see total number of tasks in progress
2021-07-19 09:16:48 +02:00
Jana Cupova
138d8f4e37 Update webUI number of tasks
Fixes: https://pagure.io/koji/issue/2930
2021-07-19 09:16:42 +02:00
Tomas Kopecek
5809e4bb5b PR#2928: Fix py2 packaging
Merges #2928
https://pagure.io/koji/pull-request/2928

Fixes: #2902
https://pagure.io/koji/issue/2902
Wrong py2 packaging
2021-07-19 09:15:01 +02:00
Jana Cupova
ddf88775a8 Fix py2 packaging
Fixes: https://pagure.io/koji/issue/2902
2021-07-19 09:14:54 +02:00
Tomas Kopecek
49fe78d897 PR#2921: Release notes 1.25.1
Merges #2921
https://pagure.io/koji/pull-request/2921

Fixes: #2920
https://pagure.io/koji/issue/2920
1.25.1 Release notes
2021-07-01 08:59:30 +02:00
Tomas Kopecek
bdb9f91890 Release notes 1.25.1
Fixes: https://pagure.io/koji/issue/2920
2021-07-01 08:58:46 +02:00
Tomas Kopecek
544dbbfbde PR#2909: add_rpm_sign catches IntegrityError
Merges #2909
https://pagure.io/koji/pull-request/2909

Fixes: #2835
https://pagure.io/koji/issue/2835
hub doesn't check for rpmsig uniqueness
2021-06-29 14:47:28 +02:00
Jana Cupova
42b985ef22 add_rpm_sign catches IntegrityError
fixes: https://pagure.io/koji/issue/2835
2021-06-29 14:47:22 +02:00
Tomas Kopecek
562e970aed PR#2912: dist-repo takes inherited arch when arch is not set
Merges #2912
https://pagure.io/koji/pull-request/2912

Fixes: #2805
https://pagure.io/koji/issue/2805
dist-repo archs could be inherited
2021-06-29 14:45:45 +02:00
Jana Cupova
31f0db591a dist-repo takes inherited arch when arch is not set
Fixes: https://pagure.io/koji/issue/2805
2021-06-29 14:45:36 +02:00
Tomas Kopecek
1206011bec PR#2905: Add CLI related to channels + add comments to channels
Merges #2905
https://pagure.io/koji/pull-request/2905

Fixes: #1711
https://pagure.io/koji/issue/1711
RFE: koji add-channel

Fixes: #1849
https://pagure.io/koji/issue/1849
[RFE] channel comments
2021-06-29 14:44:54 +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
Tomas Kopecek
ed2b0ad19b PR#2932: [kojixmlrpc] clean noisy error log
Merges #2932
https://pagure.io/koji/pull-request/2932

Fixes: #2929
https://pagure.io/koji/issue/2929
noisy debug code in hub/kojixmlrpc.py
2021-06-28 11:32:07 +02:00
Yuming Zhu
a4152dc96f [kojixmlrpc] clean noisy error log
fixes: #2929
2021-06-28 15:17:12 +08:00
Tomas Kopecek
6f3b54bca4 PR#2910: Hosts page with more filters and added channel column
Merges #2910
https://pagure.io/koji/pull-request/2910

Fixes: #1423
https://pagure.io/koji/issue/1423
[RFE] www hosts page 1:1 with list-hosts

Fixes: #827
https://pagure.io/koji/issue/827
[RFE] Web page listing hosts, could show channels
2021-06-23 15:32:25 +02:00
Jana Cupova
6e1c7e772c Hosts page with more filters and added channel column
Fixes: https://pagure.io/koji/issue/1423
Fixes: https://pagure.io/koji/issue/827
2021-06-23 15:32:18 +02:00
Tomas Kopecek
cadede442c PR#2927: fix test by using datetime.timezone instead of psycopg2.tz
Merges #2927
https://pagure.io/koji/pull-request/2927

Fixes: #2926
https://pagure.io/koji/issue/2926
psycopg2.tz has been deprecated
2021-06-23 13:19:57 +02:00