Hello community,

here is the log from the commit of package openSUSE-release-tools for 
openSUSE:Factory checked in at 2019-05-15 12:35:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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"

Wed May 15 12:35:16 2019 rev:174 rq:703036 version:20190514.3df85367

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/openSUSE-release-tools/openSUSE-release-tools.changes
    2019-05-14 13:43:36.968671621 +0200
+++ 
/work/SRC/openSUSE:Factory/.openSUSE-release-tools.new.5148/openSUSE-release-tools.changes
  2019-05-15 12:35:18.156384513 +0200
@@ -1,0 +2,36 @@
+Tue May 14 23:49:08 UTC 2019 - [email protected]
+
+- Update to version 20190514.3df85367:
+  * userscript/origin: rework to handle requests and interface link.
+
+-------------------------------------------------------------------
+Tue May 14 07:38:55 UTC 2019 - [email protected]
+
+- Update to version 20190514.681a59ac:
+  * Only impose a maxsize for a selected list of packages
+
+-------------------------------------------------------------------
+Tue May 14 05:03:08 UTC 2019 - [email protected]
+
+- Update to version 20190514.60b9a909:
+  * Add SUSE checkers config here
+
+-------------------------------------------------------------------
+Tue May 14 02:39:00 UTC 2019 - [email protected]
+
+- Update to version 20190513.c5e7d06d:
+  * userscript/origin: do not show failed when no OriginConfig.
+
+-------------------------------------------------------------------
+Mon May 13 23:05:57 UTC 2019 - [email protected]
+
+- Update to version 20190513.2657cadc:
+  * web/origin-manager: scroll to value after selecting.
+
+-------------------------------------------------------------------
+Mon May 13 22:21:15 UTC 2019 - [email protected]
+
+- Update to version 20190513.0c46b2ca:
+  * obs_operator: do not require session for OPTIONS method.
+
+-------------------------------------------------------------------

Old:
----
  openSUSE-release-tools-20190513.f2460434.obscpio

New:
----
  openSUSE-release-tools-20190514.3df85367.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openSUSE-release-tools.spec ++++++
--- /var/tmp/diff_new_pack.DW5SZQ/_old  2019-05-15 12:35:19.636380589 +0200
+++ /var/tmp/diff_new_pack.DW5SZQ/_new  2019-05-15 12:35:19.640380579 +0200
@@ -31,7 +31,7 @@
 %define source_dir openSUSE-release-tools
 %define announcer_filename factory-package-news
 Name:           openSUSE-release-tools
-Version:        20190513.f2460434
+Version:        20190514.3df85367
 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.DW5SZQ/_old  2019-05-15 12:35:19.700380421 +0200
+++ /var/tmp/diff_new_pack.DW5SZQ/_new  2019-05-15 12:35:19.708380399 +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">3828715e4632866235771e7921d06154bf8d8a53</param>
+    <param 
name="changesrevision">3df85367fb155dc05fd4b94511247049acfb7254</param>
   </service>
 </servicedata>

++++++ openSUSE-release-tools-20190513.f2460434.obscpio -> 
openSUSE-release-tools-20190514.3df85367.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openSUSE-release-tools-20190513.f2460434/gocd/checkers.suse.gocd.yaml 
new/openSUSE-release-tools-20190514.3df85367/gocd/checkers.suse.gocd.yaml
--- old/openSUSE-release-tools-20190513.f2460434/gocd/checkers.suse.gocd.yaml   
1970-01-01 01:00:00.000000000 +0100
+++ new/openSUSE-release-tools-20190514.3df85367/gocd/checkers.suse.gocd.yaml   
2019-05-15 01:48:00.000000000 +0200
@@ -0,0 +1,263 @@
+format_version: 3
+pipelines:
+  Run.Changelog.Checker:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */5 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-sle-changelog-checker
+    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: python3 ./check_tags_in_requests.py -A 
https://api.suse.de --verbose --user=sle-changelog-checker 
--review=accept-onpass --factory=openSUSE.org:openSUSE:Factory review
+  SLE.Project.Only:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 0 * ? * *
+      only_on_changes: false
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-repo-checker
+    stages:
+    - Run:
+        approval: manual
+        jobs:
+          SLE_15_SP1:
+            timeout: 0
+            resources:
+            - repo-checker
+            tasks:
+            - script: /usr/bin/osrt-repo_checker -A https://api.suse.de 
--debug project_only --post-comments SUSE:SLE-15-SP1:GA
+          SLE_12_SP5:
+            timeout: 0
+            resources:
+            - repo-checker
+            tasks:
+            - script: /usr/bin/osrt-repo_checker -A https://api.suse.de 
--debug project_only --post-comments SUSE:SLE-12-SP5:GA
+  SLE-SP1.Manager42:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */30 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-leaper
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - leaper
+            tasks:
+            - script: python3 /usr/bin/osrt-manager_42 -A https://api.suse.de 
-c /etc/openSUSE-release-tools/manager_42/SUSE:SLE-15-SP1:GA.yml
+  SLE.Repochecker:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */5 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-repo-checker
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - repo-checker
+            tasks:
+            - script: /usr/bin/osrt-repo_checker -A https://api.suse.de 
--debug review
+  SLE.Leaper:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */5 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-leaper
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - leaper
+            tasks:
+            - script: python3 /usr/bin/osrt-leaper -A https://api.suse.de 
--group=leaper --user=leaper --verbose --manual-version-updates 
--manual-maintenance-updates review
+  SLE.Staging.Bot.Regular:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 0 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-staging-bot
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval:
+          type: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - staging-bot
+            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
+            - script: osc -A https://api.suse.de staging -p SUSE:SLE-15-SP1:GA 
adi --by-develproject
+            - script: osc -A https://api.suse.de staging -p SUSE:SLE-15-SP1:GA 
select --non-interactive --merge --try-strategies
+            - script: osc -A https://api.suse.de staging -p SUSE:SLE-15-SP1:GA 
unselect --cleanup
+            - script: osc -A https://api.suse.de staging -p SUSE:SLE-15-SP1:GA 
repair --cleanup
+  SLE.Staging.Bot.Report:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */3 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-staging-bot
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval:
+          type: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - staging-bot
+            tasks:
+            - script: /usr/bin/osrt-staging-report --debug -A 
https://api.suse.de -p SUSE:SLE-15-SP1:GA
+  SLE.Check.Dups:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */10 * ? * *
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-staging-bot
+    stages:
+    - Run:
+        approval:
+          type: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - staging-bot
+            tasks:
+            - script: /usr/bin/osc -A https://api.suse.de check_dups 
SUSE:SLE-15-SP1:GA
+  SLE.Source.Check:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */5 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-factory-auto
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval:
+          type: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - staging-bot
+            tasks:
+            - script: /usr/bin/osrt-check_source -A https://api.suse.de 
--verbose --skip-add-reviews --group factory-auto review
+  SLE12.SP5.InstallCheck:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */20 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-repo-checker
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval:
+          type: manual
+        jobs:
+          Run.A:
+            timeout: 0
+            resources:
+            - repo-checker3
+            tasks:
+            - script: python3 ./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: python3 ./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: python3 ./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: python3 ./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: python3 ./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: python3 ./staging-installcheck.py -d -p 
SUSE:SLE-12-SP5:GA -A https://api.suse.de -s S
+          Run.V:
+            timeout: 0
+            resources:
+            - repo-checker3
+            tasks:
+            - script: python3 ./staging-installcheck.py -d -p 
SUSE:SLE-12-SP5:GA -A https://api.suse.de -s V
+          Run.Y:
+            timeout: 0
+            resources:
+            - repo-checker3
+            tasks:
+            - script: python3 ./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-20190513.f2460434/gocd/checkers.suse.gocd.yaml.erb 
new/openSUSE-release-tools-20190514.3df85367/gocd/checkers.suse.gocd.yaml.erb
--- 
old/openSUSE-release-tools-20190513.f2460434/gocd/checkers.suse.gocd.yaml.erb   
    1970-01-01 01:00:00.000000000 +0100
+++ 
new/openSUSE-release-tools-20190514.3df85367/gocd/checkers.suse.gocd.yaml.erb   
    2019-05-15 01:48:00.000000000 +0200
@@ -0,0 +1,222 @@
+format_version: 3
+pipelines:
+  Run.Changelog.Checker:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */5 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-sle-changelog-checker
+    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: python3 ./check_tags_in_requests.py -A 
https://api.suse.de --verbose --user=sle-changelog-checker 
--review=accept-onpass --factory=openSUSE.org:openSUSE:Factory review
+  SLE.Project.Only:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 0 * ? * *
+      only_on_changes: false
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-repo-checker
+    stages:
+    - Run:
+        approval: manual
+        jobs:
+          SLE_15_SP1:
+            timeout: 0
+            resources:
+            - repo-checker
+            tasks:
+            - script: /usr/bin/osrt-repo_checker -A https://api.suse.de 
--debug project_only --post-comments SUSE:SLE-15-SP1:GA
+          SLE_12_SP5:
+            timeout: 0
+            resources:
+            - repo-checker
+            tasks:
+            - script: /usr/bin/osrt-repo_checker -A https://api.suse.de 
--debug project_only --post-comments SUSE:SLE-12-SP5:GA
+  SLE-SP1.Manager42:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */30 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-leaper
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - leaper
+            tasks:
+            - script: python3 /usr/bin/osrt-manager_42 -A https://api.suse.de 
-c /etc/openSUSE-release-tools/manager_42/SUSE:SLE-15-SP1:GA.yml
+  SLE.Repochecker:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */5 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-repo-checker
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - repo-checker
+            tasks:
+            - script: /usr/bin/osrt-repo_checker -A https://api.suse.de 
--debug review
+  SLE.Leaper:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */5 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-leaper
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - leaper
+            tasks:
+            - script: python3 /usr/bin/osrt-leaper -A https://api.suse.de 
--group=leaper --user=leaper --verbose --manual-version-updates 
--manual-maintenance-updates review
+  SLE.Staging.Bot.Regular:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 0 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-staging-bot
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval:
+          type: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - staging-bot
+            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
+            - script: osc -A https://api.suse.de staging -p SUSE:SLE-15-SP1:GA 
adi --by-develproject
+            - script: osc -A https://api.suse.de staging -p SUSE:SLE-15-SP1:GA 
select --non-interactive --merge --try-strategies
+            - script: osc -A https://api.suse.de staging -p SUSE:SLE-15-SP1:GA 
unselect --cleanup
+            - script: osc -A https://api.suse.de staging -p SUSE:SLE-15-SP1:GA 
repair --cleanup
+  SLE.Staging.Bot.Report:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */3 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-staging-bot
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval:
+          type: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - staging-bot
+            tasks:
+            - script: /usr/bin/osrt-staging-report --debug -A 
https://api.suse.de -p SUSE:SLE-15-SP1:GA
+  SLE.Check.Dups:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */10 * ? * *
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-staging-bot
+    stages:
+    - Run:
+        approval:
+          type: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - staging-bot
+            tasks:
+            - script: /usr/bin/osc -A https://api.suse.de check_dups 
SUSE:SLE-15-SP1:GA
+  SLE.Source.Check:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */5 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-factory-auto
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval:
+          type: manual
+        jobs:
+          Run:
+            timeout: 0
+            resources:
+            - staging-bot
+            tasks:
+            - script: /usr/bin/osrt-check_source -A https://api.suse.de 
--verbose --skip-add-reviews --group factory-auto review
+  SLE12.SP5.InstallCheck:
+    group: SLE.Checkers
+    lock_behavior: unlockWhenFinished
+    timer:
+      spec: 0 */20 * ? * *
+    environment_variables:
+      OSC_CONFIG: /home/go/config/oscrc-repo-checker
+    materials:
+      git:
+        git: https://github.com/openSUSE/openSUSE-release-tools.git
+    stages:
+    - Run:
+        approval:
+          type: manual
+        jobs:
+<% %w(A B C D H S V Y).each do |letter| -%>
+          Run.<%= letter %>:
+            timeout: 0
+            resources:
+            - repo-checker3
+            tasks:
+            - script: python3 ./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-20190513.f2460434/obs_operator.py 
new/openSUSE-release-tools-20190514.3df85367/obs_operator.py
--- old/openSUSE-release-tools-20190513.f2460434/obs_operator.py        
2019-05-13 16:17:12.000000000 +0200
+++ new/openSUSE-release-tools-20190514.3df85367/obs_operator.py        
2019-05-15 01:48:00.000000000 +0200
@@ -40,7 +40,7 @@
 
     def do_OPTIONS(self):
         try:
-            with OSCRequestEnvironment(self) as oscrc_file:
+            with OSCRequestEnvironment(self, require_session=False) as 
oscrc_file:
                 self.send_header('Access-Control-Allow-Methods', 'GET, POST')
                 self.send_header('Access-Control-Allow-Headers', 
'Access-Control-Allow-Origin, Content-Type, X-Requested-With')
         except OSCRequestEnvironmentException as e:
@@ -286,9 +286,10 @@
             yield command
 
 class OSCRequestEnvironment(object):
-    def __init__(self, handler, user=None):
+    def __init__(self, handler, user=None, require_session=True):
         self.handler = handler
         self.user = user
+        self.require_session = require_session
 
     def __enter__(self):
         apiurl = self.handler.apiurl_get()
@@ -302,7 +303,7 @@
                 raise OSCRequestEnvironmentException('origin does not match 
host domain')
 
         session = self.handler.session_get()
-        if not session:
+        if self.require_session and not session:
             self.handler.send_response(401)
             self.handler.end_headers()
             raise OSCRequestEnvironmentException('unable to determine session')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openSUSE-release-tools-20190513.f2460434/ttm/releaser.py 
new/openSUSE-release-tools-20190514.3df85367/ttm/releaser.py
--- old/openSUSE-release-tools-20190513.f2460434/ttm/releaser.py        
2019-05-13 16:17:12.000000000 +0200
+++ new/openSUSE-release-tools-20190514.3df85367/ttm/releaser.py        
2019-05-15 01:48:00.000000000 +0200
@@ -95,20 +95,8 @@
         if re.match(r'.*-(dvd9-dvd|cd-DVD)-.*', package):
             return 8539996159
 
-        if re.match(r'.*-ftp-(ftp|POOL)-', package):
-            return None
-
-        # containers have no size limit
-        if re.match(r'(opensuse|kubic)-.*-image.*', package):
-            return None
-
-        if '-Addon-NonOss-ftp-ftp' in package:
-            return None
-
-        if 'JeOS' in package or 'Kubic' in package:
-            return 4700372992
-
-        raise Exception('No maxsize for {}'.format(package))
+        # Other types don't have a fixed size limit
+        return None
 
     def package_ok(self, project, package, repository, arch):
         """Checks one package in a project and returns True if it's succeeded
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openSUSE-release-tools-20190513.f2460434/userscript/origin.user.js 
new/openSUSE-release-tools-20190514.3df85367/userscript/origin.user.js
--- old/openSUSE-release-tools-20190513.f2460434/userscript/origin.user.js      
2019-05-13 16:17:12.000000000 +0200
+++ new/openSUSE-release-tools-20190514.3df85367/userscript/origin.user.js      
2019-05-15 01:48:00.000000000 +0200
@@ -1,10 +1,11 @@
 // ==UserScript==
 // @name         OSRT Origin
 // @namespace    openSUSE/openSUSE-release-tools
-// @version      0.1.0
+// @version      0.2.0
 // @description  Supplement OBS interface with origin information.
 // @author       Jimmy Berry
 // @match        */package/show/*
+// @match        */request/show/*
 // @require      https://code.jquery.com/jquery-3.3.1.min.js
 // @grant        none
 // ==/UserScript==
@@ -12,23 +13,123 @@
 (function()
 {
     var pathParts = window.location.pathname.split('/');
-    var project = pathParts[pathParts.length - 2];
-    var package = pathParts[pathParts.length - 1];
 
-    var domain_parent = 
window.location.hostname.split('.').splice(1).join('.');
-    var subdomain = domain_parent.endsWith('suse.de') ? 'tortuga' : 'operator';
-    var url = 'https://' + subdomain + '.' + domain_parent + 
'/origin/package/' + project + '/' + package;
+    if (pathParts[1] == 'package') {
+        var project = pathParts[pathParts.length - 2];
+        var package = pathParts[pathParts.length - 1];
+        origin_load(document.querySelector('ul.clean_list, ul.list-unstyled'), 
project, package);
+    } else if (pathParts[1] == 'request') {
+        request_actions_handle();
+    }
+})();
+
+function request_actions_handle() {
+    // Select all action tabs and store to avoid modification exceptions.
+    var action_elements = document.evaluate(
+        '//div[@class="card mb-3"][2]/div/div[@class="tab-content"]/div', 
document);
+    var actions = [];
+    var action;
+    while (action = action_elements.iterateNext()) {
+        actions.push(action);
+    }
+
+    for (var i = 0; i < actions.length; i++) {
+        action = actions[i];
+
+        // Select the side column containing build results.
+        var column = document.evaluate(
+            '//div[@class="row"][2]/div[@class="col-md-4"]',
+            action, null, XPathResult.FIRST_ORDERED_NODE_TYPE, 
null).singleNodeValue;
+
+        // Select the text represtation of action. All other sources are
+        // inconsistent and do not always have the right values depending on
+        // request type or state.
+        var summary = document.evaluate(
+            'div[1]/div[1]',
+            action, null, XPathResult.FIRST_ORDERED_NODE_TYPE, 
null).singleNodeValue;
+        var parts = $(summary).text().trim().split(' ');
+
+        // Maintenance incidents are so special.
+        var release_project = document.evaluate(
+            'i[1]',
+            action, null, XPathResult.FIRST_ORDERED_NODE_TYPE, 
null).singleNodeValue;
+        var project, package;
+        if (release_project) {
+            parts = parts.splice(4, 3);
+            project = $(release_project).text().trim().split(' 
').splice(-1)[0];
+        } else {
+            parts = parts.splice(-3);
+            project = parts[0];
+        }
+        package = parts[2];
+
+        var card = document.createElement('div');
+        card.classList.add('card');
+
+        var list = document.createElement('ul');
+        list.classList.add('list-unstyled');
+        card.appendChild(list);
 
-    $('ul.clean_list, ul.list-unstyled').append('<li id="osrt-origin"><i 
class="fas fa-spinner fa-spin text-info"></i> loading origin...</li>');
+        column.insertBefore(card, column.childNodes[0]);
+
+        origin_load(list, project, package);
+    }
+}
+
+function origin_load(element, project, package) {
+    // Add placeholder to indicated loading.
+    var item = document.createElement('li');
+    item.innerHTML = '<i class="fas fa-spinner fa-spin text-info"></i> Origin: 
loading...';
+    element.appendChild(item);
+
+    var url = operator_url() + '/origin/package/' + project + '/' + package;
     $.get({url: url, crossDomain: true, xhrFields: {withCredentials: true}, 
success: function(origin) {
         if (origin.endsWith('failed')) {
-            $('#osrt-origin').html('<i class="fas fa-bug text-warning"></i> 
failed to get origin info');
+            if (origin.startsWith('OSRT:OriginConfig attribute missing')) {
+                item.innerHTML = '';
+            } else {
+                item.innerHTML = '<i class="fas fa-bug text-warning"></i> 
Origin: failed to load';
+            }
         } else {
-            project = origin.trim();
-            if (project.endsWith('~')) {
-                project = project.slice(0, -1);
+            var origin_project = origin.trim();
+            if (origin_project.endsWith('~')) {
+                origin_project = origin_project.slice(0, -1);
+            }
+            item.innerHTML = '<i class="fas fa-external-link-alt 
text-info"></i> Origin: ';
+            if (origin_project != 'None') {
+                item.innerHTML += '<a href="/package/show/' + origin_project + 
'/' +
+                    package + '">' + origin + '</a>'
+            } else {
+                item.innerHTML += origin;
             }
-            $('#osrt-origin').html('<i class="fas fa-external-link-alt 
text-info"></i> <a href="/package/show/' + project + '/' + package + '">' + 
origin + '</a>');
+
+            url = web_interface_url() + '/web/origin-manager/#' + project + 
'/' + package;
+            if (origin_project != 'None') {
+                url += '/' + origin_project;
+            }
+            item = document.createElement('li');
+            item.innerHTML = '<i class="fas fa-external-link-alt 
text-info"></i> ' +
+                '<a target="_blank" href="' + url + '">Origin Manager 
Interface</a>';
+            element.appendChild(item);
         }
     }});
-})();
+}
+
+function operator_url() {
+    var domain_parent = 
window.location.hostname.split('.').splice(-2).join('.');
+    var subdomain = domain_parent.endsWith('suse.de') ? 'tortuga' : 'operator';
+    return 'https://' + subdomain + '.' + domain_parent;
+}
+
+function web_interface_url() {
+    var domain_parent = 
window.location.hostname.split('.').splice(-2).join('.');
+    var subdomain, path;
+    if (domain_parent.endsWith('suse.de')) {
+        subdomain = 'jberry.io';
+        path = '/osrt-web';
+    } else {
+        subdomain = 'osrt';
+        path = '';
+    }
+    return 'http://' + subdomain + '.' + domain_parent + path;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/openSUSE-release-tools-20190513.f2460434/web/origin-manager/main.js 
new/openSUSE-release-tools-20190514.3df85367/web/origin-manager/main.js
--- old/openSUSE-release-tools-20190513.f2460434/web/origin-manager/main.js     
2019-05-13 16:17:12.000000000 +0200
+++ new/openSUSE-release-tools-20190514.3df85367/web/origin-manager/main.js     
2019-05-15 01:48:00.000000000 +0200
@@ -99,9 +99,11 @@
         if (table.getSelectedRows()[0].getIndex() != value) {
             table.getSelectedRows()[0].deselect();
             table.selectRow(value);
+            setTimeout(function(){ table.scrollToRow(value, 'middle', false) 
}, 500);
         }
     } else {
         table.selectRow(value);
+        setTimeout(function(){ table.scrollToRow(value, 'middle', false) }, 
500);
     }
 }
 

++++++ openSUSE-release-tools.obsinfo ++++++
--- /var/tmp/diff_new_pack.DW5SZQ/_old  2019-05-15 12:35:20.420378511 +0200
+++ /var/tmp/diff_new_pack.DW5SZQ/_new  2019-05-15 12:35:20.420378511 +0200
@@ -1,5 +1,5 @@
 name: openSUSE-release-tools
-version: 20190513.f2460434
-mtime: 1557757032
-commit: f246043497550385af0e6cb7eb7ec17b63a349c8
+version: 20190514.3df85367
+mtime: 1557877680
+commit: 3df85367fb155dc05fd4b94511247049acfb7254
 


Reply via email to