[oe] SCM scorecards

Holger Freyther zecke at selfish.org
Thu Mar 27 02:11:47 UTC 2008


On Thursday 27 March 2008 02:01:20 Graeme Gregory wrote:

> Yes, mtn is designed to have many repos which are mirrors. From my
> looks at git it is designed to always end up with one central repo.
>
> The methods of syncing two git trees seem to be hacks or alter
> data. master becomes origin/master for example.

repo.or.cz supports a mirror mode so it can't be too hard. My approach would 
consist out of two shell commands:

	1. git-fetch remote to fetch everything from the remote
	2. git-reset to update the branches to the version of the newly fetched 
	    files.

but then we can ask the provider of repo.or.cz where you can ask it to mirror 
any other git tree how he is implementing it.



>
> And because you always have to pull before push, people cant
> use upstreams in parrallel and the tool just works.

I don't follow here. Creating a branch is the first exception, you push before 
you pull there. If you mean that currently I can push to wolfson and it will 
end up on mtn.oe.org automatically then yes, mtn can do the syncing in a 
fantastic way. And yes with mtn it is more easy due multiple heads. I think 
it is doable with git as well.





More information about the Openembedded-devel mailing list