Cloning repositories should be performed in backgroud?

75 views
Skip to first unread message

Gustavo Leite de Mendonça Chaves

unread,
Oct 22, 2012, 2:49:18 PM10/22/12
to rhod...@googlegroups.com
I'm using RhodeCode 1.4.4 behind Apache. When I tried to clone an external Git repository I got kicked out by Apache's ProxyTimeout standard value of 300. It gave me a ProxyError page. However, I noticed that the cloning operation was still performing in the server until it completed and then I could see the repository in RC'd interface.

Wouldn't it be nice if RhodeCode kept the cloning in the background freeing its web interface? I mean, when one creates a repo cloning it from an external repo, instead of waiting, RhodeCode could give back immediatelly the new repository summary page with a clear message telling that the new repo cloning operation was still happening in the background. After the cloning operation finishes, RhodeCode would simply show the actual repository data.

The freeing of the web interface would give us a better web experience and it would be analogous with what GitHub and Bitbucket do. Moreover, it would spare us of having to mess with Apache's ProxyTimeout value.

What do you think?

marcin

unread,
Oct 22, 2012, 6:23:41 PM10/22/12
to rhod...@googlegroups.com
Hi,

Do you talk about remote clones ? I totally agree that this should be turned into celery task, in the same way server side forking works. Than if you have celery enabled it will be done in a separate process and async. Can you open a ticket for this on bitbucket ? Thanks

Gustavo Leite de Mendonça Chaves

unread,
Oct 23, 2012, 5:55:02 AM10/23/12
to rhod...@googlegroups.com
2012/10/22 marcin <mar...@python-blog.com>
Hi,

Do you talk about remote clones ?

Yes.
 
I totally agree that this should be turned into celery task, in the same way server side forking works. Than if you have celery enabled it will be done in a separate process and async. Can you open a ticket for this on bitbucket ? Thanks


--
Gustavo

marcin

unread,
Nov 6, 2013, 9:52:28 PM11/6/13
to rhod...@googlegroups.com
This is now done (async if celery enabled)

cheers
Reply all
Reply to author
Forward
0 new messages