Originally created by: rosslagerwall
Hi,
Is it possible to have git hooks in the new SF Beta?
I would like to have it email the mailing list when a commit occurs but it does not seem possible to access the repository via the shell as documented here https://sourceforge.net/apps/trac/sourceforge/wiki/Git. If this is not possible, is there any date when it will be available?
Also, it does not seem possible to subscribe to a git repository to get emailed updates (although being a committer for a repository automatically subscribes that user).
Thanks
Yes, you can add a git hook. https://sourceforge.net/p/forge/documentation/Git%20-%20Beta/#accessing-the-repository-via-the-shell describes how to access the git repo via ssh. Then you can put hooks in there as needed.
And we have [#2922] to allow anyone to subscribe to a repo.
Related
Tickets:
#2922