Jimmy Berry
77e27fae9e
osclib/conf: exclude sub-projects from matching project patterns.
...
Otherwise, :Update projects match the primary product settings which
gives the wrong impression to tools as things like :Update:Staging do
not exist. Since :Update and other sub-projects are in a different phase
of development they should really have separate settings. :Ports however
does have stagings and in theory should act like parent product. If it
becomes desirable to split that can be done in the future.
Some policy settings related to ReviewBots likely are desirable to carry
over, but that can be resolved in follow-up as they are not currently used.
2018-08-16 23:50:23 -05:00
Jimmy Berry
fb3d58024a
Merge pull request #1646 from jberry-suse/core-maintainers_get-correction
...
osclib/core: maintainers_get(): rework to properly supports groups.
2018-08-16 17:29:37 -05:00
Jimmy Berry
7b0f75667c
Merge pull request #1644 from jberry-suse/repo_checker-CreatePackageDescr-remove-special-ignore
...
repo_checker: CreatePackageDescr: remove more unnecessary special cases.
2018-08-16 17:19:49 -05:00
Jimmy Berry
ffcee027c0
osclib/core: maintainers_get(): rework to properly supports groups.
...
Previously, group members were only added if no maintainers were present
whereas group members should always be considered. Additionally, project
queries never included group members. Now groups are included in both.
2018-08-16 00:31:37 -05:00
Jimmy Berry
038bec6113
osclib/core: provide groups_members() to expand muliple groups users.
2018-08-16 00:27:37 -05:00
Jimmy Berry
600a486745
Utilize ET.fromstringlist() intead of joining strings.
2018-08-16 00:26:53 -05:00
Jimmy Berry
ca55bed494
repo_checker: CreatePackageDescr: remove more unnecessary special cases.
2018-08-15 23:06:14 -05:00
Jimmy Berry
fa1f929d19
Merge pull request #1633 from jberry-suse/repo_checker-automate-whitelist
...
repo_checker: determine existing problems based on project_only output.
2018-08-15 17:29:37 -05:00
Jimmy Berry
2809f3934a
repo_checker: drop whitelist_clean sub-command.
...
No longer needed since the whitelist is no longer managed manually.
2018-08-15 16:43:48 -05:00
Jimmy Berry
9fdea5fbee
repo_checker: determine existing problems based on project_only output.
...
The project level whitelist stored in config is no longer utilized, but
staging level overrides are still available.
2018-08-15 16:43:00 -05:00
Jimmy Berry
eed6ddecbe
Merge pull request #1640 from jberry-suse/repo_checker-layering
...
repo_checker: properly support multi-layer projects
2018-08-15 16:41:49 -05:00
Jimmy Berry
cec5fa6929
Merge pull request #1641 from jberry-suse/repo_checker-whitelist-clean-attribute-fix
...
repo_checker: whitelist_clean(): correct attribute_value_save().
2018-08-15 15:56:03 -05:00
Jimmy Berry
07bc6c031a
repo_checker: whitelist_clean(): correct attribute_value_save().
...
coolo decided to miss this the first time around then "fix" it without
running even once. Wrong number of arguments.
2018-08-14 18:56:37 -05:00
Jimmy Berry
a1cf089572
repo_checker: support multi-layer projects during project_only run.
...
Include problems from all the layers instead of just the top layer as this
is effectively what the end-user would see.
2018-08-14 18:45:13 -05:00
Jimmy Berry
9e862efeb7
repo_checker: properly support multi-layer projects during request mode.
...
Previously, the additional layers supported added by coolo treated them
like staging projects which meant that everything except the bottom
override the bottom. Obviously, for SLE service packs this is not correct.
This rewrorks the underlying perl script to support a stack of directories
where the second directory is assumed the be the target project for the
purposes of the toignore (-f) argument and the top layer is the only
one for which problems are reported.
2018-08-14 18:45:10 -05:00
Jimmy Berry
f629ed8bcd
Merge pull request #1636 from jberry-suse/leaper-incident-support
...
leaper: provide maintenance_incident support.
2018-08-14 15:27:00 -05:00
Jimmy Berry
17dddb4d4d
Merge pull request #1638 from jberry-suse/check_source-in-air-rename-dot-fix
...
check_source: allow for dot in package name during in-air rename check.
2018-08-14 15:16:44 -05:00
Jimmy Berry
e46d9b0910
check_source: allow for dot in package name during in-air rename check.
2018-08-13 22:47:01 -05:00
Jimmy Berry
7c35c5d03e
ReviewBot: check_one_request(): correct logic to return "lowest" result.
...
Without this change if two actions return True and None, True is returned
which is not desirable.
2018-08-08 23:31:41 -05:00
Jimmy Berry
9a1fd7fb7b
leaper: remove only_one_action limitation.
...
Leaper will now be used on maintenance incidents which commonly have
multiple actions. A similar change was done to check_source.py where the
restriction was moved to a review setting which is more appropriate rather
than a hard limitation. Going forward it makes sense to lift the limitation
and have only one bot enforce the rule where appropriate.
2018-08-08 23:31:41 -05:00
Jimmy Berry
e479ddc841
leaper: provide maintenance_incident support.
2018-08-08 23:31:34 -05:00
Ludwig Nussel
0296ba51f3
Merge pull request #1612 from lnussel/manager42
...
manager42: don't consider ignored packages vanished
2018-08-06 17:13:19 +02:00
Stephan Kulow
b58b4e43dc
Merge pull request #1631 from nilxam/fix_expand_repo
...
pkglistgen: respect main_repo setup for other variant
2018-08-03 11:02:05 +02:00
8129bef009
pkglistgen: fix calling expand_repos() in CommandLineInterface
2018-08-03 16:21:16 +08:00
ec019c42ce
pkglistgen: respect main_repo setup for other variant
...
Respect main_repo setup for other variant eg. ARM. Also removed ports
from SCOPES.
2018-08-03 16:21:16 +08:00
dec881dfc2
Merge pull request #1622 from nilxam/fix_lookup_150
...
leaper: fix error with no lookup_150 attribute exist after introduced PackageLookup
2018-08-02 19:07:23 +08:00
Stephan Kulow
cc79ce04f0
Merge pull request #1628 from coolo/fix_1626
...
Lazy evaluation the ring projects
2018-08-01 16:58:33 +02:00
Stephan Kulow
b40036fb71
Lazy evaluation the ring projects
...
So we can use the StagingAPI also for projects below the target
project
Fixes #1626
2018-08-01 16:15:48 +02:00
Stephan Kulow
174755ed28
Merge pull request #1627 from coolo/fix_scopes
...
pkglistgen: Support multiple scopes
2018-08-01 15:47:29 +02:00
Stephan Kulow
af1252ef3e
pkglistgen: Support passing multiple scopes
...
For SLE I need -s target -s staging, but it only did the later - as
I didn't figure the concept of commandline :)
2018-08-01 15:46:50 +02:00
Stephan Kulow
ff717c2006
Merge pull request #1629 from bgeuken/rename_superseded_by_id
...
Rename superseded_by_id to superseded_by
2018-08-01 15:46:25 +02:00
Björn Geuken
9552b16330
Rename superseded_by_id to superseded_by
...
OBS is going to drop the superseded_by_id attribute soon as it is just
an alias for superseded_by.
2018-08-01 10:49:10 +02:00
27f0056e8d
Merge pull request #1623 from nilxam/add_salt
...
Add salt packages to DVD for Staging tests
2018-07-27 14:14:54 +02:00
60514b4404
Add salt packages to DVD for Staging tests
2018-07-27 18:59:42 +08:00
32cd7bc22d
leaper: fix error with no lookup_150 attribute exist after introduced PackageLookup
2018-07-25 18:09:51 +08:00
Stephan Kulow
7920baacc7
Merge pull request #1609 from coolo/fix_pkglist
...
pkglistgen: remove default-support-status option
2018-07-20 09:59:59 +02:00
Stephan Kulow
fb114a75d4
pkglistgen: Commit a summary.yml into 000product-summary if existant
2018-07-19 21:55:52 +02:00
Stephan Kulow
57fe0871dc
pkglist: Review the proper package (000release-packages)
2018-07-19 21:55:52 +02:00
Stephan Kulow
9e23eab573
pkglistgen: allow to pass staging:a as scope
2018-07-19 21:55:50 +02:00
Stephan Kulow
715d94c01a
pkglistgen: remove default-support-status option
...
The OUTPUT groups need to specify the status now or it will default to
unsupported (which should still be fine for leap/factory)
2018-07-19 21:55:14 +02:00
Stephan Kulow
9951b454fb
Merge pull request #1620 from coolo/fix_repo_checker
...
repo_checker: Fix the review loop
2018-07-19 21:54:39 +02:00
Stephan Kulow
c9030efc93
Merge pull request #1621 from jberry-suse/ci-python-dep-revert
...
Revert "dist/ci/Dockerfile: add python2-pyOpenSSL as dependency."
2018-07-19 16:07:18 +02:00
Jimmy Berry
61b055e46d
Revert "dist/ci/Dockerfile: add python2-pyOpenSSL as dependency."
...
This reverts commit c3df9508696dbca3b8e0835704814442ac1871dc.
Fixed upstream in openSUSE/osc#429 .
2018-07-19 08:26:07 -05:00
Stephan Kulow
4f275a5af8
Move expanded_repos into staging api
...
and make pkglistgen and repo_checker use it. We will have more
cases in the future of tools requiring it :)
2018-07-19 09:14:30 +02:00
Stephan Kulow
94e2127dd8
repo_checker: Expand repositories of target project
...
For Factory, Leap and SLE15 it doesn't matter as they are self contained.
But for Service Packs we use layering, so we need to mirror and check them
too
2018-07-19 09:04:40 +02:00
Stephan Kulow
44f93dfa7c
repo_checker: Fix the review loop
...
The break on openQA failures is a left over from 93ee829260a6abf094cbbc31e26eb21bf45e8f15
where we stopped the loop over subprojects. We don't want to break out of
the review loop on openQA failures
2018-07-19 08:44:59 +02:00
2f192f1240
Merge pull request #1619 from nilxam/sync_back_without_dvd
...
Obsoletes create_test_Factory_dvd-2.testcase
2018-07-18 17:39:21 +08:00
56b6fe1fa5
Obsoletes create_test_Factory_dvd-2.testcase
2018-07-18 17:01:31 +08:00
a83493bac2
Merge pull request #1618 from dirkmueller/master
...
Remove debug code accidentally part of #1615
2018-07-17 16:23:34 +08:00
4f58794f8c
Remove debug code accidentally part of #1615
...
Apparently accidentally did a commit --amend --all on last commit,
revert.
2018-07-17 10:03:00 +02:00