2ae694a912
accept_command: add additional version number to OSRT:ProductVersion
2019-01-15 19:46:57 +08:00
Jimmy Berry
536e17cb79
osclib/stagingapi: rename dashboard_content_* methods to pseudometa_file_*.
...
No need to be confusing and use the deprecated dashboard name.
2018-08-17 23:19:24 -05:00
Jimmy Berry
5e6df089a6
osclib/stagingapi: drop {load,save}_file_content() methods.
...
Since the implementations have been made generic and dropped to osclib.core
there is not point in having wrappers in StagingAPI with the same args.
2018-08-17 22:15:58 -05:00
Stephan Kulow
9b4b0ed15a
Begin porting to python3 (osc branch)
2018-05-14 11:04:39 +02:00
Jimmy Berry
bb576ca137
osclib/accept_command: avoid making empty commit to dashboard.
2018-04-24 20:10:34 -05:00
64bd11baf4
Staging accept: run service in ports 000product
2018-03-29 12:01:07 +02: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
Jimmy Berry
d790a2ce69
osclib/stagingapi: rename cstaging_nocleanup to cnocleanup_packages.
...
The previous name is inconsistent and did not work with general lazy laod.
2018-03-07 15:50:36 -06:00
Jimmy Berry
843cc016e0
osclib/accept: print todo from staging config after completion.
2018-01-25 11:08:47 -06:00
0a45aba664
Merge pull request #1234 from nilxam/remove_2nd_specfile_ring
...
accept_command: remove the ring package if it is 2nd specfile is removed
2017-11-02 14:57:41 +08:00
b9bc629a4d
accept_command: remove the ring package if it is 2nd specfile is removed
2017-10-31 19:46:53 +08:00
6ffe02ce94
accept_command: force to accept the staging if --force parameter is given
...
If --force parameter is given, it must to force to change the request state,
otherwise --force does not work if still had pending review.
2017-10-31 13:27:29 +08:00
3cf49d9556
Python 2.6+ / 3.x style except clauses
...
This newer style except statement allows for compatibility with
Python 3.x and does not harm on python 2.6+.
2017-10-16 22:47:58 +02: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
14f21b0f0c
suppkg_rebuild: Clean up supportpkg list also
...
Have to clean up supportpkg list also during accepting staging project,
otherwise suppkg_rebuild can not handle it correct in case next time staged
package in the same staging project had the same supportpkg list.
2017-08-18 18:54:32 +08:00
bd4e71e2b0
AcceptCommand: update version of all products found in the project
...
in opeSUSE:Factory, for example, there is also openSUS-Kubic.product and the
versions are supposed to stay in sync.
We newly find all product definitions inside a project and update all of them,
with the same limiation as before: only if version was a 8 digit version it will
be updated to the current date stamp
Additionally, this is a preparation for the new product builder, as _product is no
longer hardcoded, but found.
2017-07-06 12:50:16 +02:00
Jimmy Berry
1dfa8d2568
stagingapi: provide accept_status_comment() based on accept command.
2017-03-28 23:01:33 -05:00
Jimmy Berry
1ece7d6375
accept: remove unused requests list in perform().
2017-03-28 22:59:36 -05:00
59e496effb
Fix wrong call of cstaging
2017-03-24 17:25:00 +08:00
06596972c9
Reset support_pkg_rebuild state to unknown while accepting
2017-03-21 19:39:09 +08:00
Jimmy Berry
8b5dc5d7c8
accept: refactor staging cleanup into stagingapi.
2017-03-14 23:02:52 -05:00
Jimmy Berry
02b4958fe0
stagingapi: add clear_prj_pseudometa() and call after accept.
...
This ensures that the pseudometa data is fully reset and allows for
optional information to be added without risk of leaving it behind.
2017-03-01 01:04:57 -06:00
daa7c37f3a
Trigger source service for _product in :zSystems on accept
2017-02-01 22:21:14 +01:00
e6ecb0cbee
Import http_POST for accept_command
...
Since commit 295fcd we newly also require http_POST in order to
put a new file in place after accepting.
Also add quotes around the fakepkgname when injecting it into the kiwi file.
2016-11-16 13:45:27 +01:00
295fcd63d3
Let Test-DVD is invalid in the beginning of the new round
...
Make sure Test-DVD won't in green state when new round just started,
wipe Test-DVD binary and intended to break kiwi build when accepting the
staging.
2016-11-15 19:18:02 +08:00
f36aba5ac0
Accept: fix escaping when creating linked package
2016-06-19 10:52:54 +02:00
9862e7d1ee
AcceptCommand: Fix regex to replace devel prj for linked packages
2016-06-15 13:04:08 +02:00
Ludwig Nussel
fac9d408bb
Change meaning of --force for accept
...
Just ignore if totest doesn't exist. Instead make --force accept a
staging despite failures.
2016-06-07 15:11:26 +02:00
d70f80cbd2
Autocleanup: Make list of packages to retain configurable
2016-06-02 16:37:32 +02:00
482c1f0490
AcceptCommand: Cleanup packages that were manually linked to projects
2016-06-02 12:40:48 +02:00
ebc246c6d5
ports: make sure to not add ports over ports
2015-07-03 09:22:09 +02:00
Dinar Valeev
c6d32d8f50
Update Ports on version update
...
Keep Ports in sync with Factory
Signed-off-by: Dinar Valeev <dvaleev@suse.com>
2015-05-04 11:01:17 +02:00
Alberto Planas
f285f09d35
Revert "accept_command: import urllib2"
2015-03-05 17:17:37 +01:00
Alberto Planas
b95bd3e04a
Merge pull request #304 from DimStar77/bugfix-urllib2
...
accept_command: import urllib2
2015-03-05 16:54:02 +01:00
a3941eaa2e
accept_command: import urllib2
2015-03-05 16:49:20 +01:00
Alberto Planas
fb12a83910
Reformat the code a bit.
2015-03-02 11:15:23 +01:00
Alberto Planas
c9d1e06ca8
Refactor configuration parameters into configuration file.
2015-02-19 11:39:05 +01:00
87c8916620
Merge sync-rebuild into staging accept command
2015-02-09 17:17:47 +01:00
0968ffc6ff
staging accept: create new links for packages when a new .spec file appears
...
https://progress.opensuse.org/issues/5902
2015-01-30 06:14:12 +01:00
31e32421cd
Introduce item_exists
...
item_exists is a variant of the former project_exists, that can take an
optional package name in plus.
2015-01-20 00:22:15 +01:00
83741173d1
staging accept: also accept any 'new' requests in the corresponding NonFree project
2014-12-19 10:43:08 +01:00
Alberto Planas
627a6e0aa6
action #3772 - replace 'factory' with actual project in accept
2014-09-29 11:25:15 +02:00
49a257cc6a
Some PEP8 fixes.
2014-09-01 09:43:44 +02:00
Ludwig Nussel
cc485e6a35
show packages of accepted requests
2014-08-18 11:21:09 +02:00
Ludwig Nussel
51115ac4a3
tell about accepting other requests
2014-08-14 16:50:16 +02:00
29b8bcca6b
Makes staging pluging Factory agnostic.
2014-08-07 12:58:47 +02:00
be6a4a1c84
Update factory version only if is a new version.
2014-07-15 17:08:48 +02:00
Stephan Kulow
6e1250614b
my completly lamda free version of changing versions
...
osc staging accept should set the version of factory to today
2014-07-15 10:53:43 +02:00
Ancor Gonzalez Sosa
c7774d8b8b
AcceptCommand only adds one comment
...
Added tests for AcceptCommand with a new Staging:C fixture.
2014-06-16 17:15:24 +02:00