Re: [gitorious] How to move all users/projects/repos to new server

2012-12-19 Thread Thomas Kjeldahl Nilsson
Hello Phuong, 

how exactly are you executing the command - which directory is your working 
directory when you run it, and what do you actually write in the terminal? 

--
Best regards,
Thomas Kjeldahl Nilsson,
Partner & Programmer,
Gitorious AS
http://gitorious.com





On Thursday, December 20, 2012 at 5:02 AM, Phuong Doan wrote:

> Thanks Thomas,
> 
> my current Gitorious instance is on older version, no snapshot/restore script.
> I did as the document (get latest source, copy snapshot, restore, backup.rake 
> to the right location.
> But when I execute the script/snapshot command, I got error message ": No 
> such file or directory"
> 
> Pls help
> Phuong
> 
> On Wednesday, December 19, 2012 2:56:49 PM UTC+7, Thomas Kjeldahl Nilsson 
> wrote:
> > Sure thing. Gitorious comes with snapshot/restore commands that make it a 
> > snap to migrate between servers. 
> > http://getgitorious.com/documentation/index.html#sec-8 
> > 
> > -- 
> > Best regards, 
> > Thomas Kjeldahl Nilsson, 
> > Partner & Programmer, 
> > Gitorious AS 
> > http://gitorious.com 
> > 
> > 
> > 
> > 
> > 
> > On Wednesday, December 19, 2012 at 4:29 AM, Phuong Doan wrote: 
> > 
> > > I installed a new gitorious server to replace for current one due to 
> > > hardware problem, the current one is still fully functional. 
> > > Can anyone please advise how to transfer all users/projects/repos to the 
> > > new one? 
> > > 
> > > Thank you 
> > > Phuong 
> > > 
> > > -- 
> > > To post to this group, send email to gito...@googlegroups.com 
> > > (javascript:) (mailto:gito...@googlegroups.com (javascript:)) 
> > > To unsubscribe from this group, send email to 
> > > gitorious+...@googlegroups.com (javascript:) 
> > > (mailto:gitorious+...@googlegroups.com (javascript:)) 
> > 
> 
> -- 
> To post to this group, send email to gitorious@googlegroups.com 
> (mailto:gitorious@googlegroups.com)
> To unsubscribe from this group, send email to
> gitorious+unsubscr...@googlegroups.com 
> (mailto:gitorious+unsubscr...@googlegroups.com)



-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] How to move all users/projects/repos to new server

2012-12-19 Thread Phuong Doan
Thanks Thomas,

my current Gitorious instance is on older version, no snapshot/restore 
script.
I did as the document (get latest source, copy snapshot, restore, 
backup.rake to the right location.
But when I execute the script/snapshot command, I got error message ": No 
such file or directory"

Pls help
Phuong

On Wednesday, December 19, 2012 2:56:49 PM UTC+7, Thomas Kjeldahl Nilsson 
wrote:
>
> Sure thing. Gitorious comes with snapshot/restore commands that make it a 
> snap to migrate between servers.   
> http://getgitorious.com/documentation/index.html#sec-8 
>
> -- 
> Best regards, 
> Thomas Kjeldahl Nilsson, 
> Partner & Programmer, 
> Gitorious AS 
> http://gitorious.com 
>
>
>
>
>
> On Wednesday, December 19, 2012 at 4:29 AM, Phuong Doan wrote: 
>
> > I installed a new gitorious server to replace for current one due to 
> hardware problem, the current one is still fully functional. 
> > Can anyone please advise how to transfer all users/projects/repos to the 
> new one? 
> > 
> > Thank you 
> > Phuong 
> > 
> > -- 
> > To post to this group, send email to 
> > gito...@googlegroups.com(mailto:
> gito...@googlegroups.com ) 
> > To unsubscribe from this group, send email to 
> > gitorious+...@googlegroups.com  (mailto:
> gitorious+...@googlegroups.com ) 
>
>
>
>

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] losing repos when transferring

2012-12-19 Thread Marius Mårnes Mathiesen

Ken Dreyer writes:
> On Tue, Dec 11, 2012 at 1:32 AM, Marius Mårnes Mathiesen
>  wrote:
>> Whether it is or not, I would suggest that we change it to
>> either create a new committership or change the permissions to the
>> existing one, but I'd like to know if that was the cause or you found
>> another bug.
>
> I agree. In my mind the concept of "owner" should imply "full rights".
> Should we just remove the "unless committerships.any" conditional
> around the create_for_owner() call in app/models/repository.rb ?

Well, we'll probably have to 1) either find an existing committership or
initialize a new one and then 2) set up the correct permissions for
that. Simply removing the if clause would result in no committership
being set up at all.

I've filed an issue for this: https://issues.gitorious.org/issues/144
and assigned myself to it; should be resolved fairly soon. Feel free to
comment on the issue in case I forgot something.

Cheers,
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com