Re: Please enable fast forward for user branches

Joel Brobecker
2021-03-30T12:52:22Z

> > Actually, we do use the git-hooks (https://github.com/adacore/git-hooks)
> > which allow per-reference configuration of that restriction. That's
> > what I was trying to explain in my message.
>
> gotcha
>
> iiuc, the hooks are only accessible to a handful of devs who have admin
> access (i.e. ssh terminal on sourceware.org). could we move these to
> git themselves ? in past admin roles, i'd setup the hooks as yet another
> git repo for people to clone so people could send patches, or if review
> systems were available, to send PR's. only admins could approve, but
> everyone could still contribute & review directly.

The configuration is actually already accessible through Git,
inside the repository itself. The location is inspired from Gerrit:
It's in a file called project.config in the special reference
refs/meta/config.

The hooks themselves are under GitHub, and there is what I hope
a good reference README.md file that explains how to use the hooks.

--
Joel