113 Commits

Author SHA1 Message Date
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
ed8feb6105 conf: make sure variable is not None before do lower() 2018-03-29 16:37:19 +08: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
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
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
5e2834e4bd osclib/conf: configure SLE-15 leaper-override-group. 2018-03-07 14:55:16 -06:00
Jimmy Berry
8332692dad leaper: move review groups to osclib.conf. 2018-03-07 14:55:09 -06:00
Jimmy Berry
2917e7c9fa osclib/conf: change priority to be string to work with ConfigParser. 2018-03-07 13:49:47 -06:00
Jimmy Berry
a40ebc1544 ReviewBot: provide comment command override.
For example:

  @leaper override accept
  @repo-checker override decline
2018-03-06 16:42:12 -06:00
Jimmy Berry
f56ccb878c
Merge pull request #1406 from jberry-suse/pkglistgen-dump-include-update
pkglistgen: solv_cache_update(): support update repo and 4 way merge (and merge skipping)
2018-02-20 20:47:24 -06:00
Jimmy Berry
a11192affd osclib/conf: leap: set download-baseurl-update. 2018-02-15 09:01:33 -06:00
Jimmy Berry
9f2cf8da1c osclib/conf: leap: repo_checker-arch-whitelist to x86_64.
See boo#1080987.
2018-02-14 15:05:41 -06:00
Jimmy Berry
07f4174b11 conf: SLE-15: set pkglistgen-product-family-last to SLE-11:GA. 2018-02-12 17:58:04 -06:00
Jimmy Berry
56df1cf592
Merge pull request #1386 from jberry-suse/pkglistgen-droplist
pkglistgen: integrate drop list creation into update_and_solve and project family methods
2018-02-06 21:08:44 -06:00
Jimmy Berry
893e9678a4 osclib/conf: leap: incorporate proven unselect settings. 2018-02-06 02:15:34 -06:00
Jimmy Berry
3261aed8a1 osclib/conf: leap: incorporate proven splitter settings. 2018-02-06 02:15:27 -06:00
Jimmy Berry
376084009c osclib/conf: include Leap for Factory during pkglistgen. 2018-02-06 00:25:46 -06:00
Jimmy Berry
3331f263dc osclib/conf: add download-baseurl for Leap and Factory. 2018-02-06 00:13:43 -06:00
Jimmy Berry
c7deabd80b osclib/conf: support version in project pattern as value replacement. 2018-02-06 00:13:43 -06:00
Jimmy Berry
0e41747c4e repo_checker: package_comments(): provide option to post on target package.
For SLE where devel projects are not utilized post on the target packages
directly. Posting on the devel projects might make sense, but would pose
the risk of exposing IBS information on OBS prematurely.
2018-01-19 08:50:32 -06:00
Ludwig Nussel
a825608376 pkglistgen: delete kiwis by scope
Replace config option pkglistgen-delete-kiwis by
pkglistgen-delete-kiwis-$scope. The main project needs all kiwis while
in Rings and Stagings we don't want the ftp tree for example.
2018-01-17 14:33:36 +01:00
Ludwig Nussel
67f2773e76 pkglistgen: typo locals vs locales 2018-01-10 17:19:15 +01:00
Jimmy Berry
09a98cddac
Merge pull request #1330 from jberry-suse/pkglistgen-sle
osclib/conf: intial SLE configuration for pkglistgen.
2018-01-09 16:26:24 -06:00
Jimmy Berry
b41bbd1777
Merge pull request #1328 from jberry-suse/pkglistgen-migrate-followup
pkglistgen: migrate bash scripts to python followup
2018-01-09 16:26:03 -06:00
Jimmy Berry
e915dc2780 osclib/conf: intial SLE configuration for pkglistgen. 2018-01-08 23:36:53 -06:00
Jimmy Berry
c06050ab89 osclib/conf: correct Leap 15.0 default locales-from from - to . product. 2018-01-08 22:43:16 -06:00
Jimmy Berry
61c83500d3 osclib/conf: allow devel projects to utilize tools that require conf. 2018-01-08 21:22:04 -06:00
Jimmy Berry
865750258c osclib/conf: order config defaults by priority.
Ensures that less specific patterns do not overtake more specific patterns
by allowing for priority based ordering.
2018-01-08 21:21:51 -06:00
Ludwig Nussel
7eaed349b3 Revert "osclib/conf: allow devel projects to utilize tools that require conf."
Breaks SLE

This reverts commit 562743e906ca9fa1bc3beada77f3342f3841482b.
2018-01-05 09:42:32 +01:00
Jimmy Berry
562743e906 osclib/conf: allow devel projects to utilize tools that require conf. 2018-01-03 19:42:29 -06:00
Jimmy Berry
5e9392f4a0 pkglistgen: migrate bash scripts to python. 2017-12-21 01:05:55 -06:00
Jimmy Berry
f8225a3d48 osclib/conf: prefer already parsed conffile over OSC_CONFIG env variable.
This is consistent with expected behavior when using:
  osc.core.conf.get_config(override_conffile...)

Also removes the need to change the environment in OBS() which removes a
leak.
2017-10-23 23:03:24 -05:00
Jimmy Berry
37d397fb89 check_source: move all relevant flags to config to work properly without flags. 2017-10-11 22:31:58 -05:00
a871cd2d25 conf: given default value to main_repo 2017-10-02 20:49:41 +08:00
078949df7f conf: given default value to delreq_review 2017-10-02 20:14:31 +08:00
5611411a6f virtually accept: virtually accept the delete request
Implementation virtually accept the delete request, the delete request will be
added another delreq-review review and also wipes the binary in the main
project, the backend will sync 'nothing' to ToTest and Snapshot after all. Once
all repository has no binary then remove the package in real.
2017-10-02 17:15:55 +08:00
f10defda8c
Disable ppc64le for now in Tumbleweed stagings 2017-09-15 22:50:48 +02:00
Stephan Kulow
daaab3a546 Remove local config for sle15 - it's remote 2017-09-11 07:15:48 +02:00
Stephan Kulow
7357c5f7a1 Merge pull request #1107 from coolo/build_sle_images
SUSE: wants to build test dvds on 'local' workers
2017-08-29 08:55:52 +02:00
Stephan Kulow
b7c9d1a79d SUSE: wants to build test dvds on 'local' workers 2017-08-29 08:45:00 +02:00
Jimmy Berry
a01c210fbe osclib/conf: do not disable remote config for SLE-15. 2017-08-28 16:05:16 -05:00
Jimmy Berry
acced3a66c osclib/conf: set staging-dvd-archs to empty for SUSE:* projects.
Currently none of the SUSE:* projects have :DVD subprojects and there is
no way to know short of checking if the project exists. This allows for
len(staging-dvd-archs) to be used to know.
2017-08-24 21:45:11 -05:00
Stephan Kulow
2c08e40745 Merge pull request #1045 from coolo/sle15
The first steps toward sle15 :)
2017-08-07 11:40:53 +02:00
Stephan Kulow
abe7ea59b8 The first steps toward sle15 :) 2017-08-07 11:40:03 +02:00
Jimmy Berry
85dbc57f12 stagingapi: provide dashboard_content_{load,save,ensure}() and utilize. 2017-07-27 23:52:58 -05:00
Jimmy Berry
17e0089d5a conf: provide remote-config option and default to false for SLE. 2017-05-03 19:12:09 -05:00
Jimmy Berry
e755c061aa conf: explicitly check if config is None.
Otherwise a blank file may repeatedly submitted.
2017-05-01 22:33:11 -05:00
Jimmy Berry
2f32bf8fbf conf: remove splitter-whitelist default in favor of remote config. 2017-05-01 17:40:33 -05:00
Jimmy Berry
d4a2af58c8 osc-staging: implement remote config. 2017-05-01 17:40:13 -05:00