Jimmy Berry
c11f78eb83
Merge pull request #1651 from jberry-suse/conf-default-drop-staging
...
osclib/conf: remove staging default for generic projects.
2018-08-17 11:20:13 -05:00
Jimmy Berry
f0fadd6a05
Merge pull request #1650 from jberry-suse/conf-exclude-sub-projects
...
osclib/conf: exclude sub-projects from matching project patterns (and Leap:N:Update defaults)
2018-08-17 10:53:24 -05:00
Jimmy Berry
8092671ced
Merge pull request #1649 from jberry-suse/config-cached-get
...
osclib/conf: provide cached get() method to supersede ReviewBot cache.
2018-08-17 10:39:30 -05:00
Jimmy Berry
2180c4a2c6
ReviewBot: drop self.staging_config post switch to Config.get().
2018-08-17 10:16:47 -05:00
Jimmy Berry
8cffc2e553
repo_checker: use osclib.conf.str2bool() instead of bool().
2018-08-17 10:16:47 -05:00
Jimmy Berry
1012b62830
ReviewBots: utilize Config.get() instead of self.staging_config.
2018-08-17 10:16:47 -05:00
Jimmy Berry
5b5d917074
osclib/conf: provide cached get() method to supersede ReviewBot cache.
...
Given the slow migration of everything to the shared project config in
tools that change project contexts multiple times a consistent way of
accessing the config without forcing remote calls is needed.
2018-08-17 10:16:43 -05:00
Jimmy Berry
343213fb48
check_source: drop staging_group() for target_project_config().
...
The staging_group() method pre-dates the target_project_config(), but
essentially accomplishes the same for a single value.
2018-08-17 10:04:34 -05:00
Jimmy Berry
55116d31b5
Merge pull request #1648 from jberry-suse/config-decouple-and-require
...
osclib/conf: decouple from StagingAPI and always fetch remote config.
2018-08-17 10:02:37 -05:00
Jimmy Berry
93038db6fb
Merge pull request #1647 from jberry-suse/staging-setprio-optional-priority
...
osclib/prio: support non-important priority.
2018-08-17 09:54:42 -05:00
Jimmy Berry
5b44ea188d
osclib/conf: provide Leap:N:Update default settings.
2018-08-17 00:08:09 -05:00
Jimmy Berry
f6550bfe87
osclib/conf: remove staging default for generic projects.
...
The original case was to enable remote config, but in general and with
up-coming changes having the staging setting falsely set like this is not
ideal. Since the remote config is loaded via attribute this does not even
affect it anymore. The proper change is to make the "dashboard" container
configurable which is planned.
2018-08-17 00:03:59 -05:00
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
0696a0fe6c
osclib/stagingapi: utilize osclib.core.attribute_value_*() implementations.
...
Provides convenience aliases that require less arguments.
2018-08-16 22:01:46 -05:00
Jimmy Berry
dace1c3997
tests/obs: improve format of default Config attribute.
2018-08-16 21:54:20 -05:00
Jimmy Berry
760ddf39e6
osclib/conf: decouple from StagingAPI and always fetch remote config.
...
As the remote config is no longer optional for SLE and is utilized by
openSUSE to the point were it is dangerous not to load the remote config
it should be required. Currently only certain users call apply_remote()
while this will make it built-in during construction and thus makes the
usage consistent and no longer require StagingAPI.
2018-08-16 21:53:40 -05:00
Jimmy Berry
68c3150069
osclib/conf: utilize osclib.core.attribute_value_load() instead of StagingAPI.
2018-08-16 21:42:58 -05:00
Jimmy Berry
65be714632
osclib/conf: drop dashboard/config migration to attribute.
...
Should no longer be needed and provides one less dependency on StagingAPI
which will be removed from Config class.
2018-08-16 21:41:14 -05:00
Jimmy Berry
8bdf571154
osclib/core: provide attribute_value_(load|save) adapted from StagingAPI.
2018-08-16 21:38:11 -05:00
Jimmy Berry
a90bf0e07b
osc-staging: add documentation for setprio command.
2018-08-16 18:05:25 -05:00
Jimmy Berry
9c0eb82f51
osclib/prio: support non-important priority.
2018-08-16 18:05:20 -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