Closed (fixed)
Project:
The Great Git Migration
Component:
Migration scripts
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
3 Sep 2010 at 15:28 UTC
Updated:
3 Jan 2014 at 02:04 UTC
Jump to comment: Most recent
It would really help people to start to use the git.drupalcode.org repo if it refreshed far more often.
My suggestion:
Somehow make a post-commit hook trigger a rebuild of the project (probably for contrib only) so that people would have to wait very little time to find their commit reflected in the git repo. The regular overall rebuild could still be done just as it is now.
Thanks,
-Randy
Comments
Comment #1
sdboyer commentedTagging
Comment #2
jbrown commentedThis would be very awesome!
Comment #3
sdboyer commentedsee if we can't do this for the sprint after this one. this'd be really great to have, would help people to rely a bit more on git.drupalcode.org
Comment #4
neclimdulsub
Comment #5
rfayI think we should try to get this done, just for ourselves, because we're all frustrated about it.
Comment #6
rfayI have suggested one way to do this, but the real issue here is that we need to see the git repo update more often, because it's not fast enough for real development.
The reason to do this (long) before rollout is:
mikey_p and others have proposed other approaches like checking the db every minute or two for commits, and doing a project rebuild.
And of course, the full rebuild every 2 hours would still supercede any project rebuilds.
Comment #7
dwwI'd strongly recommend not touching the existing xcvs hooks for this. They're fragile, and we don't have the time to afford to maybe break them and clean up the resulting mess. I'd be much happier if something was just watching the {cvs_files} table or something like that.
I'm neutral on if this is worth doing at all. It seems we have a lot of other work that needs to happen to make the Git migration a reality, things that need to happen. This is optional, and therefore, seems really low priority to me (or won't fix). But if we're going to do this, I'm strongly opposed to triggering it directly inside the xcvs scripts themselves.
Cheers,
-Derek
Comment #8
sdboyer commentedneclimdul knocked this sucker out. It's now running live - CVS commits to projects are reflected within 5 minutes on git.drupalcode.org. woohoo!
Comment #9
sdboyer commentedComment #10
rfayYippee! SO very cool! I think this is a win for the project.
We need to publicize this so that people know they can switch over.