If there is no reason not to do it, please migrate the gentoo-news repository into git. This will allow developers to work on new news message commits without having to commit them directly to the server.
Is it possible to have a pre-commit hook (as in bug 275503) in git? If yes, then please provide one. If not, I'm opposed against this move.
(In reply to comment #1) > Is it possible to have a pre-commit hook (as in bug 275503) in git? Yep, I think the 'update' hook would be best for it. > If yes, then please provide one. Will do later today. It is supposed to be based on the 'take 5' attachment, right?
(In reply to comment #2) > > Is it possible to have a pre-commit hook (as in bug 275503) in git? > > Yep, I think the 'update' hook would be best for it. > > > If yes, then please provide one. > > Will do later today. It is supposed to be based on the 'take 5' attachment, > right? Yes, unless it was subsequently updated. I don't know if it's possible to see the active file, though. Maybe you have to check with infra.
Created attachment 298251 [details, diff] Python variant.
Comment on attachment 298251 [details, diff] Python variant. Oops, got too used to git-bz :D.
Created attachment 298253 [details] The update hook for git
One of you, ping me on IRC please re that hook.
The hook should be ready now but please verify that the hook is working.