I have had a hell of a time getting the exported cvs into gitorious. cvs to 
git was fine.

Thanks for explaining the Git /Gitorious difference. I did understand that 
Gitorious is a GUI to Git , but you make it even more clear now.  I am a 
newbie to GIT.

The problem here was that I was tasked with exporting from WINCVS -> Git -> 
Gitorious on a server that was built by someone else, and is used for 
production purposes.

I actually had to migrate the NEW git repo onto the same server where 
gitorious was installed, then add the user to the collaborators list in the 
new project and repository in order for this to work

git remote add origin [email protected]:TEST01/REPOTEST01.git
git push origin master

It would not work from any other remote system where the local repository 
was so I think there is permission issue.

Now that Git repo is hosted by gitorious are there any other commands I 
need to issue to make it clone able by others?

I am going to probably build a new Gitorious server so do you know of a 
good install tutorial you can point me to for installing on Ubuntu 11.04

Thanks
Ake


On Wednesday, July 18, 2012 12:21:49 PM UTC-4, Kevin Cox wrote:
>
>
> On Jul 18, 2012 11:56 AM, "Ake G" <[email protected]> wrote:
> >
> > Current working version of git version 1.6.1 on Ubuntu 11.04
> >
> > Is there any scripts that do this easily?
> >
> > I have exported my repos from CVS -> git following documentation at 
> http://cvs2svn.tigris.org/cvs2git.html under the 'Usage' Heading.
> >
> > I have also used followed 
> http://www.pedro.kiefer.com.br/2011/02/from-cvs-to-git-to-gitorious.
> >
> > running the ruby script as root on the server says it is "ok!" when 
> complete but nothing is placed into my gitorious repository under my 
> Project that was created manually in Gitorious as mentioned in Pedro's 
> website.
> >
> > I executed the following command at the Ubuntu command line as root 
> >
> > sudo env RAILS_ENV=production ./MigrateGitToGitorious.rb Project_Folder
> >
> > FYI the ruby script in this command line contains the exact contents of 
> the script @ 
> http://www.pedro.kiefer.com.br/2011/02/from-cvs-to-git-to-gitorious
> >
> > Is there any easy way to get git repos into gitorious
> >
> > Please advise/help
>
> I don't think you fully understand what got and Gitorious are.  Git is a 
> version control system.  It manages your code and changes to it.  Gitorious 
> is a git hosting service.  So you don't convert your repository to 
> Gitorious, you merely "push" your git repo to it.
>
> I'm working off of (bad) memory here but these steps should get you 
> working.
>
> # create a project on Gitorious.
> # navigate to your new project and find the clone URL (should look 
> something like "git clone [email protected]/myproject.git")
> # go to your git repo (the one you migrated from CVS) and run "$ git 
> remote add origin $url" where $url is the [email protected]/myproject.gitURL.
> # run "$ git push origin master --mirror --force".  This should update the 
> Gitorious to your local repo.
>
> Hope that helps, Kevin. 
>

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to