Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397989 - Please migrate the 'gentoo-news' repo to git
Summary: Please migrate the 'gentoo-news' repo to git
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-07 10:16 UTC by Michał Górny
Modified: 2012-03-04 12:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Python variant. (Python-variant.patch,3.65 KB, patch)
2012-01-07 17:39 UTC, Michał Górny
Details | Diff
The update hook for git (update,1.36 KB, text/plain; charset=utf-8)
2012-01-07 17:40 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-01-07 10:16:10 UTC
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.
Comment 1 Ulrich Müller gentoo-dev 2012-01-07 10:31:11 UTC
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.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-01-07 10:42:50 UTC
(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?
Comment 3 Ulrich Müller gentoo-dev 2012-01-07 11:02:55 UTC
(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.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-01-07 17:39:36 UTC
Created attachment 298251 [details, diff]
Python variant.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-01-07 17:40:21 UTC
Comment on attachment 298251 [details, diff]
Python variant.

Oops, got too used to git-bz :D.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-01-07 17:40:52 UTC
Created attachment 298253 [details]
The update hook for git
Comment 7 Christian Ruppert (idl0r) gentoo-dev 2012-02-16 11:54:32 UTC
One of you, ping me on IRC please re that hook.
Comment 8 Christian Ruppert (idl0r) gentoo-dev 2012-03-04 12:12:57 UTC
The hook should be ready now but please verify that the hook is working.