960 Commits

Author SHA1 Message Date
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
Jimmy Berry
855f660bf4
Merge pull request #1503 from jberry-suse/unmaintained-debug-ignore
unmaintained: utilize package_binary_list(exclude_src_debug).
2018-04-24 11:31:28 -05:00
Jimmy Berry
3c560d0c68 osclib/core: package_binary_list(): provide exclude_src_debug option. 2018-04-23 18:54:46 -05:00
Jimmy Berry
48913abc47 osclib/stagingapi: dashboard_content_load(): expose revision parameter. 2018-04-20 16:19:52 -05:00
Jimmy Berry
c6289c8516 osclib/core: provide package_list_without_links(). 2018-04-17 17:31:28 -05:00
Jimmy Berry
225c398e87 osclib/core: provide source_file_load() from StagingAPI. 2018-04-16 14:59:45 -05:00
Jimmy Berry
9a633ec26f osclib/util: provide mail_send(), modified from announcer.py.
Depend on config for relay, from, and followup-to.
2018-04-10 22:51:28 -05:00
Jimmy Berry
b52f890bb9 osclib/core: provide entity_email(), modified from issue-diff.py. 2018-04-10 22:43:39 -05:00
64bd11baf4
Staging accept: run service in ports 000product 2018-03-29 12:01:07 +02:00
ed8feb6105 conf: make sure variable is not None before do lower() 2018-03-29 16:37:19 +08:00
67779dba6f
API: move fileinfo_ext[_all] from StagingAPI to core
These helpers can be used by other bots, like for example repo-checker,
which do not rely on the StagingAPI.
2018-03-24 13:34:44 +01:00
Ludwig Nussel
133d87b99f
Merge pull request #1467 from jberry-suse/repo-rename
Change references to osc-plugin-factory to openSUSE-release-tools.
2018-03-19 17:00:26 +01:00
Jimmy Berry
39ef75493d Change references to osc-plugin-factory to openSUSE-release-tools. 2018-03-16 14:58:27 -05:00
Jimmy Berry
e964cb58a4 osclib/conf: SLE-15: set check-source-in-air-rename-allow to True. 2018-03-16 14:09:24 -05:00
Ludwig Nussel
ad6056258f
Merge pull request #1447 from lnussel/pkglistgen
pkglistgen: Fix reading boolean values
2018-03-11 09:22:51 +01:00
Jimmy Berry
d001daf687
Merge pull request #1441 from jberry-suse/osclib-git
osclib/git: provide git utilities: clone() and sync() and utilize in issue-diff.py.
2018-03-09 11:58:57 -06:00
Ludwig Nussel
d66ea3a0b2 check_source: make adding review team configurable 2018-03-09 14:34:42 +01:00
Ludwig Nussel
0f5d25f463 pkglistgen: Fix reading boolean values 2018-03-09 13:50:08 +01:00
Jimmy Berry
568be98269
Merge pull request #1432 from jberry-suse/stagingapi-lazy-load-all
osclib/staging-api: lazy-load all config values to allow for placement in remote config.
2018-03-08 17:17:07 -06:00
Jimmy Berry
90d538606d osclib/git: provide git utilities: clone() and sync().
Derived from issue-diff.py which was abstracted in
boombatower/tumbleweed-review.
2018-03-08 15:52:38 -06:00
Stephan Kulow
defd9954b5
Merge pull request #1429 from jberry-suse/conf-priority-int
osclib/conf: change priority to be string to work with ConfigParser.
2018-03-08 11:19:00 +01:00
Jimmy Berry
e450a1519e osclib/stagingapi: rename main_repo to cmain_repo.
The previous name is inconsistent and did not work with general lazy laod.
2018-03-07 15:50:36 -06:00
Jimmy Berry
4bd9e9a2fb osclib/stagingapi: rename delreq_review to cdelreq_review.
The previous name is inconsistent and did not work with general lazy laod.
2018-03-07 15:50:36 -06:00