Development moved to GitHub

9 views
Skip to first unread message

shuerhaaken

unread,
Jan 26, 2012, 2:04:00 PM1/26/12
to xno...@googlegroups.com
Dear All,

I moved the development of xnoise to github:
https://github.com/shuerhaaken/xnoise-media-player/wiki
Issue tracking will remain on googlecode for a while. The Wiki I will
also move in the following days.

Best Regards


Michel Alexandre Salim

unread,
Jan 30, 2012, 7:00:46 PM1/30/12
to xno...@googlegroups.com
Hi Jörn,

Before too many commits go on in the new Git repository, could you consider either porting the revision history from the old Hg repository, and re-pushing the new Git repo with all the version history, or alternatively keep the Hg repo on Google Code?

It should be quite simple with http://hg-git.github.com/

Also, all the historical downloads seem to have disappeared; it'd be nice to keep them around if only because there are Linux releases out there (e.g. all currently released versions of Fedora) that cannot ship 0.1.31 yet because of it's Vala dependency (we only have 0.15.x in Rawhide -- I'm building 0.1.31 there right now).

Thanks,

-- 
Michel Alexandre Salim
Fedora Project Contributor

shuerhaaken

unread,
Jan 31, 2012, 4:47:59 AM1/31/12
to xnoise
Hello Michel,

I tried importing branches to git several times with different tools
(also hg-git) and unfortunately it always fails.


Problem is that I started xnoise using subversion on cooglecode in
2008 and I switched to mercurial in 2009 (the only distributed
revision system available on googlecode at that time). For this, I
used a tool which was recommended by googlecode. The migration worked
but the mercurial repository has some revisions with an unnamed head
and some implicit anonymous branches (I think that was the wording)
which removes the possibility to migrate to git.
All available tools fail terribly. There are no solutions from
googlecode side.


I also tried importing hg branches to bzr on launchpad. Same problem.
I had a long running bug report (initial reporting 2010-06-14 !) for
that but there is still no solution.

In the end I gave up and decided to do a flat import of the important
branches (master and gtk2).

The mercurial repo on googlecode is still available but I have hidden
it to indicate that development has moved to a different place. I
could show the source tab of the googlecode page again but that could
lead to a little confusion. Do you think that is necessary?


Concerning the fedora integration:
Please note that there is no dependency on vala for building the
releases of xnoise! The releases will build from the C sources
included in the tarball. Try it. It works unless you do not edit the
vala sources.
But in case there are issues, please let me know!


The downloads are hosted here now:
https://github.com/shuerhaaken/xnoise-media-player/downloads
Should I upload old releases there? Or do you prefer having these back
on the googlecode site?
I will start with uploading some old versions to the github site.
Please let me know if googlecode is also necessary!


Please tell me if you have any problems or doubts with any of these
things!

Best Regards
Jörn


On 31 Jan., 01:00, Michel Alexandre Salim <michael.silva...@gmail.com>
wrote:
> Hi Jörn,
>
> Before too many commits go on in the new Git repository, could you consider
> either porting the revision history from the old Hg repository, and
> re-pushing the new Git repo with all the version history, or alternatively
> keep the Hg repo on Google Code?
>
> It should be quite simple withhttp://hg-git.github.com/

Andrei Dziahel

unread,
Jan 31, 2012, 8:16:27 AM1/31/12
to xno...@googlegroups.com
Hello, Jörn.

I'm pretty sure you've already tried it, but I still have to ask: have you noticed that git branches are actually mapped to hg bookmarks, not branches?

--
You received this message because you are subscribed to the Google Groups "xnoise" group.
To post to this group, send email to xno...@googlegroups.com.
To unsubscribe from this group, send email to xnoise+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xnoise?hl=en.




--
Regards,
Andrei Dziahel

shuerhaaken

unread,
Jan 31, 2012, 9:21:28 AM1/31/12
to xno...@googlegroups.com
Hello Andrei

I have no idea about mercurial bookmarks. Never used/needed them. And I
am not an experienced git user.

You can try it yourself:
I followed the instructions from here:
https://bitbucket.org/durin42/hg-git

For the mercurial repo that you can get with:

$ hg clone https://code.google.com/p/xnoise/
$ hg pull
$ mkdir xnoise-git-repo; cd xnoise-git-repo; git init; cd ..
$ cd xnoise_hg
$ hg bookmarks hg <- here we have some bookmarking
$ hg push git+ssh://localhost:xnoise-git-repo

-> HERE IT FAILS with a message about unnamed heads, etc.

What I can do is write a script that will open each revision of the
mercurial repo and commit it to a git repo. This I can do with original
dates, authors, comments... But I think only without branches.

With that script I will have all revisions in the master branch. Not
nice but all commits would be there.

Best Regards

> +unsub...@googlegroups.com.


> For more options, visit this group at
> http://groups.google.com/group/xnoise?hl=en.
>
>
>
>
>
>
> --
> Regards,
> Andrei Dziahel
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "xnoise" group.
> To post to this group, send email to xno...@googlegroups.com.
> To unsubscribe from this group, send email to xnoise

> +unsub...@googlegroups.com.

Andrei Dziahel

unread,
Jan 31, 2012, 4:53:59 PM1/31/12
to xno...@googlegroups.com
Hi again.

I've meant a bit different approach.
%  hg clone https://code.google.com/p/xnoise/
destination directory: xnoise
requesting all changes
adding changesets
adding manifests                                                                                                                  
adding file changes
added 1082 changesets with 6229 changes to 1153 files (+6 heads)                                                                  
updating to branch default
251 files updated, 0 files merged, 0 files removed, 0 files unresolved
%  cd xnoise 
%  hg branches
default                     1081:17534544a8ca
[...skipped irrelevant branches...]
%  hg bookmarks
no bookmarks set
%  hg bookmark -r default master
this command creates bookmark "master" which will be mapped to git branch "master"
%  hg bookmarks 
 * master                    1081:17534544a8ca
% editor .hg/hgrc
appended  git = git+ssh://g...@bitbucket.org:develop7/xnoise.git to [paths] section (strictly optional, just to create convenient alias)
%  hg push git
pushing to git+ssh://g...@bitbucket.org:develop7/xnoise.git
exporting hg objects to git
creating and sending data                                                                                                        
 

["git-receive-pack 'develop7/xnoise.git'"]
    git::refs/tags/0.1.11 => GIT:a1a3083c
    git::refs/tags/0.1.10 => GIT:0afe312c
    git::refs/tags/0.1.13 => GIT:749a8dc1
    git::refs/tags/0.1.12 => GIT:76c61371
    git::refs/tags/0.1.15 => GIT:aa402012
    git::refs/tags/0.1.14 => GIT:a93d983d
    git::refs/tags/0.1.29 => GIT:2cfc70cc
    git::refs/tags/0.1.18 => GIT:7f919afe
    git::refs/tags/0.1.16 => GIT:d3ce2e2a
    git::refs/tags/0.1.9 => GIT:e8d4d4af
    git::refs/tags/0.1.31 => GIT:144f1ff7
    git::refs/tags/0.1.20 => GIT:b38e0653
    git::refs/tags/0.1.22 => GIT:e0193481
    git::refs/tags/0.1.30 => GIT:711dbece
    git::refs/tags/0.1.23 => GIT:49bc169b
    git::refs/heads/master => GIT:f49d2c48 HERE IT IS 
    git::refs/tags/0.1.27 => GIT:16dce9d0
And here we are — behold master branch (and all exported tags) at https://bitbucket.org/develop7/xnoise

So, how this works — have "master" bookmark pointing to hg repo tip is just enough to successfully push to github. Want another git branch — create another hg bookmark.

To unsubscribe from this group, send email to xnoise+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/xnoise?hl=en.




--
Regards,
Andrei Dziahel

shuerhaaken

unread,
Feb 1, 2012, 7:54:54 AM2/1/12
to xno...@googlegroups.com

Hello Andrei,

this worked fine!
Thanks for your help! Now there is a git repository at
https://github.com/shuerhaaken/xnoise
with a full commit history. I imported 10 branches and all tags.

Good work!

I think there was something wrong with my copy of the mercurial
repository and also I used a bookmark "hg" instead of "master" on the
first time.
In the end I had to use a repository copy of google.code and then it
worked. My original copy showed an unnamed branch (I don't know what
that means). Maybe it was corrupted somehow.
Pushing the to github also did not work, so I used a temporary bitbucket
account for that.

Best Regards,
Jörn

Michel Alexandre Salim

unread,
Feb 1, 2012, 9:16:49 AM2/1/12
to xno...@googlegroups.com
Hi Jörn and Andrei,

Brilliant work, thanks! In response to the other questions -- now that the full history is preserved, it's not as important to have pre-generated downloads as I can just to a git archive, but thanks for uploading 0.1.29 and 0.1.30.

I'll try and build 0.1.31 for Fedora 16. Thanks for the reminder.

Cheers,

-- 
Michel

>         >         <michael....@gmail.com>

shuerhaaken

unread,
Feb 1, 2012, 9:25:12 AM2/1/12
to xno...@googlegroups.com
Hello Michel,

please note that C sources are not tracked in the git repo and therefore
you would have to have a vala installation. If you still want to drop
the (uneeded) vala build dependency, please use the releases for
download here:
https://github.com/shuerhaaken/xnoise/downloads
because these contain build C sources.

Best Regards
Jörn

> To view this discussion on the web visit
> https://groups.google.com/d/msg/xnoise/-/7eUoXzH-dVgJ.

Michel Alexandre Salim

unread,
Feb 1, 2012, 11:43:54 AM2/1/12
to xno...@googlegroups.com
Hi Jörn,

Sure. My interest in older versions is for historical reasons, chiefly -- in case someone wants to verify that the source is untampered with. Though that reminds me, I do need the 0.1.30 tarball to update our F-15 package (0.1.31 is too new).

The 0.1.30 and 0.1.31 tarballs are currently not downloadable, for some reason -- I get a 404 error. 0.1.29 works. Could you check?

Thanks,

-- 
Michel

>         >         >         <micha...@gmail.com>

>         >         >         +unsu...@googlegroups.com.


>         >         >         For more options, visit this group at
>         >         >
>         http://groups.google.com/group/xnoise?hl=en.
>         >         >
>         >         >
>         >         >
>         >         >
>         >         >
>         >         >
>         >         > --
>         >         > Regards,
>         >         > Andrei Dziahel
>         >         >
>         >         >
>         >         >
>         >         > --
>         >         > You received this message because you are
>         subscribed to the
>         >         Google
>         >         > Groups "xnoise" group.
>         >         > To post to this group, send email to
>         >         xno...@googlegroups.com.
>         >         > To unsubscribe from this group, send email to
>         xnoise

>         >         > +unsu...@googlegroups.com.


>         >         > For more options, visit this group at
>         >         > http://groups.google.com/group/xnoise?hl=en.
>         >        
>         >        
>         >         --
>         >         You received this message because you are subscribed
>         to the
>         >         Google Groups "xnoise" group.
>         >         To post to this group, send email to
>         xno...@googlegroups.com.
>         >         To unsubscribe from this group, send email to xnoise

>         >         +unsu...@googlegroups.com.


>         >         For more options, visit this group at
>         >         http://groups.google.com/group/xnoise?hl=en.
>         >        
>         >        
>         >
>         >
>         >
>         >
>         > --
>         > Regards,
>         > Andrei Dziahel
>         >
>         >
>         >
>         > --
>         > You received this message because you are subscribed to the
>         Google
>         > Groups "xnoise" group.
>         > To post to this group, send email to
>         xno...@googlegroups.com.
>         > To unsubscribe from this group, send email to xnoise

>         > +unsu...@googlegroups.com.

shuerhaaken

unread,
Feb 1, 2012, 12:18:01 PM2/1/12
to xno...@googlegroups.com
Done. There was something wrong with all downloads but 0.1.29
Thanks for the message

> https://groups.google.com/d/msg/xnoise/-/j4FRF08h1PMJ.

Reply all
Reply to author
Forward
0 new messages