~xenrox/hut

builds: Update webhook events

JOB_UPDATED got added.
todo update: Support updating name
git update: Support updating repo name
builds: Add update
Update schemata
git: Add git webhook delete
git: Add git webhook list
git: Add git webhook create
Update schemata
todo ticket list: Show only open tickets by default

Furthermore the status is only displayed if filtering is disabled
because the information would be redundant.
builds list: Add status filtering
lists patchset list: Add status filtering

By default only "PROPOSED" patchsets will be displayed.

Furthermore the status is removed from the output unless filtering is
disabled because the information would be redundant.
Improve error handling

Don't panic/log.Fatal deep in the call stack. This can otherwise cause
unexpected bugs like with the pager shutdown in the past or completions
behaving incorrectly.
lists patchset list: Trim prefix

The prefix can contain trailing spaces which would cause an output
like this: "[hut ]"
af9d503f — Tim Hårek Andreassen 3 months ago
Add --web flag

For opening git repo, todo ticket and builds job in browser.

References: https://todo.sr.ht/~xenrox/hut/49
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
git: CutSuffix -> TrimSuffix

CutSuffix would require at least go 1.20.
Instead use TrimSuffix, the extra information provided by CutSuffix are
not used either way.
builds submit: Support ".yaml" manifests

Implements: https://todo.sr.ht/~xenrox/hut/53
git setup: Fix error check
7fd0177f — наб 4 months ago
git: iterate over all remotes

Given:
  $ git -C ~/code/archivemount.deb/ remote -v
  origin  git@salsa.debian.org:nabijaczleweli/archivemount.git (fetch)
  origin  git@salsa.debian.org:nabijaczleweli/archivemount.git (push)
  sourcehut       git@git.sr.ht:~nabijaczleweli/archivemount.deb (fetch)
  sourcehut       git@git.sr.ht:~nabijaczleweli/archivemount.deb (push)
before:
  $ (cd ~/code/archivemount.deb/; hut git show)
  no sr.ht Git repository found in current directory
after:
  $ (cd ~/code/archivemount.deb/; $hut git show)
  archivemount.deb (public)
    archivemount Debian package baesd on gbp import-dscs --debsnap history (mirror of https://salsa.debian.org/nabijaczleweli/archivemount)

    Latest tag: upstream/1

    Branches:
      debian
      pristine-tar
      upstream

    Recent log:
      bd5278f наб <nabijaczleweli@nabijaczleweli.xyz> (2 weeks ago)
        Use Salsa. Mention Vcs-Git, Standards-Version, and debhelper compat level in changelog. Both per https://bugs.debian.org/1075777#37. Revert Section: to utils
      1ca7a8b наб <nabijaczleweli@nabijaczleweli.xyz> (2 weeks ago)
        d/salsa-ci.yml from systemd-cron
      cda014e наб <nabijaczleweli@nabijaczleweli.xyz> (2 months ago)
        This closes all the bugs
Next