5603 Commits

Author SHA1 Message Date
Jimmy Berry
3a444c253e osclib/core: break apart request_age() to provide request_created(). 2019-11-04 14:01:34 -06:00
Jimmy Berry
caabf42f2b osclib/cache: provide osrt.cache.disable config option to disable cache.
Necessary for writing involved tests since the assumptions made by the
cache are violated and thus cause problems.

To keep the tests passing the oscrc intended to be used must be set as
environment variable so when osclib.conf.Config is use the config is not
lost. This would be made simpler without the needless extra config added
by StagingWorkflow.
2019-11-04 14:01:19 -06:00
Jimmy Berry
fe45de0a42 dist/ci/flake-extra: include origin_listener in product check. 2019-11-04 13:22:38 -06:00
Jimmy Berry
a3761c62e5 ReviewBot: include request description in search for comment commands. 2019-11-04 13:22:38 -06:00
Jimmy Berry
701021070c ReviewBot: rework override check to operate on actions.
In multi-action workflows the override check should be performed by
action so that different groups of users can override for different
actions. Additionally, abstracting the request_commands() method provides
a flexible base for additional commands to be added by ReviewBots.
2019-11-04 13:22:38 -06:00
Jimmy Berry
7559153cbf osclib/comments: provide request description as comment.
Useful for operating on request descriptions inline with comments.
2019-11-04 13:22:38 -06:00
Stephan Kulow
75836fec70
Merge pull request #2285 from coolo/fix_ci
Make the CI green again
2019-11-04 19:10:51 +01:00
Stephan Kulow
9b035e3e8c Start searchd in api container
Since https://github.com/openSUSE/open-build-service/pull/8558 OBS Api
now requires a searchd for creating projects, previously it was only
required for searching in the webui
2019-11-04 11:59:33 +01:00
Stephan Kulow
0cb54b8be0 Add a dummy user/password to the openSUSE:Factory section
See https://github.com/openSUSE/osc/issues/667 - we might want to remove
the feature to override settings locally this way and stop mangling with
osc's config file
2019-11-04 11:59:33 +01:00
Stephan Kulow
fe4f121993 Make exceptions easier to debug in OBSLocal
If the init function fails due to exceptions, python still
shows exceptions caught in the __del__ function, which can
be very confusing. So avoid the destructor if the constructor
failed by setting the variables early on and return in the
destructor if self.api is not yet defined
2019-11-04 11:04:53 +01:00
Stephan Kulow
3d0d731212
Merge pull request #2281 from DimStar77/issue2278
build-fail-reminder: Fix indentation of emails
2019-11-04 09:53:43 +01:00
d096e163a9
build-fail-reminder: Fix indentation of emails
Fixes issue #2278
2019-10-30 14:08:45 +01:00
Stephan Kulow
330f0b1b1c
Merge pull request #2280 from openSUSE/scarabeusiv-patch-1
Use python3 in shebang to not pull in python2 dependency
2019-10-29 13:36:28 +01:00
Tomáš Chvátal
7cf86a638f
Use python3 in shebang to not pull in python2 dependency 2019-10-29 13:05:48 +01:00
Stephan Kulow
3162cc5be3
Merge pull request #2276 from mimi1vx/sle_cleanup
Remove openqa-obs bot data for SLE
2019-10-28 07:59:15 +01:00
f4ca88bd99
Remove openqa-obs bot data for SLE
QAM uses different bot for scheduling jobs in openQA
2019-10-24 12:54:19 +02:00
Ludwig Nussel
46e12504d3
Merge pull request #2271 from lnussel/master
add pkglistgen and stuff for Leap staging F
2019-10-24 08:24:49 +02:00
Stephan Kulow
521a30a0ee
Merge pull request #2275 from coolo/allow_override_for_factory_auto
Add a review user for factory-auto so it can be overridden in SLE
2019-10-23 11:01:15 +02:00
Stephan Kulow
0938967139 Add a review user for factory-auto so it can be overridden in SLE 2019-10-23 11:00:11 +02:00
Stephan Kulow
68be1855fa
Merge pull request #2272 from coolo/fix_source_check
Fix check_source on public cloud images
2019-10-22 12:45:23 +02:00
Ludwig Nussel
d893565b9b
Merge pull request #2257 from ggardet/fix_for_python3
Convert factory-package-news-web.py to python3
2019-10-22 10:21:20 +02:00
Ludwig Nussel
2ca7172e64 add pkglistgen and stuff for Leap staging F 2019-10-22 10:15:37 +02:00
Stephan Kulow
7c1a658f3d Fix check_source on public cloud images
The check for bcntsynctag can be very misleading - just because we align
the build counters between 2 packages doesn't make them invalid submission
targets. Better rely on the link check which is already implemented as
fallback

And set a verbose decline reason for this case
2019-10-22 09:26:55 +02:00
Stephan Kulow
8bb85c5f4d
Merge pull request #2270 from lnussel/master
Fix test plan URL for 15.2
2019-10-21 16:12:02 +02:00
Ludwig Nussel
292ae02cf3 Fix test plan URL for 15.2 2019-10-21 13:36:48 +02:00
Stephan Kulow
a97469df38
Merge pull request #2268 from DimStar77/novdelreq
StagingAPI: complex delete requests are no longer used
2019-10-19 16:49:03 +02:00
Stephan Kulow
24a8cf2b2f testenv: install shadow for useradd 2019-10-19 13:18:42 +02:00
58bc706bf0
conf.py: remove delreq-review default setting
With the removal of the complex delete request handling, we no longer
need the option to assign a specific reviewer to delreqs in process
2019-10-18 10:37:46 +02:00
Jimmy Berry
180e44641c
Merge pull request #2265 from jberry-suse/userscript-origin-conflict
userscript/origin: run in no-conflict mode.
2019-10-17 15:41:41 -05:00
9b7af72891
StagingAPI: complex delete requests are no longer used
* Simplify the 'accept' code

openSUSE:Factory/snapshot is newly setup as a Download on Demand repository
and we can thus safe ourselves the hassle of having to take extra care of
handling delete requests. They no longer bleed directly into the /snapshot
area and can now be accepted like any other request

* Drop vdelreq plugin

Since we no longer do a virtual accept of delete requests, we also don't
have to monitor their state anymore. Drop the plugin that served only
this usecase

* Drop the acheck command

As a consequence, the command 'staging acheck' serves no purpose anymore:
/totest was just there to ensure we have something to copy to /snapshot.
This entire repo will vanish, and it is thus no longer needed to verify
if it is in sync before accepting new data.
2019-10-17 15:37:44 +02:00
16ae84dfac
Merge pull request #2267 from nilxam/decode_bytes_suppkg_rebuild
suppkg_rebuild: decode bytes before comparing
2019-10-17 19:03:22 +08:00
b894e97359 suppkg_rebuild: decode bytes before comparing
Compares bytes and string in Python is different, make both are strings
before comparing.
2019-10-17 18:41:25 +08:00
23d4c737d7
Merge pull request #2266 from DimStar77/bfn-greet
build-fail-notification: Fix how we address the user
2019-10-17 09:49:41 +02:00
128d95c56d
build-fail-notification: Fix how we address the user
In 6f21ae6 we fixed an inversion of to and fullname fields - but the
recipient was not fixed up here (resulting in addressing the user
by his email address)

Also fix a typo: recepient -> recipient
2019-10-17 09:32:38 +02:00
Jimmy Berry
1c8ca8c4be userscript/origin: run in no-conflict mode.
Otherwise, conflicts with OBS jquery version and plugins.
2019-10-16 16:20:08 -05:00
Stephan Kulow
ad934285b1
Merge pull request #2262 from gyr/15sp2_vagrant
Added Vagrant box in 15-SP2 release tool
2019-10-16 19:41:21 +02:00
455c14289d
Merge pull request #2263 from nilxam/fix_project_status_path
build-fail-reminder: update api path to projects/:project/status
2019-10-16 17:30:40 +02:00
8bae3694e8 build-fail-reminder: update api path to projects/:project/status 2019-10-16 22:53:38 +08:00
980a0c52e2 Added Vagrant box in 15-SP2 release tool
Added new SLED-15-SP2-Vagrant and SLES-15-SP2-Vagrant in release to TEST
setup for SLE-15-SP2
2019-10-16 10:55:00 -03:00
0c4d62c582
Merge pull request #2259 from DimStar77/adi_images
adi: build kiwi images in a /images repository
2019-10-15 21:24:35 +08:00
35d7bf0ce3
Merge pull request #2260 from nilxam/locales_from_attribs
pkglistgen: fix wrong parsing way on pkglistgen-locale
2019-10-15 20:20:20 +08:00
7b8d295abd pkglistgen: fix wrong parsing way on pkglistgen-locale
Since the data is from project attribute, pkglistgen should not parsing a string.
This change also renamed pkglistgen-local to pkglistgen-locale.
2019-10-15 19:17:57 +08:00
3f8e30931a
adi: build kiwi images in a /images repository 2019-10-15 10:48:54 +02:00
e7be100b44
Merge pull request #2256 from nilxam/suppkg_leap_152
rebuild_support: enable Leap 15.2
2019-10-14 15:05:54 +08:00
247f695d4c Convert factory-package-news-web.py to python3 2019-10-09 14:50:39 +02:00
b46991c3c5 rebuild_support: enable Leap 15.2 2019-10-09 16:25:19 +08:00
Jimmy Berry
7451a6ad02
Merge pull request #2255 from jberry-suse/osc-staging-interactive-python3
osc-staging,issue-diff: open temporary file in write without binary mode.
2019-10-08 16:05:17 -05:00
Jimmy Berry
5b91d6bc84 osc-staging,issue-diff: open temporary file in write without binary mode.
Otherwise, all write calls complain about passing a string instead of
binary data. Given the yaml dump and subsequent comments are all strings
it makes more sense to change file mode.
2019-10-08 15:21:22 -05:00
Stephan Kulow
6c39d95da5
Merge pull request #2254 from DimStar77/reminders
BuildFailReminder: fix inversion of to and fullname
2019-10-07 06:55:05 +02:00
6f21ae6a8b BuildFailReminder: fix inversion of to and fullname 2019-10-07 06:53:49 +02:00