5418 Commits

Author SHA1 Message Date
Jimmy Berry
72c1e9b445
Merge pull request #2179 from jberry-suse/sentry-sdk-updates
sentry: update for 0.11.x, general improvements, and operator exception handling
2019-08-29 15:09:59 -05:00
Jimmy Berry
3a2aed7f33 obs_operator: override HTTPServer.handle_error() to capture exceptions. 2019-08-29 14:36:01 -05:00
Jimmy Berry
d10a359c0c osclib/sentry: tag osc version. 2019-08-29 14:10:29 -05:00
Jimmy Berry
eb0a6c4659 osclib/sentry: provide dummy client. 2019-08-29 14:10:29 -05:00
Jimmy Berry
cbfbb88048 osclib/sentry: sentry_client(): handle 0.11.x API change. 2019-08-29 14:10:29 -05:00
Jimmy Berry
e912e9d2c3
Merge pull request #2178 from jberry-suse/obs_operator-cookie-legality
obs_operator: allow illegal cookie keys.
2019-08-29 10:40:08 -05:00
Jimmy Berry
41ea0c132f obs_operator: allow illegal cookie keys. 2019-08-29 10:03:00 -05:00
Jimmy Berry
f74d0c1d49
Merge pull request #2176 from jberry-suse/osc-origin-progress-text
osc-origin: update: indicate which package is being checked.
2019-08-29 08:26:41 -05:00
Jimmy Berry
970f6067ed osc-origin: update: indicate which package is being checked. 2019-08-29 08:04:41 -05:00
Jimmy Berry
642809099b
Merge pull request #2175 from jberry-suse/origin-manager-web-history-diff
web/origin-manager: allow a request to be diffed against a potential origin (and related fixes).
2019-08-29 08:02:26 -05:00
Jimmy Berry
a189e94615 web/origin-manager: allow a request to be diffed against a potential origin. 2019-08-28 17:16:13 -05:00
Jimmy Berry
e3d67622e9 web/origin-manager: display the reason for a diff failure. 2019-08-28 17:15:19 -05:00
Jimmy Berry
114f25e004 web/origin-manager: properly handle potential origin de-selection. 2019-08-28 17:13:41 -05:00
Jimmy Berry
0e1d9ef25a web/origin-manager: properly handle package de-selection. 2019-08-28 17:12:53 -05:00
Jimmy Berry
275db9b0d2 web/origin-manager: clear table data before loading new data.
Further clarifies new data is being loaded and when an error occurs the
prior data does not remain after the error messsage.
2019-08-28 17:10:51 -05:00
Jimmy Berry
5ee09feb27 web/origin-manager: table_selection_set(): handle undefined table. 2019-08-28 17:09:54 -05:00
Jimmy Berry
edfef91b3d osclib/origin: origin_history(): expose source_(project,package,revision).
This is the best location to expose the information as the action context
is already available. Alternatively, a lookup function accepting a request
target_project and target_package could perform the equivalent of the
client-side filter operation that is part of the initial search. This also
alleviates additional queries that would be needed later.
2019-08-28 17:07:23 -05:00
Jimmy Berry
b466442260 obs_operator: handle_package_diff(): expose target package and revision. 2019-08-28 17:04:48 -05:00
Jimmy Berry
14971e2db0
Merge pull request #2174 from jberry-suse/sentry-improvements
sentry improvements and check_source logger error demotion
2019-08-28 15:34:02 -05:00
Jimmy Berry
7400d7d5e7 osc-origin: capture exception with sentry to ensure they are reported. 2019-08-28 15:09:45 -05:00
Stephan Kulow
97f37e8092
Merge pull request #2172 from DimStar77/bfr
gocd: use sep pipeline for build-fail-reminder
2019-08-28 16:42:04 +02:00
Stephan Kulow
4155474e39
Merge pull request #2170 from DimStar77/checknewer-py3
checknewer.py: Use python3 shebang
2019-08-28 16:41:54 +02:00
Stephan Kulow
79d31cd963
Merge pull request #2171 from lnussel/master
gocd: add Leap 15.2 announcer
2019-08-28 16:40:40 +02:00
74846d2cb2
gocd: use sep pipeline for build-fail-reminder 2019-08-28 15:05:51 +02:00
Ludwig Nussel
fca343511f gocd: add Leap 15.2 announcer 2019-08-28 14:59:31 +02:00
3d65059281
checknewer.py: Use python3 shebang 2019-08-28 13:52:21 +02:00
Stephan Kulow
30c7a9a268
Merge pull request #2157 from andreas-schwab/master
update_repo_handler: properly extract factory build string
2019-08-28 11:58:35 +02:00
Jimmy Berry
7a913b34d4 check_source: check for target package not found when checking out.
When new packages are submitted the target package should not exist and
thus does not constitute an error. Any other return code does.
2019-08-27 14:49:17 -05:00
Jimmy Berry
208336ca80 ReviewBot: action_method(): drop request.type sentry extra in favor or action.key. 2019-08-27 14:45:29 -05:00
Jimmy Berry
4ca9995b5d ReviewBot: simplify sentry_sdk initialization line since defined globally. 2019-08-27 14:44:54 -05:00
Jimmy Berry
b0d7e9930a ReviewBot: provide request.id and action.key as sentry extras. 2019-08-27 14:44:42 -05:00
Jimmy Berry
ca4033e614 ReviewBot: action_method(): reduce sentry extra to filter(None, ...). 2019-08-27 14:31:00 -05:00
Jimmy Berry
37386e0c74 osclib/common: provide version_calcuate() and utilize by default. 2019-08-27 14:27:11 -05:00
Jimmy Berry
6e8e461e1c osclib/git: provide describe(). 2019-08-27 14:27:08 -05:00
Jimmy Berry
2189443994 osclib/git: remove unnecessary CacheManager import. 2019-08-27 14:13:10 -05:00
Jimmy Berry
7f92a226fc
Merge pull request #2168 from jberry-suse/ReviewBot-logger-reduction
ReviewBot: reduce unhandled request type log message from error to info.
2019-08-27 08:38:57 -05:00
Jimmy Berry
12d15ae850 ReviewBot: reduce unhandled request type log message from error to info.
Uninteresting request action types are intentionally left to the default
handler and does not constitute and error.
2019-08-27 08:20:13 -05:00
Jimmy Berry
cf98ac16de
Merge pull request #2167 from jberry-suse/origin-manager-none-origin-override
osclib/origin: origin_annotation_dump(): allow origin_info_new to be None.
2019-08-26 15:45:34 -05:00
Jimmy Berry
54c28b6908 osclib/origin: origin_annotation_dump(): allow origin_info_new to be None.
A None origin annotation can be generated when unknown_origin_wait is True
and an override comment is detected.
2019-08-26 15:09:25 -05:00
Jimmy Berry
bf48f33adf
Merge pull request #2153 from jsegitz/master
check_source: add a review for the security team if there are warnings about missing
2019-08-22 11:17:04 -05:00
Johannes Segitz
b445589f87 check_source: add a review for the security team if there are warnings
about missing whitelist entries and this is submitted to a project that
has this check activated via attribute OSRT:Config (add to
bad-rpmlint-entries)
2019-08-22 08:42:05 +02:00
Stephan Kulow
b9c7635cfc
Merge pull request #2163 from jberry-suse/gocd-origin-manager-timer-fix
gocd: *.Origin.Manager.Update: shift timer to account for seconds.
2019-08-20 14:54:04 +02:00
Jimmy Berry
55bcb8b34d gocd: *.Origin.Manager.Update: shift timer to account for seconds. 2019-08-20 07:47:45 -05:00
Jimmy Berry
a1d076d067
Merge pull request #2161 from jberry-suse/origin-userscript-request-fix-revert
Revert "userscript/origin: hide request card when no OSRT:OriginConfig."
2019-08-16 17:37:28 -05:00
Jimmy Berry
7bd839f1f0 Revert "userscript/origin: hide request card when no OSRT:OriginConfig."
This reverts commit 249a35efe6be9ebbf516fc4c5969cdc33e9cb767.

Undesired hide on package pages and acceptable on request.
2019-08-16 17:36:45 -05:00
Jimmy Berry
a7d8e04488
Merge pull request #2160 from jberry-suse/gocd-origin-manager-include-leapr-nonfree
gocd: include :NonFree in OS.Origin.Manager.Update.
2019-08-16 16:47:55 -05:00
Jimmy Berry
bf09c01d23 gocd: include :NonFree in OS.Origin.Manager.Update. 2019-08-16 16:29:09 -05:00
Jimmy Berry
74b9714a25
Merge pull request #2159 from jberry-suse/sentry-initial
Initial sentry integration and configuration for obs_operator, osc-{origin,staging}, and ReviewBot.
2019-08-16 16:27:04 -05:00
Jimmy Berry
776747c9b5 osclib/sentry: expose environment configuration. 2019-08-16 16:02:01 -05:00
Jimmy Berry
8b82d024f6 obs_operator: provide sentry_sdk integration. 2019-08-16 16:02:01 -05:00