Skip to content

Instantly share code, notes, and snippets.

$ osc --debug staging -p openSUSE:Leap:42.3 adi --by-develproject
GET https://api.opensuse.org/source/openSUSE:Leap:42.3:Staging/_attribute/openSUSE:LockedBy
POST https://api.opensuse.org/source/openSUSE:Leap:42.3:Staging/_attribute/openSUSE:LockedBy
GET https://api.opensuse.org/source/openSUSE:Leap:42.3:Staging/_attribute/openSUSE:LockedBy
CACHE_MISS https://api.opensuse.org/statistics/latest_updated?limit=5000 (expired)
GET https://api.opensuse.org/statistics/latest_updated?limit=5000
CACHE_PUT https://api.opensuse.org/statistics/latest_updated?limit=5000 None
CACHE_MISS https://api.opensuse.org/search/project/id?match=starts-with(@name,'openSUSE:Leap:42.3:Staging:') (expired)
GET https://api.opensuse.org/search/project/id?match=starts-with(@name,'openSUSE:Leap:42.3:Staging:')
'Mesa':
'bsc#962609': '1234'
'bsc#970725': '1234'
'bsc#971950': '1234'
'bsc#980382': '1234'
'bsc#980557': '1234'
'bsc#981532': '1234'
'bsc#981975': '1234'
'bsc#983451': '1234'
'fate#315643': '1234'
diff --git a/issue-diff.py b/issue-diff.py
index e0de27e..ba53f79 100755
--- a/issue-diff.py
+++ b/issue-diff.py
@@ -1,5 +1,7 @@
#!/usr/bin/python
+from __future__ import print_function
+
import argparse
diff --git a/issue-diff.py b/issue-diff.py
index dd5e819..51cfe45 100755
--- a/issue-diff.py
+++ b/issue-diff.py
@@ -3,7 +3,7 @@
from __future__ import print_function
import argparse
-#import bugzilla
+import bugzilla
diff --git a/osc-staging.py b/osc-staging.py
index 980f236..4f7dbdd 100644
--- a/osc-staging.py
+++ b/osc-staging.py
@@ -100,8 +100,8 @@ def _full_project_name(self, project):
@cmdln.option('--wipe-cache', dest='wipe_cache', action='store_true', default=False,
help='wipe GET request cache before executing')
@cmdln.option('-m', '--message', help='message used by ignore command')
-@cmdln.option('--filter-by', help='xpath by which to filter requests')
-@cmdln.option('--group-by', help='xpath by which to group requests')
Base:System
sr#461278: timezone -> 0-Bootstrap
ignored: https://bugzilla.opensuse.org/show_bug.cgi?id=1027705
sr#477902: systemd -> 1-MinimalX
sr#478478: coreutils -> 0-Bootstrap
sr#478571: linux-glibc-devel -> 0-Bootstrap
KDE:Applications
sr#478089: akonadi-calendar -> 2-TestDVD
sr#478090: akonadi-calendar-tools -> 2-TestDVD
sr#478092: akonadi-contact -> 2-TestDVD
@jberry-suse
jberry-suse / factory.aggregate.txt
Created March 16, 2017 22:11
Testing project status aggregate backend call on adi command in Leap 42.3 and Factory.
$ time osc -d staging adi
GET https://api.opensuse.org/source/openSUSE:Factory:Staging/dashboard/ignored_requests?expand=1
CACHE_GET https://api.opensuse.org/statistics/latest_updated?limit=5000
CACHE_MISS https://api.opensuse.org/search/project/id?match=starts-with(@name,'openSUSE:Factory:Staging:') (expired)
GET https://api.opensuse.org/search/project/id?match=starts-with(@name,'openSUSE:Factory:Staging:')
CACHE_PUT https://api.opensuse.org/search/project/id?match=starts-with(@name,'openSUSE:Factory:Staging:') openSUSE:Factory:Staging
GET https://api.opensuse.org/project/staging_projects/openSUSE:Factory?format=json
adi:1 broken: python-qt5
adi:2 broken: tine20
adi:3 broken: ghc-wreq
time osc -d staging -p openSUSE:Leap:42.3 list --supersede
GET https://api.opensuse.org/search/request?match=state/@name='review'+and+review[@by_group='factory-staging'+and+@state='new']+and+(target[@project='openSUSE:Leap:42.3']+or+target[@project='openSUSE:Leap:42.3:NonFree'])
CACHE_GET https://api.opensuse.org/statistics/latest_updated?limit=5000
CACHE_MISS https://api.opensuse.org/search/project/id?match=starts-with(@name,'openSUSE:Leap:42.3:Staging:') (expired)
GET https://api.opensuse.org/search/project/id?match=starts-with(@name,'openSUSE:Leap:42.3:Staging:')
CACHE_PUT https://api.opensuse.org/search/project/id?match=starts-with(@name,'openSUSE:Leap:42.3:Staging:') openSUSE:Leap:42.3:Staging
GET https://api.opensuse.org/project/staging_projects/openSUSE:Leap:42.3?format=json
GET https://api.opensuse.org/search/request?match=state/@name='review'+and+review[@by_group='factory-staging'+and+@state='new']+and+(target[@project='openSUSE:Leap:42.3']+or+target[@project='openSUSE:Leap:42.3:NonFree'])
GET https:
@jberry-suse
jberry-suse / packages-devel-factory.list
Created April 18, 2017 22:45
List of packages in openSUSE:Factory that have openSUSE:Factory set as their devel project.
Qrosspython
ant-antlr
ant-junit
antlr-bootstrap
apache2-mod_wsgi-python3
audit-secondary
autoconf-el
autoconf-testsuite
automake-testsuite
avahi-glib2
@jberry-suse
jberry-suse / cleanup_rings.diff
Last active April 26, 2017 01:27
Compare cleanup_rings output before and after changes.
--- cleanup_rings.prev 2017-04-25 19:49:10.580255109 -0500
+++ cleanup_rings.new 2017-04-25 19:48:23.423808821 -0500
@@ -2,24 +2,16 @@
osc linkpac openSUSE:Leap:42.3 libnsl openSUSE:Leap:42.3:Rings:1-MinimalX
osc rdelete -m cleanup openSUSE:Leap:42.3:Rings:0-Bootstrap bash-completion
osc linkpac openSUSE:Leap:42.3 bash-completion openSUSE:Leap:42.3:Rings:1-MinimalX
-osc rdelete -m cleanup openSUSE:Leap:42.3:Rings:1-MinimalX kernel-syms
-osc linkpac openSUSE:Leap:42.3 kernel-syms openSUSE:Leap:42.3:Rings:2-TestDVD
osc rdelete -m cleanup openSUSE:Leap:42.3:Rings:1-MinimalX celt051
osc linkpac openSUSE:Leap:42.3 celt051 openSUSE:Leap:42.3:Rings:2-TestDVD