Re: [eigen] Named branches

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


I have a job that runs in my Jenkins continuous integration server, set up to clone Eigen over Hg checking for updates hourly.  For Hg, I found it easiest to do this semi-manually: the script that runs in case of an update is:
hg pull
hg update
hg bookmark -f hg/default -r default
hg bookmark -f hg/3.0 -r 3.0
hg bookmark -f hg/3.1 -r 3.1
hg bookmark -f hg/2.0 -r 2.0
hg push git+ssh://git@xxxxxxxxxx/vancegroup-mirrors/eigen.git

(Thanks for the reminder - added 3.2...)

This is using hg-git, a pretty common hg extension that is typically used the other direction (so people can use hg to interact with a git repo).

For SVN projects, I use the scripts I've stashed here: https://github..com/rpavlik/jenkins-svn2git  This nicely performs a complete mirror of a SVN repo into git.

Ryan



On Thu, Aug 8, 2013 at 12:57 PM, Dale Lukas Peterson <hazelnusse@xxxxxxxxx> wrote:
On Thu, May 9, 2013 at 10:07 AM, Ryan Pavlik <rpavlik@xxxxxxxxxxx> wrote:
> For what it's worth, Git and Hg are pretty isomorphic: as I prefer working
> in Git, I've actually set up an unofficial mirror of Eigen using hg-git that
> automatically updates fairly frequently (can't remember when off the top of
> my head) - anyone else is welcome to use it as well.
> https://github.com/vancegroup-mirrors/eigen  No way with this mirror to
> automatically submit things upstream, but no problem with forking, making
> branches, and submitting patches with git format-patch.

Ryan, do you have a nice system for keeping the git repo current with
the hg repo? Do you have to do it manually? For tracking svn projects,
I have used the steps here [0], which work for things that aren't
changing a whole lot, but for fast moving projects an automated
approach would be the way to go. I haven't seen a similar approach for
tracking hg projects, though I imagine somebody must have a nice way
to do it.

Luke

[0] -- http://stackoverflow.com/questions/465042/is-it-possible-to-have-a-subversion-repository-as-a-git-submodule





--
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

rpavlik@xxxxxxxxxxx
http://academic.cleardefinition.com


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/