Package: kgb-bot
Version: 1.46-1

I noticed kgb doesn't notify when a branch is removed.
Please notify about those as well, here is example payloads:

{
  "object_kind": "push",
  "event_name": "push",
  "before": "c6a157e620d290b7a08ffafb2b592ec02488650e",
  "after": "0000000000000000000000000000000000000000",
  "ref": "refs/heads/tmp",
  "checkout_sha": null,
  "message": null,
  "user_id": 1835,
  "user_name": "Mattia Rizzolo",
  "user_username": "mattia",
  "user_email": "mat...@debian.org",
  "user_avatar": 
"https://seccdn.libravatar.org/avatar/4b3711b195492ab1ef2bd17328a0c895?s=80&d=identicon";,
  "project_id": 6269,
  "project": {
    "id": 6269,
    "name": "pbuilder",
    "description": "pbuilder git tree",
    "web_url": "https://salsa.debian.org/pbuilder-team/pbuilder";,
    "avatar_url": null,
    "git_ssh_url": "g...@salsa.debian.org:pbuilder-team/pbuilder.git",
    "git_http_url": "https://salsa.debian.org/pbuilder-team/pbuilder.git";,
    "namespace": "Debian pbuilder Team",
    "visibility_level": 20,
    "path_with_namespace": "pbuilder-team/pbuilder",
    "default_branch": "master",
    "ci_config_path": null,
    "homepage": "https://salsa.debian.org/pbuilder-team/pbuilder";,
    "url": "g...@salsa.debian.org:pbuilder-team/pbuilder.git",
    "ssh_url": "g...@salsa.debian.org:pbuilder-team/pbuilder.git",
    "http_url": "https://salsa.debian.org/pbuilder-team/pbuilder.git";
  },
  "commits": [

  ],
  "total_commits_count": 0,
  "repository": {
    "name": "pbuilder",
    "url": "g...@salsa.debian.org:pbuilder-team/pbuilder.git",
    "description": "pbuilder git tree",
    "homepage": "https://salsa.debian.org/pbuilder-team/pbuilder";,
    "git_http_url": "https://salsa.debian.org/pbuilder-team/pbuilder.git";,
    "git_ssh_url": "g...@salsa.debian.org:pbuilder-team/pbuilder.git",
    "visibility_level": 20
  }
}


Incidentally, I also noticed that removed tags are reported like this:

[01:37:18 PM] <KGB-2> Mattia Rizzolo tags 0000000 pbuilder tt * 
https://deb.li/jutM

Please:
 * understand that 0000000000000000000000000000000000000000 hash
 * mark the message has having clearly removed that object
 * don't put the url for those
(this is not only for the tags, I'd expect the branch removals to have
the same message, so I'm writing this here)

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to