Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
chore: prepare release 0.12.0
Merged liw opened 1 year ago

Signed-off-by: Lars Wirzenius liw@liw.fi

4 files changed +54 -2 030a3901 64e76a97
modified Cargo.lock
@@ -1928,7 +1928,7 @@ dependencies = [

[[package]]
name = "radicle-ci-broker"
-
version = "0.11.1"
+
version = "0.12.0"
dependencies = [
 "anyhow",
 "clap",
modified Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "radicle-ci-broker"
-
version = "0.11.1"
+
version = "0.12.0"
edition = "2021"
rust-version = "1.80"
authors = ["Lars Wirzenius <liw@liw.fi", "cloudhead <cloudhead@radicle.xyz>"]
modified NEWS.md
@@ -4,6 +4,52 @@ This file summarizes the user-visible changes to `radicle-ci-broker`
between releases.


+
## Version 0.12.0, released 2025-01-29
+

+
Breaking changes:
+

+
* The `radicle_ci_broker::msg::helper` module error type has been
+
  renames to `MessageHelperError` from `NativeMessageError`. The old
+
  name was misleading and copy-pasted from the Radicle native CI
+
  adapter.
+

+
* The `radicle_ci_broker::db::Db::queued_events` method has been
+
  dropped. This also means the CI broker no longer checks that the old
+
  "broker events" queue is empty when starting. Previously `cib` would
+
  refuse to start if the old queue wasn't empty. (The new queue has
+
  "CI events", which are different from "broker events". This change
+
  only affects the old queue, which hasn't been used in several
+
  releases.)
+

+
New features:
+

+
* There is now a new way to specify when a CI run should trigger,
+
  using the new `triggers` field in the configuration file. The new
+
  approach allows many runs to be triggered from one change, and each
+
  run can have a different CI adapter. See the user guide chapter
+
  "Triggering CI" for details. The old `filter` and `default_adapter`
+
  approach is still supported, but will eventually go away.
+

+
* As part of the `triggers` change, because of old mistakes, filtering
+
  of event now happens when queued events are processed. Previously,
+
  the filter was applied before an event was queued. This will
+
  hopefully not cause problems due to the event queue exploding in
+
  size. If it does cause problems, we can fix that, although it'll
+
  require a database schema change. Let us know.
+

+
* The `cibtool trigger` option `--ref` (also known as `--name`) now
+
  defaults to `main` and `--commit` defaults to `HEAD`. This makes the
+
  command a little bit more convenient to use.
+

+
* The frequency of how often the event queue length is logged can now
+
  be configured. This reduces log spam when the CI broker is idle. The
+
  setting is called `queue_len_interval` and is set to one hour by
+
  default.
+

+
* The source code repository for the CI broker now includes packaging
+
  for the NixOS operating system.
+

+

## Version 0.11.1, released 2025-01-09

This is primarily a bug fix release.
modified debian/changelog
@@ -1,3 +1,9 @@
+
radicle-ci-broker (0.12.0) unstable; urgency=medium
+

+
  * New release.
+

+
 -- Lars Wirzenius <liw@liw.fi>  Wed, 29 Jan 2025 11:07:08 +0200
+

radicle-ci-broker (0.11.1) unstable; urgency=medium

  * New release.