5305 Commits

Author SHA1 Message Date
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
c4bd3fef84
Merge pull request #2130 from jberry-suse/leap-15.2-config
config/{announcer,manager_42}: update for Leap 15.2.
2019-07-18 14:13:43 +02:00
Jimmy Berry
bd60bbd6ce config/manager_42: update for Leap 15.2. 2019-07-17 16:07:35 -05:00
Jimmy Berry
cfba992733 config/announcer: update for Leap 15.2. 2019-07-17 16:06:21 -05:00
Jimmy Berry
f688158f55
Merge pull request #2126 from jberry-suse/origin-manager-maintenance
origin-manager: handle maintenance workflow at multiple levels
2019-07-16 11:10:14 -05:00
Jimmy Berry
0688993ffc origin-manager: always accept review when no OSRT:OriginConfig.
Maintenance, as usual, makes things rather complex since it may have
single or multiple actions or which all, none, or some may be reviewable.
2019-07-16 10:28:41 -05:00
Jimmy Berry
f0291f63e8 osclib/origin: correct import order. 2019-07-16 10:28:41 -05:00
Jimmy Berry
9975f51670 osclib/origin: support pending source lookup against maintenance origin.
Works for both maintenance incident (both states) and release.
2019-07-16 10:28:41 -05:00
Jimmy Berry
e67ee85b5a osclib/origin: handle nested annotation loading and support maintenance incidents. 2019-07-16 10:28:27 -05:00
Jimmy Berry
b34a93e590 osclib/core: provide a series of request list generators.
Given the broken design of multi-action requests which continually wreaks
havoc on code attempting to handle them properly a series of methods for
searching for requests are provided to simplify the process. The core
principal is that both a request and action are returned since the
specific action that matched the search query is important.

Further poorly designed maintenance data structure is also abstracted to
provide a consistent interface for querying source changes regardless of
their state in the workflow.
2019-07-16 10:27:41 -05:00
Jimmy Berry
4e1aed28a1 origin-manager: allow for skipping actions with no config when multiple.
Skipping actions that are not relevant for origin review is essential for
the maintenance workflow where multi-actions may include projects not
managed by origin-manager, but the remaining actions should be reviewed.
2019-07-16 10:27:41 -05:00
Jimmy Berry
cd6b2b3c33 ReviewBot: nest review messages by action key when multiple actions.
Not only does this expose previously hidden messages on multi-action
requests, but also provides clarity as to which action triggered a
specific response. Since the keys are generated in a standard way and
the data formatted as YAML it can also be retrieved.
2019-07-16 10:27:37 -05:00
Stephan Kulow
4693df7f9c
Merge pull request #2127 from fcrozat/master
fix SLE15 SP2 pkglist generator pipeline
2019-07-12 11:34:27 +02:00
d7638c54e6 fix git repository and ensure return value is not ignored
Co-authored-by: Stephan Kulow <coolo@suse.de>
2019-07-12 11:33:05 +02:00
238abef376
Merge pull request #2125 from DimStar77/grafana
dist: package /etc/grafana with the same mode as grafana
2019-07-12 08:41:50 +02:00
Jimmy Berry
fa41d3ae21 osclib/origin: origin_annotation_dump() provide raw option. 2019-07-11 16:12:46 -05:00
Jimmy Berry
0f1b9d667e osclib/core: provide request_action_key().
Intended to facilitate standardized keys for action specific information
placed in review scoped storage (ie. reviews/comments).
2019-07-11 16:06:06 -05:00
Jimmy Berry
aa444f79e6 osclib/core: enhance attribute_value_load() to handle boolean attributes. 2019-07-11 16:02:14 -05:00
Jimmy Berry
a8ff27b81f osclib/core: provide action_is_patchinfo() from ReviewBot.
Allows for usage outside of ReviewBot children.
2019-07-11 16:01:42 -05:00
Jimmy Berry
e991b44633 osclib/core: provide simplified search() and utilize. 2019-07-11 15:58:35 -05:00
816c9c165c
dist: package /etc/grafana with the same mode as grafana 2019-07-11 12:52:23 +02:00
Stephan Kulow
a1d38b7960
Merge pull request #2124 from coolo/fix_sp2
Fix SP2 config
2019-07-11 07:12:40 +02:00
Stephan Kulow
f79e2ecabf Fix SP2 config
- staging plugin needs to be linked
- staging reports need to be written as staging-bot
2019-07-11 07:11:18 +02:00
Stephan Kulow
282c7d6aa6
Merge pull request #2122 from coolo/change_pipeline_name
Integrate installcheck into the sp2 pipeline
2019-07-10 07:04:02 +02:00
Stephan Kulow
369feed31f Integrate installcheck into the sp2 pipeline 2019-07-09 18:30:39 +02:00
Stephan Kulow
b352254960 gocd: call generate.sh to fixup previous commit 2019-07-09 16:58:17 +02:00
Stephan Kulow
ee0617546f
Merge pull request #2121 from jberry-suse/origin-manager-gocd-sle
gocd: add origin-manager to SLE checkers.
2019-07-09 16:53:54 +02:00
Jimmy Berry
135e3910c3 gocd: add origin-manager to SLE checkers. 2019-07-09 08:12:36 -05:00
Stephan Kulow
280c206c67
Merge pull request #2120 from coolo/staging_bot
Run staging bot on SP2
2019-07-09 14:09:20 +02:00
Stephan Kulow
6b1d69f45b Run staging bot on SP2 2019-07-09 13:43:06 +02:00
Stephan Kulow
7f37712fe6
Merge pull request #2119 from DimStar77/petsc
rebuildpacs: ignore issues of petsc:openmpi
2019-07-08 15:09:56 +02:00
67b72cb82b
rebuildpacs: ignore issues of petsc:openmpi
A further workaround for https://github.com/openSUSE/openSUSE-release-tools/issues/1222
2019-07-08 12:13:58 +02:00
365dacdd11
Merge pull request #2114 from nilxam/scan_baselibs
Add a script scan_baselibs.py to verifying importing 32bit binaries
2019-07-08 16:53:09 +08:00
aface14037 Add a script scan_baselibs.py to verifying importing 32bit binaries 2019-07-05 17:20:32 +08:00
Stephan Kulow
052a5abc9b
Merge pull request #2118 from coolo/change_pipeline_name
Fix some python2/python3 confusion with pkglistgen (for sle)
2019-07-05 10:06:17 +02:00
Stephan Kulow
778e82b044 Fix some python2/python3 confusion with pkglistgen (for sle) 2019-07-05 09:47:57 +02:00
Stephan Kulow
cd7cbf3e5a
Merge pull request #2117 from coolo/change_pipeline_name
Change name of the staging pipeine - gitlab is historical
2019-07-05 09:31:00 +02:00
Stephan Kulow
19deca48ba Change name of the staging pipeine - gitlab is historical 2019-07-05 09:08:48 +02:00
Stephan Kulow
e743fab0bb
Merge pull request #2116 from gyr/change_sle15_target
Change target from SLE15-SP1 to SLE15-SP2
2019-07-05 09:03:24 +02:00
386f9a39e0 Change target from SLE15-SP1 to SLE15-SP2 2019-07-04 17:21:31 -03:00
Stephan Kulow
4e728eb86e
Merge pull request #2115 from coolo/add_sp2_staging_pipelines
Run pkglistgen on sp2 stagings
2019-07-04 21:51:57 +02:00
Stephan Kulow
18b9ab2faa Run pkglistgen on sp2 stagings 2019-07-04 21:39:54 +02:00
Stephan Kulow
500184e100
Merge pull request #2113 from ismail/phub-15.1
Add manager_42 configuration for Package Hub 15 SP1
2019-07-04 21:34:30 +02:00
İsmail Dönmez
4727cce7f1
Add the Package Hub 15 SP1 config to gocd 2019-07-04 10:55:20 +02:00
İsmail Dönmez
7bdda71b74
Add manager_42 configuration for Package Hub 15 SP1 2019-07-04 10:33:42 +02:00
Stephan Kulow
dd9c9d455a
Merge pull request #2111 from sysrich/master
Add MicroOS announcer instance
2019-06-13 18:43:15 +02:00
Richard Brown
f6980da88b Run MicroOS & Kubic announcers at different times 2019-06-13 16:35:30 +02:00
Richard Brown
8b5d9bd469 Add MicroOS announcer instance 2019-06-13 16:03:18 +02:00
Stephan Kulow
c85f9d9df8
Merge pull request #2109 from sysrich/master
Send Kubic announcements to correct mailinglist
2019-06-12 18:12:01 +02:00
Richard Brown
ba12f1b15d Send Kubic announcements to correct mailinglist 2019-06-12 16:58:11 +02:00