Skip to content

common/Scripts/publish_series.py: Publish series faster#8490

Merged
EbonJaeger merged 2 commits into
mainfrom
publish-series-faster
Apr 9, 2026
Merged

common/Scripts/publish_series.py: Publish series faster#8490
EbonJaeger merged 2 commits into
mainfrom
publish-series-faster

Conversation

@silkeh

@silkeh silkeh commented Apr 9, 2026

Copy link
Copy Markdown
Member

Summary

Increase the performance of checking known builds by getting the list of builds only once before starting. This is mostly apparent in a dry-run, which now only does one HTTP call for the entire run.

Improve the output of builds by showing the commit message instead of the raw python object. This turns lines like the following:

Pushing build: Build(source='python-setuptools', tag='python-setuptools-82.0.1-26', path='packages/py/python-setuptools', ref='d3562c463b73375afa3eca88a48fffd850b84086', comment='BUILD 1/11')

Into:

Pushing build: python-setuptools: Update to v82.0.1 (https://github.com/getsolus/packages/commit/d3562c463b73375afa3eca88a48fffd850b84086)

Test Plan

Run script against the LLVM 20 PR:

$ ./common/Scripts/publish_series.py --base 3bbb8c1ee4 --head c36143e728 --dry-run
Pushing to Git
Pushing build: llvm: Update to v20.1.8 (055f8cc38c)
Pushing build: spirv-headers: Update to v1.4.335.0 (3f8fd64384)
Pushing build: llvm: Rebootstrap against itself (4f6b2fe5bd)
Pushing build: linux-tools: Rebuild against libLLVM 20 (df0761678d)
Pushing build: bcc: Rebuild against libLLVM 20 (c1617dcf98)
Pushing build: bpftrace: Rebuild against llvm 20 (1d2f1ac353)
Pushing build: doxygen: Rebuild against LLVM 20 (bdb384d7a5)
Pushing build: gnome-builder: Rebuild against LLVM 20 (8a2c125225)
Pushing build: ispc: Update to v1.29.1 & rebuild against llvm 20 (ffbc9f561e)
Pushing build: kdevelop: Rebuild against LLVM 20 (df6db42dec)
Pushing build: rust: Bootstrap v1.92.0 against LLVM 20 (a0b94b803d)
Pushing build: lldb: Update to v20.1.8 (8c7e4ad89d)
Pushing build: rust: Debootstrap (e062ab2058)
Pushing build: spirv-tools: Update to v2025.5 (c67d00b593)
Pushing build: spirv-llvm-translator: Update to v20.1.8 (a8c8840037)
Pushing build: mesalib: Rebuild against LLVM 20 (defc143ef8)
Pushing build: openshadinglanguage: Update to v1.15.0.0 & rebuild against LLVM 20 (c62c85eecf)
Pushing build: python-pyside6: Rebuild against LLVM 20 (540189e844)
Pushing build: qt5-tools: Rebuild against LLVM 20 (44ec96c28a)
Pushing build: qt6-tools: Rebuild against LLVM 20 (69d561481b)
Pushing build: qt-creator: Rebuild against LLVM 20 (9428c09d8c)
Pushing build: ldc: Rebuild against LLVM 20 (b2f67a497b)
Pushing build: zig: Update to v0.15.2 & rebuild against LLVM 20 (e4872cb0a7)
Skipping commit: packages: Remove opencl-clang (04225656d3)
Skipping commit: repo_data: Deprecate opencl-clang (c36143e728)

Checklist

  • Package was built and tested against unstable
  • This change could gainfully be listed in the weekly sync notes once merged

silkeh added 2 commits April 9, 2026 20:24
**Summary**

Increase the performance of checking known builds by getting the list of builds only once before starting.
This is mostly apparent in a dry-run, which now only does *one* HTTP call for the entire run.
**Summary**

Improve the output of builds by showing the commit message instead of the raw python object.
This turns lines like the following:

```
Pushing build: Build(source='python-setuptools', tag='python-setuptools-82.0.1-26', path='packages/py/python-setuptools', ref='d3562c463b73375afa3eca88a48fffd850b84086', comment='BUILD 1/11')
```

Into:

```
Pushing build: python-setuptools: Update to v82.0.1 (d3562c4)
```
@github-project-automation github-project-automation Bot moved this to Triage in Solus Apr 9, 2026
@silkeh silkeh changed the title Publish series faster common/Scripts/publish_series.py: Publish series faster Apr 9, 2026

@EbonJaeger EbonJaeger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with the latest Plasma PR. Fast like lightning. Thanks!

@EbonJaeger EbonJaeger merged commit 10c620b into main Apr 9, 2026
2 checks passed
@EbonJaeger EbonJaeger deleted the publish-series-faster branch April 9, 2026 19:44
@github-project-automation github-project-automation Bot moved this from Triage to Done in Solus Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants