This repository has been archived on 2022-02-23. You can view files and clone it, but cannot push or open issues or pull requests.
archive_hook.sh/docs/faq.md

839 B

FAQ

How can i manually trigger update for a repo

If you want to integrate third-party tooling as an unprivileged user (i.e. not an endpoint), you can use the unprivileged forgehook-trigger command:

$ forgehook-trigger https://tildegit.org/tilde-fr/infra

This is handy in case you do not have ownership over the repository (and nobody on the server does), but you've got another channel at hand to receive updates (maybe an IRC bot).

How can i trigger update for a repo system-wide?

So basically, you're building an endpoint! All you need is running forgehook-notify command. This requires group membership to the forgehook group, or root privileges:

# adduser notifier forgehook
# su notifier
$ # I am now privileged to notify updates for all users
$ forgehook-notify https://tildegit.org/tilde-fr/infra