Git migration

27 views
Skip to first unread message

Stanwin Siow

unread,
May 3, 2012, 11:42:21 PM5/3/12
to django...@googlegroups.com
Hello there,

Just wanted to enquire about a project that i have been working on.

It was previously hosted on an svn repository however my supervisor then decided to migrate it to GIT.

my question here would be do i need to reinstall the external modules that i used in my django project like django-registration and django-paypal in GIT?

Or would the functionalities be the same?

I'm asking this is because i discovered a break in the program after the migration.

Any help or advice is appreciated.

Thanks in advance!



Best Regards,

Stanwin Siow



Larry Martell

unread,
May 3, 2012, 11:54:29 PM5/3/12
to django...@googlegroups.com
This may or may not be applicable to your situation. We had be using
django from SVN with -r 13034. When we switched to django from git,
version 1.2 worked, but 1.4 did not. We had to make quite a few
changes to get 1. 4 to work. In the end it wasn't that bad, but it
wasn't seamless.

-larry

Eugenio Minardi

unread,
May 3, 2012, 11:58:49 PM5/3/12
to django...@googlegroups.com

Hi,

It is more than one year I am using GIT with Django and there are no problems, just make sure that the statics stays out of the repository and that into the .gitignore file there are no required path or extensions

Eugenio

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

Rivsen

unread,
May 3, 2012, 11:55:43 PM5/3/12
to django...@googlegroups.com
hi Stanwin,

I think git is tool to manage your code, no matter it is python or php or etc.

Migrate code from svn to git, you just make sure your svn commit log is right in git repo.

And if you just want use git in your development, don't care the remote is svn or git, you can try git-svn, this is a great tool for git clone and manage svn repo!

Best regards,

Rivsen

2012/5/4 Stanwin Siow <stanwin...@gmail.com>

Stanwin Siow

unread,
May 4, 2012, 9:46:39 AM5/4/12
to django...@googlegroups.com
Thanks everyone for the replies.

Reason why i'm asking was because after the migration it seemed that my django registration module was not picked up.

Hence login and registration are now unavailable.

Was looking at all ways to resolve it. 

Shall dig deeper.

Thanks!


Best Regards,

Stanwin Siow


Eugenio Minardi

unread,
May 4, 2012, 9:49:39 AM5/4/12
to django...@googlegroups.com
Hi,

to be sure that all your code is into the repo try with git status and check if all the files are tracked. 
Then with git add NAME you can track a single file,  a folder or a set of file and folder. With git add . you can track all the files.

Eugenio

Jesús García Crespo

unread,
May 4, 2012, 2:40:06 PM5/4/12
to django...@googlegroups.com
Hi Eugenio,

On Thu, May 3, 2012 at 8:58 PM, Eugenio Minardi <eugenio...@gmail.com> wrote:

...just make sure that the statics stays out of the repository and that into the .gitignore file there are no required path or extensions

I like my static files to be in git, you can always create a secondary repository for that purpose + optionally git-submodule.

--
Jesús García Crespo
Reply all
Reply to author
Forward
0 new messages