Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
Doesn't have tag events
Closed { reason: Solved } liw opened 1 year ago
liw commented 1 year ago

cib already parses the Git ref to distinguish between changes to branchs and patches, and could maybe do the same to detect tag changes. Assuming the Radicle node emits a RefsFetched event with a relevant update.

liw commented 1 year ago

cibtool event record while pushing a tag to a repository would be a way to see this.

liw commented 1 year ago

I tested this:

  • On one node, run cibtool event record --output node-event.log
  • On other node, create tag (git tag -sam "test tag" v0.0.0), then push (git push --tags rad)
  • Still on other node, change tag (git tag -sam "test tag" v0.0.0 c0b4b6b5792140fbbc3e59cc31de329d909894d6), then push again (with -f)

Result:

Node emits a RefsFetched event with an update that looks like any other ref update:

    {
      "created": {
        "name": "refs/namespaces/z6MkgEMYod7Hxfy9qCvDv5hYHkZ4ciWmLFgfvm3Wn1b2w2FV/refs/tags/v0.0.0",
        "oid": "0136ea60433f4f2a66034f60522833d8b9c77224"
      }
    }
liw commented 1 year ago

I can change the Ci broker to cope with this.

liw commented 1 year ago

Tag events are now supported.