Skip to content

Instantly share code, notes, and snippets.

@karolherbst
Created June 14, 2023 09:32
Show Gist options
  • Save karolherbst/b66fca4bdb40e35f4b690e8c7cb549b7 to your computer and use it in GitHub Desktop.
Save karolherbst/b66fca4bdb40e35f4b690e8c7cb549b7 to your computer and use it in GitHub Desktop.
$ ./mr_label_maker.py --dry-run -p mesa --token $(cat ~/.config/gitlab-token) --verbose
usage: mr_label_maker.py [-h] [--dry-run] --project {mesa} [--token TOKEN] [--webhook-env WEBHOOK_ENV] [--webhook-file WEBHOOK_FILE] [--issues [ISSUES]] [--merge-requests [MERGE_REQUESTS]] [--label LABEL] [--state {opened,closed,merged,all}] [--ignore-label-history] [--poll POLL]
mr_label_maker.py: error: unrecognized arguments: --verbose
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py --dry-run -p mesa --token $(cat ~/.config/gitlab-token) --merge-requests 23639
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23639 | rusticl/api: Implement get_host_timer and get_device_and_host_timer
new labels: Rusticl
skipping because "dry run" mode is enabled
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py --dry-run -p mesa --token $(cat ~/.config/gitlab-token) --merge-requests
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22461 | broadcom/compiler: allow TMU spills after VPM stores
not recognized path: src/broadcom/compiler/vir_register_allocate.c
has a history of label changes - skipping
old labels: v3d,v3dv
new labels would be:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23639 | rusticl/api: Implement get_host_timer and get_device_and_host_timer
new labels: Rusticl
skipping because "dry run" mode is enabled
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23612 | rusticl/queue: overhaul of the queue+event handling
has a history of label changes - skipping
old labels: Rusticl
new labels would be: Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22984 | broadcom/compiler: clarify use of QFILE_VPM
not recognized path: src/broadcom/compiler/nir_to_vir.c
not recognized path: src/broadcom/compiler/v3d_compiler.h
not recognized path: src/broadcom/compiler/vir_to_qpu.c
unable to determine labels
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23620 | intel/isl: Yf/Ys support
has a history of label changes - skipping
old labels: ISL
new labels would be: ANV,ISL,iris,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23591 | pvr: fix division by block size in blit
has a history of label changes - skipping
old labels: powervr
new labels would be: powervr
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23629 | ci: implement farms handling trough files inside .ci-farms
not recognized path: .ci-farms/.placeholder
not recognized path: .ci-farms/anholt
not recognized path: .ci-farms/austriancoder
not recognized path: .ci-farms/collabora
not recognized path: .ci-farms/igalia
not recognized path: .ci-farms/microsoft
not recognized path: .ci-farms/valve
not recognized path: .ci-farms-disabled/.placeholder
not recognized path: .ci-farms-disabled/freedreno
not recognized path: .ci-farms-disabled/lima
has a history of label changes - skipping
old labels: CI
new labels would be: CI
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23477 | nir: add a new ubo uniform loading intrinsic for intel
not recognized path: src/intel/compiler/brw_ir.h
not recognized path: src/intel/compiler/brw_nir.c
not recognized path: src/intel/compiler/brw_nir_blockify_uniform_loads.c
not recognized path: src/intel/compiler/brw_nir_lower_non_uniform_resource_intel.c
not recognized path: src/intel/compiler/brw_shader.cpp
has a history of label changes - skipping
old labels: NIR,intel-fs
new labels would be: NIR,intel-fs
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23517 | amd,radeonsi: IB parser, gfx11 fixes, tess user data SGPRs, tracked regs, remove gfx10 NGG streamout, PAIRS packets
not recognized path: src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
not recognized path: src/gallium/winsys/radeon/drm/radeon_drm_cs.c
has a history of label changes - skipping
old labels: AMD common,RADV,radeonsi
new labels would be: AMD common,RADV,gallium,meson,radeon,radeonsi
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23328 | compiler, nir, treewide: Rename nir_scope type to mesa_scope
not recognized path: src/broadcom/compiler/nir_to_vir.c
not recognized path: src/compiler/shader_enums.c
not recognized path: src/compiler/shader_enums.h
not recognized path: src/intel/compiler/brw_mesh.cpp
not recognized path: src/intel/compiler/brw_nir.c
has a history of label changes - skipping
old labels: NIR
new labels would be: ACO,AMD common,ANV,GLSL,NIR,RADV,SPIR-V,TGSI,asahi,d3d12,freedreno,gallium,intel-fs,intel-vec4,ir3,lavapipe,nouveau,panfrost,r600,radeon,radeonsi,zink
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23635 | intel: Improve compiler scheduler performance
not recognized path: src/intel/compiler/brw_schedule_instructions.cpp
has a history of label changes - skipping
old labels: intel-fs
new labels would be:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22711 | glsl: port lower_blend_equation_advanced() to NIR
has a history of label changes - skipping
old labels: GLSL,NIR
new labels would be: GLSL,NIR,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23604 | intel/blorp: Avoid 32bpc fast clear sampling issue
has a history of label changes - skipping
old labels: blorp
new labels would be: blorp
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23641 | radv/video: restrict the number of IBs on video related queues.
has a history of label changes - skipping
old labels: AMD common,RADV
new labels would be: RADV
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23550 | zink: add a dgc debug mode for testing
has a history of label changes - skipping
old labels: zink
new labels would be: zink
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23514 | zink: add srgb mutable for all resources by default
has a history of label changes - skipping
old labels: zink
new labels would be: zink
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23614 | ac/nir/ngg: fix ngg_gs_clear_primflags crash
has a history of label changes - skipping
old labels: AMD common
new labels would be: AMD common
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23485 | ci: Uprev Piglit
has a history of label changes - skipping
old labels: CI
new labels would be: CI,softpipe,zink
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23640 | ac/radeonsi: add av1 defaults header file from radeonsi
has a history of label changes - skipping
old labels: AMD common,radeonsi
new labels would be: AMD common,meson,radeon,radeonsi
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18032 | Draft: radv: Explicit sync.
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23636 | lavapipe: add version uuid to shader binary validation
has a history of label changes - skipping
old labels: lavapipe
new labels would be: lavapipe
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23637 | tgsi: remove unused functions and structs
has a history of label changes - skipping
old labels: TGSI
new labels would be: TGSI,gallium
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23630 | Draft: freedreno: Enable A505
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22071 | util/rb_tree: Add augmented trees and interval trees
has a history of label changes - skipping
old labels: util
new labels would be: util
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23073 | aux/pipebuffer: add returns to reclaim() functions
has a history of label changes - skipping
old labels: difficulty: easy,gallium,zink
new labels would be: gallium,zink
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23045 | Draft: WIP: RFC: Vulkan Sparse for Anv
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9835 | isl: Add support for Yf and Ys tiling
has a history of label changes - skipping
old labels: ISL
new labels would be: ANV,ISL,blorp,i965,iris,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23632 | WIP: isl: enable CCS for 3D surfaces
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23089 | Draft: nir: Begin transitioning away from nir_register and source/dest modifiers
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23608 | iris: Don't use STREAMING_LOAD without SSE4.2
has a history of label changes - skipping
old labels: iris
new labels would be: iris
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23627 | crocus: Build on !x86
has a history of label changes - skipping
old labels: crocus
new labels would be: crocus,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7698 | intel/fs: Completely rewrite the combine-constants pass
has a history of label changes - skipping
old labels: intel-fs
new labels would be: intel-fs
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23634 | nir_lower_returns: Mark assert-only var as ASSERTED
has a history of label changes - skipping
old labels: NIR,regression
new labels would be: NIR
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23633 | venus: suballocate feedback slot with feedback buffer alignment
has a history of label changes - skipping
old labels: venus
new labels would be: venus
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23348 | venus: query pool feedback
has a history of label changes - skipping
old labels: venus
new labels would be: venus
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23611 | ci: add perfetto into mesa git-cache
has a history of label changes - skipping
old labels: CI,perfetto
new labels would be: CI
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23005 | r600: Add missing formats to r600_colorformat_endian_swap
has a history of label changes - skipping
old labels: r600
new labels would be: r600
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23281 | compiler/types: Use smaller keys for array_types and explicit_matrix_types
has a history of label changes - skipping
old labels: GLSL,NIR
new labels would be: GLSL,NIR
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20327 | Intel/iris, isl: Support MTL Modifiers
not recognized path: include/drm-uapi/drm_fourcc.h
has a history of label changes - skipping
old labels: ISL,intel-tools,iris
new labels would be: ISL,iris
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23610 | ci: Update to vulkan-cts-1.3.5.2 (and pull in some more fixes).
not recognized path: src/amd/ci/radeonsi-vangogh-fails.txt
not recognized path: src/amd/ci/radeonsi-vangogh-skips.txt
not recognized path: src/broadcom/ci/broadcom-rpi4-fails.txt
not recognized path: src/broadcom/ci/broadcom-rpi4-skips.txt
has a history of label changes - skipping
old labels: CI
new labels would be: CI,crocus,freedreno,llvmpipe,nouveau,zink
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23609 | intel/fs: Constant propagate into SHADER_OPCODE_SHUFFLE
has a history of label changes - skipping
old labels: intel-fs
new labels would be: intel-fs
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23555 | radv: use wave32 when half of a wave64 is unused
has a history of label changes - skipping
old labels: RADV
new labels would be: RADV
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23456 | egl: reenable partial redraw with a warning when using gallium hud
has a history of label changes - skipping
old labels: EGL
new labels would be: EGL
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22580 | nir: Handle array deref of vec in vars_to_ssa
not recognized path: src/broadcom/compiler/nir_to_vir.c
has a history of label changes - skipping
old labels: NIR
new labels would be: NIR,vc4
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23279 | compiler/types: Tidy up the asserts in get_*_instance functions
has a history of label changes - skipping
old labels: GLSL,NIR
new labels would be: GLSL,NIR
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23280 | compiler/types: Use hash table pre-hashed functions for type caching
has a history of label changes - skipping
old labels: GLSL
new labels would be: GLSL
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23601 | radv: some small color rt optimizations
has a history of label changes - skipping
old labels: RADV
new labels would be: RADV
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23597 | aco: Select hardware stage in drivers instead of in the compiler
has a history of label changes - skipping
old labels: ACO,RADV,radeonsi
new labels would be: ACO,AMD common,RADV,radeon,radeonsi
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21259 | etnaviv: perfer cached caching mapping for pipe resource on loongarch and mips
not recognized path: include/pci_ids/loongson_pci_ids.h
has a history of label changes - skipping
old labels: etnaviv
new labels would be: etnaviv,gallium,loader,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23278 | compiler/types: Fix array name dimension flipping for unsized arrays
has a history of label changes - skipping
old labels: GLSL
new labels would be: GLSL
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21305 | mesa/st, iris, rusticl: Add cl_khr_gl_sharing extension
not recognized path: include/GL/mesa_glinterop.h
not recognized path: src/mesa/state_tracker/st_interop.c
not recognized path: subprojects/libloading.wrap
has a history of label changes - skipping
old labels: EGL,GLX,Rusticl,gallium,iris,llvmpipe,mesa,meson
new labels would be: Rusticl,iris,llvmpipe,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23588 | blorp: move PIPE_CONTROL needs to driver
has a history of label changes - skipping
old labels: ANV,hasvk,iris
new labels would be: ANV,blorp,hasvk,iris
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23618 | treewide: spelling fixes
has a history of label changes - skipping
old labels: GLSL,NIR,Rusticl,SPIR-V,clover,freedreno,ir3
new labels would be: GLSL,NIR,Rusticl,SPIR-V,clover,freedreno,ir3
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23494 | radv: fix re-emitting some dynamic states for NULL FS
has a history of label changes - skipping
old labels: RADV
new labels would be: RADV
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23621 | nir/opt_intrinsic,radv: optimize quad vote
has a history of label changes - skipping
old labels: NIR,RADV
new labels would be: ACO,NIR,RADV
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23619 | pvr: Remove outdated finishme
has a history of label changes - skipping
old labels: powervr
new labels would be: powervr
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23616 | v3dv: expose shaderImageGatherExtended
not recognized path: src/broadcom/compiler/vir.c
has a history of label changes - skipping
old labels: NIR,v3d,v3dv
new labels would be: NIR,v3dv
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23337 | aco: split insert_wait_states into two
has a history of label changes - skipping
old labels: ACO
new labels would be: ACO
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23590 | pvr: Correctly read dynamic state setup during blend constant setup
has a history of label changes - skipping
old labels: powervr
new labels would be: powervr
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23204 | iris: avoid creating array with size 0
^CTraceback (most recent call last):
File "/home/kherbst/git/mr-label-maker/./mr_label_maker.py", line 8, in <module>
mr_label_maker.main(sys.argv[1:])
File "/home/kherbst/git/mr-label-maker/mr_label_maker/mr_label_maker.py", line 212, in main
proj.process_mrs(mrs)
File "/home/kherbst/git/mr-label-maker/mr_label_maker/project.py", line 218, in process_mrs
self.process_issue(mr)
File "/home/kherbst/git/mr-label-maker/mr_label_maker/project.py", line 167, in process_issue
chs = issue.changes()
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/cli.py", line 61, in wrapped_f
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/exceptions.py", line 311, in wrapped_f
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/v4/objects/merge_requests.py", line 264, in changes
return self.manager.gitlab.http_get(path, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/client.py", line 765, in http_get
result = self.http_request(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/client.py", line 680, in http_request
result = self.session.request(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/http/client.py", line 1375, in getresponse
response.begin()
File "/usr/lib64/python3.11/http/client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/http/client.py", line 279, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/socket.py", line 706, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/ssl.py", line 1278, in recv_into
return self.read(nbytes, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/ssl.py", line 1134, in read
return self._sslobj.read(len, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py --dry-run -p mesa --token $(cat ~/.config/gitlab-token) --merge-requests --state opened
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22461 | broadcom/compiler: allow TMU spills after VPM stores
not recognized path: src/broadcom/compiler/vir_register_allocate.c
has a history of label changes - skipping
old labels: v3d,v3dv
new labels would be:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23639 | rusticl/api: Implement get_host_timer and get_device_and_host_timer
new labels: Rusticl
skipping because "dry run" mode is enabled
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23612 | rusticl/queue: overhaul of the queue+event handling
has a history of label changes - skipping
old labels: Rusticl
new labels would be: Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22984 | broadcom/compiler: clarify use of QFILE_VPM
not recognized path: src/broadcom/compiler/nir_to_vir.c
not recognized path: src/broadcom/compiler/v3d_compiler.h
not recognized path: src/broadcom/compiler/vir_to_qpu.c
unable to determine labels
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23620 | intel/isl: Yf/Ys support
has a history of label changes - skipping
old labels: ISL
new labels would be: ANV,ISL,iris,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23591 | pvr: fix division by block size in blit
has a history of label changes - skipping
old labels: powervr
new labels would be: powervr
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23629 | ci: implement farms handling trough files inside .ci-farms
not recognized path: .ci-farms/.placeholder
not recognized path: .ci-farms/anholt
not recognized path: .ci-farms/austriancoder
not recognized path: .ci-farms/collabora
not recognized path: .ci-farms/igalia
not recognized path: .ci-farms/microsoft
not recognized path: .ci-farms/valve
not recognized path: .ci-farms-disabled/.placeholder
not recognized path: .ci-farms-disabled/freedreno
not recognized path: .ci-farms-disabled/lima
has a history of label changes - skipping
old labels: CI
new labels would be: CI
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23477 | nir: add a new ubo uniform loading intrinsic for intel
not recognized path: src/intel/compiler/brw_ir.h
not recognized path: src/intel/compiler/brw_nir.c
not recognized path: src/intel/compiler/brw_nir_blockify_uniform_loads.c
not recognized path: src/intel/compiler/brw_nir_lower_non_uniform_resource_intel.c
not recognized path: src/intel/compiler/brw_shader.cpp
has a history of label changes - skipping
old labels: NIR,intel-fs
new labels would be: NIR,intel-fs
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23517 | amd,radeonsi: IB parser, gfx11 fixes, tess user data SGPRs, tracked regs, remove gfx10 NGG streamout, PAIRS packets
not recognized path: src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
not recognized path: src/gallium/winsys/radeon/drm/radeon_drm_cs.c
has a history of label changes - skipping
old labels: AMD common,RADV,radeonsi
new labels would be: AMD common,RADV,gallium,meson,radeon,radeonsi
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23328 | compiler, nir, treewide: Rename nir_scope type to mesa_scope
not recognized path: src/broadcom/compiler/nir_to_vir.c
not recognized path: src/compiler/shader_enums.c
not recognized path: src/compiler/shader_enums.h
not recognized path: src/intel/compiler/brw_mesh.cpp
not recognized path: src/intel/compiler/brw_nir.c
^CTraceback (most recent call last):
File "/home/kherbst/git/mr-label-maker/./mr_label_maker.py", line 8, in <module>
mr_label_maker.main(sys.argv[1:])
File "/home/kherbst/git/mr-label-maker/mr_label_maker/mr_label_maker.py", line 212, in main
proj.process_mrs(mrs)
File "/home/kherbst/git/mr-label-maker/mr_label_maker/project.py", line 218, in process_mrs
self.process_issue(mr)
File "/home/kherbst/git/mr-label-maker/mr_label_maker/project.py", line 180, in process_issue
if len(issue.resourcelabelevents.list()) > 0:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/exceptions.py", line 311, in wrapped_f
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/mixins.py", line 241, in list
obj = self.gitlab.http_list(path, **data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/client.py", line 825, in http_list
return list(GitlabList(self, url, query_data, get_next=False, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/client.py", line 984, in __init__
self._query(url, query_data, **self._kwargs)
File "/usr/lib/python3.11/site-packages/gitlab/client.py", line 994, in _query
result = self._gl.http_request("get", url, query_data=query_data, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/client.py", line 680, in http_request
result = self.session.request(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/http/client.py", line 1375, in getresponse
response.begin()
File "/usr/lib64/python3.11/http/client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/http/client.py", line 279, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/socket.py", line 706, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/ssl.py", line 1278, in recv_into
return self.read(nbytes, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/ssl.py", line 1134, in read
return self._sslobj.read(len, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py --dry-run -p mesa --token $(cat ~/.config/gitlab-token) --merge-requests --state opened --ignore-label-history
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22461 | broadcom/compiler: allow TMU spills after VPM stores
not recognized path: src/broadcom/compiler/vir_register_allocate.c
unable to determine labels
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23639 | rusticl/api: Implement get_host_timer and get_device_and_host_timer
new labels: Rusticl
skipping because "dry run" mode is enabled
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23612 | rusticl/queue: overhaul of the queue+event handling
old labels: Rusticl
new labels: Rusticl
skipping because "dry run" mode is enabled
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22984 | broadcom/compiler: clarify use of QFILE_VPM
not recognized path: src/broadcom/compiler/nir_to_vir.c
not recognized path: src/broadcom/compiler/v3d_compiler.h
not recognized path: src/broadcom/compiler/vir_to_qpu.c
unable to determine labels
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23620 | intel/isl: Yf/Ys support
old labels: ISL
new labels: ANV,ISL,iris,meson
skipping because "dry run" mode is enabled
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23591 | pvr: fix division by block size in blit
old labels: powervr
new labels: powervr
skipping because "dry run" mode is enabled
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23629 | ci: implement farms handling trough files inside .ci-farms
^CTraceback (most recent call last):
File "/home/kherbst/git/mr-label-maker/./mr_label_maker.py", line 8, in <module>
mr_label_maker.main(sys.argv[1:])
File "/home/kherbst/git/mr-label-maker/mr_label_maker/mr_label_maker.py", line 212, in main
proj.process_mrs(mrs)
File "/home/kherbst/git/mr-label-maker/mr_label_maker/project.py", line 218, in process_mrs
self.process_issue(mr)
File "/home/kherbst/git/mr-label-maker/mr_label_maker/project.py", line 167, in process_issue
chs = issue.changes()
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/cli.py", line 61, in wrapped_f
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/exceptions.py", line 311, in wrapped_f
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/v4/objects/merge_requests.py", line 264, in changes
return self.manager.gitlab.http_get(path, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/client.py", line 765, in http_get
result = self.http_request(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/client.py", line 680, in http_request
result = self.session.request(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/http/client.py", line 1375, in getresponse
response.begin()
File "/usr/lib64/python3.11/http/client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/http/client.py", line 279, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/socket.py", line 706, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/ssl.py", line 1278, in recv_into
return self.read(nbytes, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/ssl.py", line 1134, in read
return self._sslobj.read(len, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py --dry-run -p mesa --token $(cat ~/.config/gitlab-token) --merge-requests --state opened --label rusticl
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py --dry-run -p mesa --token $(cat ~/.config/gitlab-token) --merge-requests --state opened --label Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23612 | rusticl/queue: overhaul of the queue+event handling
has a history of label changes - skipping
old labels: Rusticl
new labels would be: Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21305 | mesa/st, iris, rusticl: Add cl_khr_gl_sharing extension
not recognized path: include/GL/mesa_glinterop.h
not recognized path: src/mesa/state_tracker/st_interop.c
not recognized path: subprojects/libloading.wrap
has a history of label changes - skipping
old labels: EGL,GLX,Rusticl,gallium,iris,llvmpipe,mesa,meson
new labels would be: Rusticl,iris,llvmpipe,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23618 | treewide: spelling fixes
has a history of label changes - skipping
old labels: GLSL,NIR,Rusticl,SPIR-V,clover,freedreno,ir3
new labels would be: GLSL,NIR,Rusticl,SPIR-V,clover,freedreno,ir3
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23532 | rusticl/spirv: Key optional clc features when caching.
has a history of label changes - skipping
old labels: Rusticl
new labels would be: Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22893 | Implement OpenCL subgroups in Rusticl
not recognized path: src/compiler/clc/clc.h
not recognized path: src/compiler/clc/clc_helpers.cpp
not recognized path: src/compiler/shader_info.h
not recognized path: src/intel/compiler/intel_clc.c
has a history of label changes - skipping
old labels: Rusticl,SPIR-V,clover,docs,gallium,iris,llvmpipe,radeon,radeonsi
new labels would be: Rusticl,SPIR-V,asahi,clover,crocus,docs,freedreno,gallium,iris,llvmpipe,nouveau,nv50,nvc0,panfrost,r600,radeon,radeonsi,softpipe,v3d,zink
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21612 | Draft: rusticl: add support for build-id to the build cache
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21451 | Draft: Rusticl: add a NIR_PASS macro
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23387 | nir/builtin: remodel nextafter like libclc
has a history of label changes - skipping
old labels: NIR,Rusticl
new labels would be: NIR
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23353 | Draft: radeonsi/rusticl: add support for full profile
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23115 | spirv/rusticl: add expect assume opcodes for cl_khr_expect_assume
not recognized path: src/compiler/clc/clc_helpers.cpp
has a history of label changes - skipping
old labels: Rusticl,SPIR-V
new labels would be: Rusticl,SPIR-V
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18986 | nir/etnaviv: add support for OpenCL through rusticl
not recognized path: bin/ci/requirements.txt
has a history of label changes - skipping
old labels: Rusticl,etnaviv
new labels would be: CI,NIR,Rusticl,etnaviv,gallium,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20224 | rusticl: lower a couple of sysvals
has a history of label changes - skipping
old labels: Rusticl
new labels would be: Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20841 | zink: add support for get_compute_state_info in context
has a history of label changes - skipping
old labels: Rusticl,zink
new labels would be: zink
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py -p mesa --token $(cat ~/.config/gitlab-token) --merge-requests --state opened --label Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23612 | rusticl/queue: overhaul of the queue+event handling
has a history of label changes - skipping
old labels: Rusticl
new labels would be: Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21305 | mesa/st, iris, rusticl: Add cl_khr_gl_sharing extension
not recognized path: include/GL/mesa_glinterop.h
not recognized path: src/mesa/state_tracker/st_interop.c
not recognized path: subprojects/libloading.wrap
has a history of label changes - skipping
old labels: EGL,GLX,Rusticl,gallium,iris,llvmpipe,mesa,meson
new labels would be: Rusticl,iris,llvmpipe,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23618 | treewide: spelling fixes
has a history of label changes - skipping
old labels: GLSL,NIR,Rusticl,SPIR-V,clover,freedreno,ir3
new labels would be: GLSL,NIR,Rusticl,SPIR-V,clover,freedreno,ir3
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23532 | rusticl/spirv: Key optional clc features when caching.
has a history of label changes - skipping
old labels: Rusticl
new labels would be: Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22893 | Implement OpenCL subgroups in Rusticl
not recognized path: src/compiler/clc/clc.h
not recognized path: src/compiler/clc/clc_helpers.cpp
not recognized path: src/compiler/shader_info.h
not recognized path: src/intel/compiler/intel_clc.c
has a history of label changes - skipping
old labels: Rusticl,SPIR-V,clover,docs,gallium,iris,llvmpipe,radeon,radeonsi
new labels would be: Rusticl,SPIR-V,asahi,clover,crocus,docs,freedreno,gallium,iris,llvmpipe,nouveau,nv50,nvc0,panfrost,r600,radeon,radeonsi,softpipe,v3d,zink
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21612 | Draft: rusticl: add support for build-id to the build cache
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21451 | Draft: Rusticl: add a NIR_PASS macro
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23387 | nir/builtin: remodel nextafter like libclc
has a history of label changes - skipping
old labels: NIR,Rusticl
new labels would be: NIR
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23353 | Draft: radeonsi/rusticl: add support for full profile
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23115 | spirv/rusticl: add expect assume opcodes for cl_khr_expect_assume
not recognized path: src/compiler/clc/clc_helpers.cpp
has a history of label changes - skipping
old labels: Rusticl,SPIR-V
new labels would be: Rusticl,SPIR-V
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18986 | nir/etnaviv: add support for OpenCL through rusticl
not recognized path: bin/ci/requirements.txt
has a history of label changes - skipping
old labels: Rusticl,etnaviv
new labels would be: CI,NIR,Rusticl,etnaviv,gallium,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20224 | rusticl: lower a couple of sysvals
has a history of label changes - skipping
old labels: Rusticl
new labels would be: Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20841 | zink: add support for get_compute_state_info in context
has a history of label changes - skipping
old labels: Rusticl,zink
new labels would be: zink
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py -p mesa --token $(cat ~/.config/gitlab-token) --merge-requests --state opened --label Rusticl^C
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py -p mesa --token $(cat ~/.config/gitlab-token) --merge-requests --state opened --label Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23612 | rusticl/queue: overhaul of the queue+event handling
has a history of label changes - skipping
old labels: Rusticl
new labels would be: Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21305 | mesa/st, iris, rusticl: Add cl_khr_gl_sharing extension
not recognized path: include/GL/mesa_glinterop.h
not recognized path: src/mesa/state_tracker/st_interop.c
not recognized path: subprojects/libloading.wrap
has a history of label changes - skipping
old labels: EGL,GLX,Rusticl,gallium,iris,llvmpipe,mesa,meson
new labels would be: Rusticl,iris,llvmpipe,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23618 | treewide: spelling fixes
has a history of label changes - skipping
old labels: GLSL,NIR,Rusticl,SPIR-V,clover,freedreno,ir3
new labels would be: GLSL,NIR,Rusticl,SPIR-V,clover,freedreno,ir3
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23532 | rusticl/spirv: Key optional clc features when caching.
has a history of label changes - skipping
old labels: Rusticl
new labels would be: Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22893 | Implement OpenCL subgroups in Rusticl
not recognized path: src/compiler/clc/clc.h
not recognized path: src/compiler/clc/clc_helpers.cpp
not recognized path: src/compiler/shader_info.h
not recognized path: src/intel/compiler/intel_clc.c
has a history of label changes - skipping
old labels: Rusticl,SPIR-V,clover,docs,gallium,iris,llvmpipe,radeon,radeonsi
new labels would be: Rusticl,SPIR-V,asahi,clover,crocus,docs,freedreno,gallium,iris,llvmpipe,nouveau,nv50,nvc0,panfrost,r600,radeon,radeonsi,softpipe,v3d,zink
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21612 | Draft: rusticl: add support for build-id to the build cache
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21451 | Draft: Rusticl: add a NIR_PASS macro
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23387 | nir/builtin: remodel nextafter like libclc
has a history of label changes - skipping
old labels: NIR,Rusticl
new labels would be: NIR
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23353 | Draft: radeonsi/rusticl: add support for full profile
skipping draft
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23115 | spirv/rusticl: add expect assume opcodes for cl_khr_expect_assume
not recognized path: src/compiler/clc/clc_helpers.cpp
has a history of label changes - skipping
old labels: Rusticl,SPIR-V
new labels would be: Rusticl,SPIR-V
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18986 | nir/etnaviv: add support for OpenCL through rusticl
not recognized path: bin/ci/requirements.txt
has a history of label changes - skipping
old labels: Rusticl,etnaviv
new labels would be: CI,NIR,Rusticl,etnaviv,gallium,meson
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20224 | rusticl: lower a couple of sysvals
has a history of label changes - skipping
old labels: Rusticl
new labels would be: Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20841 | zink: add support for get_compute_state_info in context
has a history of label changes - skipping
old labels: Rusticl,zink
new labels would be: zink
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py -p mesa --token $(cat ~/.config/gitlab-token) --merge-requests 23639 --state opened --label Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23639 | rusticl/api: Implement get_host_timer and get_device_and_host_timer
new labels: Rusticl
applied
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py -p mesa --token $(cat ~/.config/gitlab-token) --merge-requests --state opened --label Rusticl | grep --merge-requests
grep: unrecognized option '--merge-requests'
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
^CTraceback (most recent call last):
File "/home/kherbst/git/mr-label-maker/./mr_label_maker.py", line 8, in <module>
mr_label_maker.main(sys.argv[1:])
File "/home/kherbst/git/mr-label-maker/mr_label_maker/mr_label_maker.py", line 199, in main
proj.connect()
File "/home/kherbst/git/mr-label-maker/mr_label_maker/project.py", line 61, in connect
self.proj = self.gl.projects.get(self.id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/v4/objects/projects.py", line 746, in get
return cast(Project, super().get(id=id, lazy=lazy, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/exceptions.py", line 311, in wrapped_f
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/mixins.py", line 111, in get
server_data = self.gitlab.http_get(path, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/client.py", line 765, in http_get
result = self.http_request(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gitlab/client.py", line 680, in http_request
result = self.session.request(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/http/client.py", line 1375, in getresponse
response.begin()
File "/usr/lib64/python3.11/http/client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/http/client.py", line 279, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/socket.py", line 706, in readinto
return self._sock.recv_into(b)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/ssl.py", line 1278, in recv_into
return self.read(nbytes, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/ssl.py", line 1134, in read
return self._sslobj.read(len, buffer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py -p mesa --token $(cat ~/.config/gitlab-token) --merge-requests 23639 --state opened --label Rusticl^C
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py -p mesa --token $(cat ~/.config/gitlab-token) --dry-run --merge-requests --state opened --label Rusticl | grep 23639
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23639 | rusticl/api: Implement get_host_timer and get_device_and_host_timer
[kherbst@kherbst mr-label-maker]$ ./mr_label_maker.py -p mesa --token $(cat ~/.config/gitlab-token) --dry-run --merge-requests --state opened --label Rusticl | grep 23639 -A5
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23639 | rusticl/api: Implement get_host_timer and get_device_and_host_timer
has a history of label changes - skipping
old labels: Rusticl
new labels would be: Rusticl
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23612 | rusticl/queue: overhaul of the queue+event handling
[kherbst@kherbst mr-label-maker]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment