5384 Commits

Author SHA1 Message Date
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
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
Jimmy Berry
7915299229 osc-origin: provide sentry_sdk integration. 2019-08-16 16:02:01 -05:00
Jimmy Berry
c71949f12b osc-staging: provide sentry_sdk integration. 2019-08-16 16:02:01 -05:00
Jimmy Berry
5dd0a99068 ReviewBot: provide sentry_sdk integration. 2019-08-16 16:01:55 -05:00
Jimmy Berry
6003bff62a osclib/sentry: provide initial sentry_sdk handling.
Allows for DSN to be configured via oscrc general.sentry_sdk.dsn.
2019-08-16 15:12:19 -05:00
Jimmy Berry
723e45f353
Merge pull request #2158 from jberry-suse/origin-userscript-request-fix
userscript/origin: restore request origin lookup.
2019-08-16 15:03:11 -05:00
Jimmy Berry
45d065b027 userscript/origin: update release request handling. 2019-08-16 14:46:05 -05:00
Jimmy Berry
249a35efe6 userscript/origin: hide request card when no OSRT:OriginConfig. 2019-08-16 14:45:27 -05:00
Jimmy Berry
941859bc3c userscript/origin: update request card column xpath. 2019-08-16 14:44:27 -05:00
Jimmy Berry
0bb5815bda
Merge pull request #2156 from Vogtinator/armrebuild
Add rebuild trigger for openSUSE:Factory:ARM
2019-08-14 10:07:20 -05:00
21d9b1b3a6 Add rebuild trigger for openSUSE:Factory:ARM 2019-08-14 16:38:47 +02:00
Jimmy Berry
1e238223ec
Merge pull request #2155 from jberry-suse/request-splitter-quick-update
osclib/request_splitter: update quick strategy for origin-manager and staging checks
2019-08-13 17:25:09 -05:00
Jimmy Berry
b3cae3c23e
Merge pull request #2154 from jberry-suse/gocd-leap-duplicate-binaries
gocd: duplicate Duplicated.Binaries check for Leap.
2019-08-13 17:16:09 -05:00
Jimmy Berry
e2695ca665 gocd: duplicate Duplicated.Binaries check for Leap. 2019-08-13 16:59:13 -05:00
Jimmy Berry
d5188b326f osclib/request_splitter: quick strategy: s/leaper/origin-manager/. 2019-08-13 16:55:42 -05:00
Jimmy Berry
d3593cfed9 osclib/request_splitter: quick strategy: remove repo-checker from whitelist. 2019-08-13 16:55:42 -05:00
Jimmy Berry
d73531de78
Merge pull request #2149 from jberry-suse/origin-manager-update-gocd
origin-manager: switch away from manager_42 and drop old configs
2019-08-09 10:29:01 -05:00
Jimmy Berry
33b58c3b69
Merge pull request #2150 from jberry-suse/origin-manager-gocd-install-origin-plugin
gocd/checkers.opensuse: wrap OS.Origin.Manager.Update with osc-origin install.
2019-08-08 17:02:47 -05:00
Jimmy Berry
cd6c00e4b6 config/manager_42: drop openSUSE:Leap:15.2 config. 2019-08-08 16:59:02 -05:00
Jimmy Berry
c8d7c6c8db config/manager_42: drop SUSE:SLE-15-SP2:GA config. 2019-08-08 16:59:02 -05:00
Jimmy Berry
29fb8fa29d gocd/checkers.suse: drop SLE-SP2.Manager42 job. 2019-08-08 16:59:02 -05:00
Jimmy Berry
91b991e959 gocd/checkers.suse: add S15.SP2.Origin.Manager.Update job. 2019-08-08 16:58:58 -05:00
Jimmy Berry
e538b0b038 gocd/checkers.opensuse: wrap OS.Origin.Manager.Update with osc-origin install.
This is very ugly, but following the pattern laid forth.
2019-08-08 16:55:15 -05:00
Jimmy Berry
410ee5140a
Merge pull request #2145 from jberry-suse/origin-manager-update-single
origin-manager: provide equivalent to update_crawler as osc-origin update command
2019-08-08 15:22:04 -05:00
Jimmy Berry
ff7bfdca71 gocd: provide OS.Origin.Manager.Update. 2019-08-07 17:59:04 -05:00
Jimmy Berry
40aa37edb9 osc-origin: provide update command. 2019-08-07 17:59:04 -05:00
Jimmy Berry
5230864d72 osclib/origin: provide origin_update() to process updating single package. 2019-08-07 17:59:04 -05:00
Jimmy Berry
7478a42882 osclib/core: provide request_create_delete(). 2019-08-07 17:58:57 -05:00
Jimmy Berry
f441d8e41d osclib/core: provide request_create_submit() and RequestFuture. 2019-08-07 17:26:38 -05:00
Jimmy Berry
844a9d28a5 osclib/core: provide message_suffix() and utilize in source_file_save(). 2019-08-07 17:26:38 -05:00
Jimmy Berry
914d106184
Merge pull request #2143 from jberry-suse/origin-manager-always-include-project-link
osclib/origin: always include project link when fetching source history.
2019-08-06 07:39:54 -05:00
Jimmy Berry
390c2afefa osclib/origin: always include project link when fetching source history.
This was debated as for SLE this would add some repetition when not
going to match a SLE origin anyway, but it is necessary to stabilize
maintenance origins.

When an :Update project is first created all sources are inherited which
means all the revisions from the top project's source container are
considered. Once an update is provided via a maintenance incident the
inherited sources are no longer presented and instead the only revision
seen is the maintenance update and future updates.

When a new version of Leap is created and all source containers are copied
from the previous version the origin will first be considered :Update of
the previous Leap version, but once a maintenance update is created it
will drop the the non-:Update prior version since the matching revision is
missing. If the update is submitted the origin will flip back to :Update.

In order to avoid this mess always utilize include_project_link=True
which will effective consider the maintenance update as the newest
revision while continuing to consider the inherited revisions.

For SLE, were all projects are stacked this means there will almost always
be 10 revisions to review after the first could releases.

Realistically this is yet another failing of the OBS source control model since
the original source revision available (via inheritance) in the :Update project is
lost after the first update.
2019-08-05 15:46:11 -05:00
Stephan Kulow
07c607e664
Merge pull request #2142 from coolo/stable_output
Fix --no-no-rebuild for rebuildpacs
2019-07-30 09:10:38 +02:00
Stephan Kulow
e073e7faa9 Fix parsing of the --no-rebuild option
I misread the documentation as it talks about generating defaults, but
without option it's None
2019-07-30 09:03:51 +02:00