Jimmy Berry
9c0eb82f51
osclib/prio: support non-important priority.
2018-08-16 18:05:20 -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
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
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
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
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
d113e01bbb
Add Leap 15.1 ARM support
2018-07-16 15:51:47 +02:00
Stephan Kulow
ae97da90e5
Remove more of :DVD subproject handling
2018-07-05 20:43:07 +02:00
6a8062c071
check_command: subproject method is no longer exists in dashboard
2018-07-05 16:31:25 +08:00
71763873e3
stagingapi: remove staging_walk() function
...
DVD subproject has been obsoleted, no need to check :DVD anymore.
2018-07-04 21:27:19 +08:00
93ee829260
stagingapi: remove project_status_walk() function
...
subprojects method has been removed from dashboard,
project_status_walk() is not needed anymore.
2018-07-04 21:24:24 +08:00
Ludwig Nussel
9e59de4feb
stagingapi: add support for Backports
2018-07-03 15:25:56 +02:00
Ludwig Nussel
6bdf227553
stagingapi: apply default config first
...
by reinterpreting the fallback as default we can actually install
default values without having to touch all other sections
2018-06-29 13:07:05 +02:00
30c32af1aa
No longer have Ring2 and staging :DVD subproject
2018-06-29 18:29:47 +08:00
Jimmy Berry
da36ae9931
check_source: replace one action limitation with configurable rule.
...
Allows tool to be used on multi-action requests while still enforcing
the rule for Factory and Leap which should reject such requests due to
staging process.
2018-06-28 12:14:19 -05:00
Jimmy Berry
e6157ce837
osclib/stagingapi: attribute_value_load(): ensure using desired value.
...
OBS likes to not follow its API documentation and tends to ignore the
specific attribute option and returns everything. This results in
returning the first element that lxml decide to match to the pattern.
Not sure if OBS broke this recently, or if #1573 was poorly tested.
2018-06-27 17:00:36 -05:00
Jimmy Berry
a909b40461
osclib/stagingapi: superseded_request(): revert poor indentation changes.
...
Human eyes can vertically. One does not write math homework like:
1. y = mx + b
b = y - mx
or
1. y = mx + b
b = y - mx
one write it
1. y = mx + b
b = y - mx
2018-06-20 15:30:13 -05:00
Stephan Kulow
67121e297e
Merge pull request #1573 from coolo/use_attributes
...
Use attribute to store staging config
2018-06-19 06:38:32 +02:00
7238800b36
request_splitter: gcc8 is the default compiler now
2018-06-15 21:01:59 +08:00
Stephan Kulow
0180de281a
Fix test cases
2018-06-15 13:16:46 +02:00
Stephan Kulow
a840f6bf40
Don't store empty config attribute and propose migration
2018-06-15 11:40:02 +02:00
Stephan Kulow
5e0e6c5126
Catch 404 for attributes (python3 way)
2018-06-15 11:40:02 +02:00
Stephan Kulow
fa2e4f7b75
Migrate SUSE config into attributes
2018-06-15 11:40:02 +02:00
Stephan Kulow
92398937e7
Make remote-config mandatory
...
It's the only way to sync things between different staging managers. oscrc
just won't do
2018-06-15 11:40:02 +02:00
Stephan Kulow
030e7b807f
Move config into an OBS attribute
...
Right now we require a Staging subproject to use staging plugin, which
is suboptimal especially for maintenance requests. The OBS attributes allow
to store the things right attached to the project - and the permissions
can be controlled in parallel to the maintainers right, which gives us
enough freedom
2018-06-15 11:40:02 +02:00
bd251bc6b7
Freeze adi: do not check the first package in frozenlinks but metadata
...
Check the devel project from the first package in frozenlinks won't work
if the package has been deleted, check the first package in metadata
instead.
2018-05-17 19:01:58 +08:00
75b8a82851
Merge pull request #1538 from dirkmueller/ports_arches
...
Add ppc64le to pkglist gen for Leap 15.0 Ports
2018-05-15 13:44:41 +01:00
62652b934c
pkglistgen: Add ppc64le for Leap 15.0 Ports
...
this architecture is also part of port, not only aarch64, and
we need architecture specific expansions, so extend default list
of architectures accordingly.
2018-05-15 11:58:28 +02:00
Stephan Kulow
082ee52aaf
ttm: Load and Store the ignored issues in an OBS attribute
2018-05-14 20:00:57 +02:00
Stephan Kulow
9b4b0ed15a
Begin porting to python3 (osc branch)
2018-05-14 11:04:39 +02:00
Jimmy Berry
628519d370
osclib/conf: update nocleanup-packages post migration to new pkglistgen.
2018-05-09 23:31:59 -05:00
Jimmy Berry
e7c611e9ed
osclib/conf: change pkglistgen-include-suggested to False.
2018-05-09 23:31:37 -05:00
Jimmy Berry
d583ced482
osclib/comments: command_find: use MULTILINE mode.
2018-05-08 21:42:05 -05:00
Jimmy Berry
5cc8920689
osclib/comments: command_find: stupid \r line endings.
2018-05-08 21:41:13 -05:00
Jimmy Berry
f51dc98850
osclib/memoize: provide memoize_session_reset().
...
Allows all session caches to be reset.
2018-04-27 15:35:48 -05:00
Jimmy Berry
68eb3223c8
osclib/check_duplicate_binaries: ignore any package arch that differs from arch.
2018-04-26 22:49:07 -05:00
Jimmy Berry
873511e7dc
osclib/check_duplicate_binaries: rewrite to use package_binary_list().
2018-04-26 22:46:56 -05:00
Jimmy Berry
9d664eab79
osclib/core: binary_src_debug: include nosrc as ignored arch.
2018-04-26 22:46:56 -05:00
Jimmy Berry
a233d19e38
osclib/core: package_binary_list: provide strip_multibuild option.
2018-04-26 22:46:56 -05:00
Jimmy Berry
5e6476bd14
osclib/check_duplicate_binaries: drop unused imports post lnussel rework.
2018-04-26 22:46:56 -05:00
Jimmy Berry
ab3fc2bed5
osclib/check_duplicate_binaries: ignore s/glibc.i686/glibc:i686/.
...
Presumably an oversight when lnussel added.
2018-04-26 10:50:15 -05:00
2aba87c277
Merge pull request #1509 from nilxam/keep_maintainership
...
freeze_command: rebase staging project do not erase users data
2018-04-26 19:13:17 +08:00
Jimmy Berry
adab26cd15
Merge pull request #1505 from jberry-suse/repo_checker-whitelist-clean
...
repo_checker: provide whitelist_clean subcommand.
2018-04-25 21:04:51 -05:00
90891beef0
freeze_command: rebase staging project do not erase users data
...
Sometimes we has distributed a staging project for specific reason and
given people the maintainership, after froze staging project the users
data will be erased, freeze command should copy the users data therefore
we do not need to add people back again. Staging Master have to remember
reset users data when the goal of staging project has achieved.
2018-04-25 15:25:50 +08:00
Jimmy Berry
2010288be4
Merge pull request #1496 from jberry-suse/accept-avoid-empty-commit
...
osclib/accept_command: avoid making empty commit to dashboard.
2018-04-24 20:17:29 -05:00
Jimmy Berry
bb576ca137
osclib/accept_command: avoid making empty commit to dashboard.
2018-04-24 20:10:34 -05:00
Jimmy Berry
0e96a64036
osclib/core: correct BINARY_REGEX by making it greedy.
...
Should not effect RPM_REGEX usage since it appends suffix.
2018-04-24 17:45:10 -05:00