Hello,
by occasion I saw this thread.
Background:
I have been at beginning using Launchpad to import the code automacally
from GoogleCode. But the hg->bzr import does not work.
Thus, I set up a manual mirror at GitHub:
https://github.com/spyder-ide/spyderlib-mirror

I use the following script to update this one:
#!/bin/bash
# Purpose: Mirror the Spyderlib source code managed in Google Code over
to GitHUb (git)
#
# Requirements:
# *   Have git-hg installed: https://github.com/cosmin/git-hg
# *   Have hg installed
cd /tmp/
git-hg clone https://code.google.com/p/spyderlib/
cd spyderlib/
git remote add origin git://github.com/spyder-ide/spyderlib-mirror.git
git push -f [email protected]:spyder-ide/spyderlib-mirror.git

A note:
* I couldn't find a functionality in GitHub that can automatically sync
from a mercurial repo
* The script works but still is non optimal because it needs to be done
by person
* The Launchpad import grabs automatically any changes on GitHub and
works flawlessly.

Monitor the google code via the RSS feed from the project page.
Once a pile of changes were commited, I would run the script.

> Yep, I'll have to do the sync myself but that'll be a matter of pulling
> from one source and pushing to the other one, and vice-versa, so I don't
> see much trouble there (given that our amount of work is still small).
So, I am excited to see how you'll implement the mirroring.

Feel free to ping me on any questions.

Best regards,
Timmie

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to