Hello community,
here is the log from the commit of package openSUSE-release-tools for
openSUSE:Factory checked in at 2019-06-01 09:47:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-release-tools (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-release-tools"
Sat Jun 1 09:47:24 2019 rev:184 rq:705823 version:20190528.d7183777
Changes:
--------
---
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
2019-05-28 09:43:13.005845290 +0200
+++
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.5148/openSUSE-release-tools.changes
2019-06-01 09:47:25.811366679 +0200
@@ -1,0 +2,51 @@
+Tue May 28 08:06:20 UTC 2019 - [email protected]
+
+- Update to version 20190528.d7183777:
+ * Run staging bot now in python3 as well
+
+-------------------------------------------------------------------
+Tue May 28 05:15:50 UTC 2019 - [email protected]
+
+- Update to version 20190528.77612961:
+ * legal-auto: Port prints to logger calls
+ * legal-auto: the pickle path needs to be a file
+
+-------------------------------------------------------------------
+Mon May 27 17:58:38 UTC 2019 - [email protected]
+
+- Update to version 20190527.8363fe38:
+ * Move legaldb import of projects into gocd
+ * Remove debug output left in ReviewBot
+
+-------------------------------------------------------------------
+Mon May 27 16:49:28 UTC 2019 - [email protected]
+
+- Update to version 20190527.1a9bfa3a:
+ * Run legal-auto on botmaster as well
+
+-------------------------------------------------------------------
+Mon May 27 14:35:31 UTC 2019 - [email protected]
+
+- Update to version 20190527.a0475878:
+ * Fix repo_checker path in gocd config
+
+-------------------------------------------------------------------
+Mon May 27 14:28:49 UTC 2019 - [email protected]
+
+- Update to version 20190527.8328b5ec:
+ * Run project_only reports on 15.1:Update and no longer on 15.1
+
+-------------------------------------------------------------------
+Mon May 27 14:19:38 UTC 2019 - [email protected]
+
+- Update to version 20190527.7f657d82:
+ * Run the SP5 installcheck per staging project and triggered by repo changes
+ * Run project_only reports in python3 containers
+
+-------------------------------------------------------------------
+Mon May 27 13:05:05 UTC 2019 - [email protected]
+
+- Update to version 20190527.dd327556:
+ * Fix whitelist handling of repo checker in python3
+
+-------------------------------------------------------------------
Old:
----
openSUSE-release-tools-20190527.edbb8573.obscpio
New:
----
openSUSE-release-tools-20190528.d7183777.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.OwkWCn/_old 2019-06-01 09:47:27.359366151 +0200
+++ /var/tmp/diff_new_pack.OwkWCn/_new 2019-06-01 09:47:27.391366140 +0200
@@ -20,7 +20,7 @@
%define source_dir openSUSE-release-tools
%define announcer_filename factory-package-news
Name: openSUSE-release-tools
-Version: 20190527.edbb8573
+Version: 20190528.d7183777
Release: 0
Summary: Tools to aid in staging and release work for openSUSE/SUSE
License: GPL-2.0-or-later AND MIT
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.OwkWCn/_old 2019-06-01 09:47:27.847365985 +0200
+++ /var/tmp/diff_new_pack.OwkWCn/_new 2019-06-01 09:47:27.879365974 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/openSUSE/openSUSE-release-tools.git</param>
- <param
name="changesrevision">edbb8573b616c09400ab6da1dda27a9da07c87c5</param>
+ <param
name="changesrevision">d7183777f000ea7f3ea61f3d607e9f3ad0529688</param>
</service>
</servicedata>
++++++ openSUSE-release-tools-20190527.edbb8573.obscpio ->
openSUSE-release-tools-20190528.d7183777.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190527.edbb8573/ReviewBot.py
new/openSUSE-release-tools-20190528.d7183777/ReviewBot.py
--- old/openSUSE-release-tools-20190527.edbb8573/ReviewBot.py 2019-05-27
14:25:50.000000000 +0200
+++ new/openSUSE-release-tools-20190528.d7183777/ReviewBot.py 2019-05-28
10:03:50.000000000 +0200
@@ -851,10 +851,7 @@
"""raised on timeout"""
if not interval:
- print('WORK')
- r = workfunc()
- print('WORK', r)
- return r
+ return workfunc()
def alarm_called(nr, frame):
raise ExTimeout()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190527.edbb8573/gocd/checkers.opensuse.gocd.yaml
new/openSUSE-release-tools-20190528.d7183777/gocd/checkers.opensuse.gocd.yaml
---
old/openSUSE-release-tools-20190527.edbb8573/gocd/checkers.opensuse.gocd.yaml
2019-05-27 14:25:50.000000000 +0200
+++
new/openSUSE-release-tools-20190528.d7183777/gocd/checkers.opensuse.gocd.yaml
2019-05-28 10:03:50.000000000 +0200
@@ -42,6 +42,48 @@
- repo-checker3
tasks:
- script: ./repo_checker.py -A https://api.opensuse.org --debug
review
+ openSUSE.Legal.Check:
+ group: openSUSE.Checkers
+ lock_behavior: unlockWhenFinished
+ timer:
+ spec: 0 */5 * ? * *
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-legal-auto
+ materials:
+ git:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ stages:
+ - Run:
+ approval:
+ type: manual
+ jobs:
+ Run:
+ timeout: 0
+ resources:
+ - staging-bot3
+ tasks:
+ - script: ./legal-auto.py -A https://api.opensuse.org --debug
--legaldb http://legaldb.suse.de review
+ openSUSE.Legal.Import:
+ group: openSUSE.Checkers
+ lock_behavior: unlockWhenFinished
+ timer:
+ spec: 0 0 12 ? * *
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-legal-auto
+ materials:
+ git:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ stages:
+ - Run:
+ approval:
+ type: manual
+ jobs:
+ Run:
+ timeout: 0
+ resources:
+ - legal-auto
+ tasks:
+ - script: ./legal-auto.py -A https://api.opensuse.org --debug
--legaldb http://legaldb.suse.de project $(cat
/home/go/config/legal-auto-projects-opensuse)
Factory.Staging.Report:
group: openSUSE.Checkers
lock_behavior: unlockWhenFinished
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190527.edbb8573/gocd/checkers.suse.gocd.yaml
new/openSUSE-release-tools-20190528.d7183777/gocd/checkers.suse.gocd.yaml
--- old/openSUSE-release-tools-20190527.edbb8573/gocd/checkers.suse.gocd.yaml
2019-05-27 14:25:50.000000000 +0200
+++ new/openSUSE-release-tools-20190528.d7183777/gocd/checkers.suse.gocd.yaml
2019-05-28 10:03:50.000000000 +0200
@@ -126,7 +126,7 @@
Run:
timeout: 0
resources:
- - staging-bot
+ - staging-bot3
tasks:
- script: osc -A https://api.suse.de staging -p SUSE:SLE-15-SP1:GA
rebuild
- script: osc -A https://api.suse.de staging -p SUSE:SLE-15-SP1:GA
list --supersede
@@ -197,13 +197,13 @@
- staging-bot3
tasks:
- script: ./check_source.py -A https://api.suse.de --verbose
--skip-add-reviews --group factory-auto review
- SLE12.SP5.InstallCheck:
+ SLE.Legal.Check:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
- spec: 0 */20 * ? * *
+ spec: 0 */5 * ? * *
environment_variables:
- OSC_CONFIG: /home/go/config/oscrc-repo-checker
+ OSC_CONFIG: /home/go/config/oscrc-legal-auto
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
@@ -212,52 +212,231 @@
approval:
type: manual
jobs:
- Run.A:
- timeout: 0
- resources:
- - repo-checker3
- tasks:
- - script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s A
- Run.B:
- timeout: 0
- resources:
- - repo-checker3
- tasks:
- - script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s B
- Run.C:
- timeout: 0
- resources:
- - repo-checker3
- tasks:
- - script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s C
- Run.D:
- timeout: 0
- resources:
- - repo-checker3
- tasks:
- - script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s D
- Run.H:
- timeout: 0
- resources:
- - repo-checker3
- tasks:
- - script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s H
- Run.S:
- timeout: 0
- resources:
- - repo-checker3
- tasks:
- - script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s S
- Run.V:
+ Run:
timeout: 0
resources:
- - repo-checker3
+ - staging-bot3
tasks:
- - script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s V
- Run.Y:
+ - script: ./legal-auto.py -A https://api.suse.de --debug --legaldb
http://legaldb.suse.de review
+ SLE.Legal.Import:
+ group: SLE.Checkers
+ lock_behavior: unlockWhenFinished
+ timer:
+ spec: 0 0 0 ? * *
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-legal-auto
+ materials:
+ git:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ stages:
+ - Run:
+ approval:
+ type: manual
+ jobs:
+ Run:
timeout: 0
resources:
- - repo-checker3
+ - legal-auto
tasks:
- - script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s Y
+ - script: ./legal-auto.py -A https://api.suse.de --debug --legaldb
http://legaldb.suse.de project $(cat /home/go/config/legal-auto-projects-suse)
+ SLE12.SP5.InstallCheck.A:
+ group: SLE.Checkers
+ lock_behavior: unlockWhenFinished
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-repo-checker
+ materials:
+ scripts:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ destination: scripts
+ whitelist:
+ - DO_NOT_TRIGGER
+ stagings:
+ git: git://botmaster.suse.de/suse-repos.git
+ destination: repos
+ whitelist:
+ - SUSE:SLE-12-SP5:GA:Staging:A_-_standard.yaml
+ stages:
+ - Run:
+ timeout: 0
+ resources:
+ - repo-checker3
+ tasks:
+ - script: |-
+ cd scripts
+ ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s A
+ SLE12.SP5.InstallCheck.B:
+ group: SLE.Checkers
+ lock_behavior: unlockWhenFinished
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-repo-checker
+ materials:
+ scripts:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ destination: scripts
+ whitelist:
+ - DO_NOT_TRIGGER
+ stagings:
+ git: git://botmaster.suse.de/suse-repos.git
+ destination: repos
+ whitelist:
+ - SUSE:SLE-12-SP5:GA:Staging:B_-_standard.yaml
+ stages:
+ - Run:
+ timeout: 0
+ resources:
+ - repo-checker3
+ tasks:
+ - script: |-
+ cd scripts
+ ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s B
+ SLE12.SP5.InstallCheck.C:
+ group: SLE.Checkers
+ lock_behavior: unlockWhenFinished
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-repo-checker
+ materials:
+ scripts:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ destination: scripts
+ whitelist:
+ - DO_NOT_TRIGGER
+ stagings:
+ git: git://botmaster.suse.de/suse-repos.git
+ destination: repos
+ whitelist:
+ - SUSE:SLE-12-SP5:GA:Staging:C_-_standard.yaml
+ stages:
+ - Run:
+ timeout: 0
+ resources:
+ - repo-checker3
+ tasks:
+ - script: |-
+ cd scripts
+ ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s C
+ SLE12.SP5.InstallCheck.D:
+ group: SLE.Checkers
+ lock_behavior: unlockWhenFinished
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-repo-checker
+ materials:
+ scripts:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ destination: scripts
+ whitelist:
+ - DO_NOT_TRIGGER
+ stagings:
+ git: git://botmaster.suse.de/suse-repos.git
+ destination: repos
+ whitelist:
+ - SUSE:SLE-12-SP5:GA:Staging:D_-_standard.yaml
+ stages:
+ - Run:
+ timeout: 0
+ resources:
+ - repo-checker3
+ tasks:
+ - script: |-
+ cd scripts
+ ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s D
+ SLE12.SP5.InstallCheck.H:
+ group: SLE.Checkers
+ lock_behavior: unlockWhenFinished
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-repo-checker
+ materials:
+ scripts:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ destination: scripts
+ whitelist:
+ - DO_NOT_TRIGGER
+ stagings:
+ git: git://botmaster.suse.de/suse-repos.git
+ destination: repos
+ whitelist:
+ - SUSE:SLE-12-SP5:GA:Staging:H_-_standard.yaml
+ stages:
+ - Run:
+ timeout: 0
+ resources:
+ - repo-checker3
+ tasks:
+ - script: |-
+ cd scripts
+ ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s H
+ SLE12.SP5.InstallCheck.S:
+ group: SLE.Checkers
+ lock_behavior: unlockWhenFinished
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-repo-checker
+ materials:
+ scripts:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ destination: scripts
+ whitelist:
+ - DO_NOT_TRIGGER
+ stagings:
+ git: git://botmaster.suse.de/suse-repos.git
+ destination: repos
+ whitelist:
+ - SUSE:SLE-12-SP5:GA:Staging:S_-_standard.yaml
+ stages:
+ - Run:
+ timeout: 0
+ resources:
+ - repo-checker3
+ tasks:
+ - script: |-
+ cd scripts
+ ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s S
+ SLE12.SP5.InstallCheck.V:
+ group: SLE.Checkers
+ lock_behavior: unlockWhenFinished
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-repo-checker
+ materials:
+ scripts:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ destination: scripts
+ whitelist:
+ - DO_NOT_TRIGGER
+ stagings:
+ git: git://botmaster.suse.de/suse-repos.git
+ destination: repos
+ whitelist:
+ - SUSE:SLE-12-SP5:GA:Staging:V_-_standard.yaml
+ stages:
+ - Run:
+ timeout: 0
+ resources:
+ - repo-checker3
+ tasks:
+ - script: |-
+ cd scripts
+ ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s V
+ SLE12.SP5.InstallCheck.Y:
+ group: SLE.Checkers
+ lock_behavior: unlockWhenFinished
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-repo-checker
+ materials:
+ scripts:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ destination: scripts
+ whitelist:
+ - DO_NOT_TRIGGER
+ stagings:
+ git: git://botmaster.suse.de/suse-repos.git
+ destination: repos
+ whitelist:
+ - SUSE:SLE-12-SP5:GA:Staging:Y_-_standard.yaml
+ stages:
+ - Run:
+ timeout: 0
+ resources:
+ - repo-checker3
+ tasks:
+ - script: |-
+ cd scripts
+ ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s Y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190527.edbb8573/gocd/checkers.suse.gocd.yaml.erb
new/openSUSE-release-tools-20190528.d7183777/gocd/checkers.suse.gocd.yaml.erb
---
old/openSUSE-release-tools-20190527.edbb8573/gocd/checkers.suse.gocd.yaml.erb
2019-05-27 14:25:50.000000000 +0200
+++
new/openSUSE-release-tools-20190528.d7183777/gocd/checkers.suse.gocd.yaml.erb
2019-05-28 10:03:50.000000000 +0200
@@ -126,7 +126,7 @@
Run:
timeout: 0
resources:
- - staging-bot
+ - staging-bot3
tasks:
- script: osc -A https://api.suse.de staging -p SUSE:SLE-15-SP1:GA
rebuild
- script: osc -A https://api.suse.de staging -p SUSE:SLE-15-SP1:GA
list --supersede
@@ -197,13 +197,13 @@
- staging-bot3
tasks:
- script: ./check_source.py -A https://api.suse.de --verbose
--skip-add-reviews --group factory-auto review
- SLE12.SP5.InstallCheck:
+ SLE.Legal.Check:
group: SLE.Checkers
lock_behavior: unlockWhenFinished
timer:
- spec: 0 */20 * ? * *
+ spec: 0 */5 * ? * *
environment_variables:
- OSC_CONFIG: /home/go/config/oscrc-repo-checker
+ OSC_CONFIG: /home/go/config/oscrc-legal-auto
materials:
git:
git: https://github.com/openSUSE/openSUSE-release-tools.git
@@ -212,11 +212,57 @@
approval:
type: manual
jobs:
-<% %w(A B C D H S V Y).each do |letter| -%>
- Run.<%= letter %>:
+ Run:
timeout: 0
resources:
- - repo-checker3
+ - staging-bot3
tasks:
- - script: ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s <%= letter %>
+ - script: ./legal-auto.py -A https://api.suse.de --debug --legaldb
http://legaldb.suse.de review
+ SLE.Legal.Import:
+ group: SLE.Checkers
+ lock_behavior: unlockWhenFinished
+ timer:
+ spec: 0 0 0 ? * *
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-legal-auto
+ materials:
+ git:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ stages:
+ - Run:
+ approval:
+ type: manual
+ jobs:
+ Run:
+ timeout: 0
+ resources:
+ - legal-auto
+ tasks:
+ - script: ./legal-auto.py -A https://api.suse.de --debug --legaldb
http://legaldb.suse.de project $(cat /home/go/config/legal-auto-projects-suse)
+<% %w(A B C D H S V Y).each do |letter| -%>
+ SLE12.SP5.InstallCheck.<%= letter %>:
+ group: SLE.Checkers
+ lock_behavior: unlockWhenFinished
+ environment_variables:
+ OSC_CONFIG: /home/go/config/oscrc-repo-checker
+ materials:
+ scripts:
+ git: https://github.com/openSUSE/openSUSE-release-tools.git
+ destination: scripts
+ whitelist:
+ - DO_NOT_TRIGGER
+ stagings:
+ git: git://botmaster.suse.de/suse-repos.git
+ destination: repos
+ whitelist:
+ - SUSE:SLE-12-SP5:GA:Staging:<%= letter %>_-_standard.yaml
+ stages:
+ - Run:
+ timeout: 0
+ resources:
+ - repo-checker3
+ tasks:
+ - script: |-
+ cd scripts
+ ./staging-installcheck.py -d -p SUSE:SLE-12-SP5:GA -A
https://api.suse.de -s <%= letter %>
<% end %>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190527.edbb8573/gocd/staging.bot.gocd.yaml
new/openSUSE-release-tools-20190528.d7183777/gocd/staging.bot.gocd.yaml
--- old/openSUSE-release-tools-20190527.edbb8573/gocd/staging.bot.gocd.yaml
2019-05-27 14:25:50.000000000 +0200
+++ new/openSUSE-release-tools-20190528.d7183777/gocd/staging.bot.gocd.yaml
2019-05-28 10:03:50.000000000 +0200
@@ -42,7 +42,7 @@
Run:
timeout: 0
resources:
- - staging-bot
+ - staging-bot3
tasks:
- script: osc -A https://api.opensuse.org staging -p
openSUSE:Factory rebuild
- script: osc -A https://api.opensuse.org staging -p
openSUSE:Factory list --supersede
@@ -92,7 +92,7 @@
Run:
timeout: 0
resources:
- - staging-bot
+ - staging-bot3
tasks:
- script: osc -A https://api.opensuse.org staging -p
openSUSE:Leap:15.1 rebuild
- script: osc -A https://api.opensuse.org staging -p
openSUSE:Leap:15.1 list --supersede
@@ -119,24 +119,24 @@
openSUSE.Factory:
timeout: 0
resources:
- - repo-checker
+ - repo-checker3
tasks:
- - script: /usr/bin/osrt-repo_checker -A https://api.opensuse.org
--debug project_only --post-comments openSUSE:Factory
+ - script: ./repo_checker.py -A https://api.opensuse.org --debug
project_only --post-comments openSUSE:Factory
openSUSE.Leap.15.0.Update:
timeout: 0
resources:
- - repo-checker
+ - repo-checker3
tasks:
- - script: /usr/bin/osrt-repo_checker -A https://api.opensuse.org
--debug project_only --post-comments openSUSE:Leap:15.0:Update
+ - script: ./repo_checker.py -A https://api.opensuse.org --debug
project_only --post-comments openSUSE:Leap:15.0:Update
openSUSE.Leap.42.3.Update:
timeout: 0
resources:
- - repo-checker
+ - repo-checker3
tasks:
- - script: /usr/bin/osrt-repo_checker -A https://api.opensuse.org
--debug project_only --post-comments openSUSE:Leap:42.3:Update
- openSUSE.Leap.15.1:
+ - script: ./repo_checker.py -A https://api.opensuse.org --debug
project_only --post-comments openSUSE:Leap:42.3:Update
+ openSUSE.Leap.15.1.Update:
timeout: 0
resources:
- - repo-checker
+ - repo-checker3
tasks:
- - script: /usr/bin/osrt-repo_checker -A https://api.opensuse.org
--debug project_only --post-comments openSUSE:Leap:15.1
+ - script: ./repo_checker.py -A https://api.opensuse.org --debug
project_only --post-comments openSUSE:Leap:15.1:Update
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190527.edbb8573/gocd/staging.bot.gocd.yaml.erb
new/openSUSE-release-tools-20190528.d7183777/gocd/staging.bot.gocd.yaml.erb
--- old/openSUSE-release-tools-20190527.edbb8573/gocd/staging.bot.gocd.yaml.erb
2019-05-27 14:25:50.000000000 +0200
+++ new/openSUSE-release-tools-20190528.d7183777/gocd/staging.bot.gocd.yaml.erb
2019-05-28 10:03:50.000000000 +0200
@@ -44,7 +44,7 @@
Run:
timeout: 0
resources:
- - staging-bot
+ - staging-bot3
tasks:
- script: osc -A https://api.opensuse.org staging -p openSUSE:<%=
project %> rebuild
- script: osc -A https://api.opensuse.org staging -p openSUSE:<%=
project %> list --supersede
@@ -69,11 +69,11 @@
environment_variables:
OSC_CONFIG: /home/go/config/oscrc-repo-checker
jobs:
-<% %w(openSUSE:Factory openSUSE:Leap:15.0:Update openSUSE:Leap:42.3:Update
openSUSE:Leap:15.1).each do |project| -%>
+<% %w(openSUSE:Factory openSUSE:Leap:15.0:Update openSUSE:Leap:42.3:Update
openSUSE:Leap:15.1:Update).each do |project| -%>
<%= project.gsub(':', '.') %>:
timeout: 0
resources:
- - repo-checker
+ - repo-checker3
tasks:
- - script: /usr/bin/osrt-repo_checker -A https://api.opensuse.org
--debug project_only --post-comments <%= project %>
+ - script: ./repo_checker.py -A https://api.opensuse.org --debug
project_only --post-comments <%= project %>
<% end -%>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190527.edbb8573/legal-auto.py
new/openSUSE-release-tools-20190528.d7183777/legal-auto.py
--- old/openSUSE-release-tools-20190527.edbb8573/legal-auto.py 2019-05-27
14:25:50.000000000 +0200
+++ new/openSUSE-release-tools-20190528.d7183777/legal-auto.py 2019-05-28
10:03:50.000000000 +0200
@@ -1,9 +1,9 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# SPDX-License-Identifier: MIT
-from pprint import pprint
import os
+import os.path
import sys
import re
import logging
@@ -13,11 +13,7 @@
import json
import time
-try:
- from urllib.error import HTTPError
-except ImportError:
- # python 2.x
- from urllib2 import HTTPError
+from urllib.error import HTTPError
try:
from xml.etree import cElementTree as ET
@@ -60,7 +56,7 @@
return http_GET(url)
except HTTPError as e:
if 500 <= e.code <= 599:
- print('Retrying {}'.format(url))
+ self.logger.debug('Retrying {}'.format(url))
time.sleep(1)
return self.retried_GET(url)
raise e
@@ -100,7 +96,7 @@
src_package, src_rev,
target_project, target_package))
to_review = self.open_reviews.get(self.request_nick(), None)
if to_review:
- self.logger.info("Found " + json.dumps(to_review))
+ self.logger.info("Found {}".format(json.dumps(to_review)))
to_review = to_review or self.create_db_entry(
src_project, src_package, src_rev)
if not to_review:
@@ -109,7 +105,7 @@
url = osc.core.makeurl(self.legaldb, ['package', str(pack)])
report = REQ.get(url, headers=self.legaldb_headers).json()
if report.get('priority', 0) != self.request_priority():
- print('Update priority {}'.format(self.request_priority()))
+ self.logger.debug('Update priority
{}'.format(self.request_priority()))
url = osc.core.makeurl(
self.legaldb, ['package', str(pack)], {'priority':
self.request_priority()})
REQ.patch(url, headers=self.legaldb_headers)
@@ -126,7 +122,7 @@
user = report.get('reviewing_user', None)
if not user:
self.message = 'declined'
- print("unacceptable without user %d" % report.get('id'))
+ self.logger.warning("unacceptable without user %d" %
report.get('id'))
return None
comment = report.get('result', None).encode('utf-8')
if comment:
@@ -144,7 +140,7 @@
self.message = None
result = super(LegalAuto, self).check_one_request(req)
if result is None and self.message is not None:
- print(self.message, req.reqid)
+ self.logger.debug("Result of {}: {}".format(req.reqid,
self.message))
return result
def check_action__default(self, req, a):
@@ -195,7 +191,7 @@
self.delete_from_db(req.reqid)
def _pkl_path(self):
- return CacheManager.directory('legal-auto')
+ return os.path.join(CacheManager.directory('legal-auto'),
'packages.dump')
def update_project(self, project):
try:
@@ -249,7 +245,7 @@
if match and match.group(1) == package:
lpackage = package
if package != lpackage:
- print("SKIP", package, "it links to", lpackage)
+ self.logger.info("SKIP {}, it links to {}".format(package,
lpackage))
skip = True
break
if skip:
@@ -291,7 +287,7 @@
return None
if not 'saved' in obj:
return None
- print("PKG", tproject, sproject, package, revision, obj['saved']['id'])
+ self.logger.debug("PKG {}/{}[{}]->{} is {}".format(sproject, package,
revision, tproject, obj['saved']['id']))
self.pkg_cache[hkey] = obj['saved']['id']
return self.pkg_cache[hkey]
@@ -307,8 +303,6 @@
parser.add_option("--legaldb", dest='legaldb', metavar='URL',
default='http://legaldb.suse.de', help="Use
different legaldb deployment")
- parser.add_option("--token", dest='token', metavar='STRING',
- default=False, help="Use token to authenticate")
return parser
def do_project(self, subcmd, opts, *projects):
@@ -322,8 +316,7 @@
self.options.group = 'legal-auto'
bot = ReviewBot.CommandLineInterface.setup_checker(self)
bot.legaldb = self.options.legaldb
- if self.options.token:
- bot.legaldb_headers['Authorization'] = 'Token ' +
self.options.token
+ bot.legaldb_headers['Authorization'] = 'Token ' +
osc.conf.config['legaldb_token']
return bot
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/openSUSE-release-tools-20190527.edbb8573/repo_checker.py
new/openSUSE-release-tools-20190528.d7183777/repo_checker.py
--- old/openSUSE-release-tools-20190527.edbb8573/repo_checker.py
2019-05-27 14:25:50.000000000 +0200
+++ new/openSUSE-release-tools-20190528.d7183777/repo_checker.py
2019-05-28 10:03:50.000000000 +0200
@@ -177,8 +177,7 @@
for key in [prefix, '-'.join([prefix, arch])]:
whitelist.update(additions.get(key, '').split(' '))
- whitelist = filter(None, whitelist)
- return whitelist
+ return set(filter(None, whitelist))
def install_check(self, target_project_pair, arch, directories,
ignore=None, whitelist=[], parse=False, no_filter=False):
@@ -555,7 +554,7 @@
# For "leaky" ring packages in letter stagings, where the
# repository setup does not include the target project, that
are
# not intended to to have all run-time dependencies satisfied.
- whitelist = config.get('repo_checker-binary-whitelist-ring',
'').split(' ')
+ whitelist =
set(config.get('repo_checker-binary-whitelist-ring', '').split(' '))
state_hash = self.repository_state(repository_pairs, True)
if not self.repository_check(repository_pairs, state_hash, True,
++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.OwkWCn/_old 2019-06-01 09:47:31.815364630 +0200
+++ /var/tmp/diff_new_pack.OwkWCn/_new 2019-06-01 09:47:31.815364630 +0200
@@ -1,5 +1,5 @@
name: openSUSE-release-tools
-version: 20190527.edbb8573
-mtime: 1558959950
-commit: edbb8573b616c09400ab6da1dda27a9da07c87c5
+version: 20190528.d7183777
+mtime: 1559030630
+commit: d7183777f000ea7f3ea61f3d607e9f3ad0529688