Code sharing on github or google code

30 views
Skip to first unread message

Dave Webb

unread,
Nov 29, 2012, 10:25:50 AM11/29/12
to talib...@googlegroups.com
Hi All
I can see all of us are everyday progressing on each other's idea, which I guess was the purpose of this group. A simple strategy example is now improved so much in coursera thread. 
Can we start putting all our code in either github or googlecode ?
It will be easy for us to collaborate . 

Suggestions ?

Thanks 
Shakti

(REPOST - Originally posted by Shakti on tapythongroup)

Dave Webb

unread,
Nov 29, 2012, 10:26:34 AM11/29/12
to talib...@googlegroups.com
Good idea. Could you produce some really brief instructions - just a few lines?

P.

(Originally posted by Peter C on tapythongroup)

Shakti D

unread,
Nov 29, 2012, 10:29:43 AM11/29/12
to talib...@googlegroups.com
Hi All
I have setup the following github, for our code sharing , it is a eclipse project on pydev .
I don't know your github id , so please send a request to commit or you can fork / create your own branch



Push an existing repository from the command line

git remote add origin https://github.com/shaktisd/talibpython.git
git push -u origin master

Dave Webb

unread,
Nov 29, 2012, 11:15:31 AM11/29/12
to talib...@googlegroups.com
Shakti

Sorry to be dumb but how do you send a request to commit - never used git before as I use svn usually.

Dave

PS do you know how to set this forum so it doesn't automatically include the original post text in the reply? 

Shakti D

unread,
Nov 29, 2012, 11:48:12 AM11/29/12
to Dave Webb, talib...@googlegroups.com
Not sure Dave , I checked almost all the setting but of no use. Each time I reply i have to manually delete the history 


Shakti D

unread,
Nov 29, 2012, 11:55:43 AM11/29/12
to talib...@googlegroups.com, Dave Webb
Hi Dave
It is very simple to use, you can setup a repository in your local machine . Using this local repository you can make commits to the talibpython github.
See the below link for details

Dave Webb

unread,
Nov 29, 2012, 4:23:58 PM11/29/12
to talib...@googlegroups.com, Dave Webb
Shakti

I use svn for code control within eclipse/pydev/java so am wondering if you know if its possible to checkout things from GIT using svn or if (as is probably likely) they are incompatible?

If you don't know then don't worry I'll investigate but thought I'd ask in case you already knew.

I can always bite the bullet and use git exclusively for this and svn for everything else I do if needs be.

Dave

Shakti D

unread,
Nov 29, 2012, 5:05:32 PM11/29/12
to Dave Webb, talib...@googlegroups.com
Hi Dave
No, git & svn are not compatible as far as my limited knowledge of git. You just need to get git installed on your machine , it is very similar to svn , just that you can setup the repo locally and later commit the same to a remote branch like git hub.
1) To start with just install the following , 

2) Take a checkout of pydev project

3) Send me a request from your github id for commit permission

4) Commit your changes to trunk talibpython

Or you can fork this and make your own changes and later we can merge our changes.

Hope it is not too complicated to start with , since I am also new to GIT.
If there are any regular git users then please share your view on the best practices.

Cheers
Shakti





Dave

--
 
 

Peter Anderson

unread,
Nov 29, 2012, 6:10:20 PM11/29/12
to Shakti D, Dave Webb, talib...@googlegroups.com
Hi Shakti,

If I'm not butting in, I'd like to follow the advice you gave Dave. My Ubuntu system already seems to have git loaded. When I go to github.com, I find the page with talibpython/.pydevproject on it, but I'm unsure what to do next. I've created a github account. Thanks for your help.

Pete Anderson


From: Shakti D <shak...@gmail.com>
To: Dave Webb <dave...@vadecybernetics.com>
Cc: talib...@googlegroups.com
Sent: Thursday, November 29, 2012 5:05 PM
Subject: Re: Code sharing on github or google code

--
 
 


Shakti D

unread,
Nov 29, 2012, 6:14:18 PM11/29/12
to Peter Anderson, Dave Webb, talib...@googlegroups.com
Hi Peter
1) Create a folder where you want to take a checkout
2) type the following command
3) Complete project will be checked out for you
4) You can run the examples in src folder

Dave Webb

unread,
Nov 29, 2012, 6:16:20 PM11/29/12
to talib...@googlegroups.com, Dave Webb
Will do

I have to go away for the weekend - ski season has just started :) so will do it in a few days.

I managed to get a read only copy out of git no problem.

Dave

Peter Anderson

unread,
Nov 29, 2012, 6:30:36 PM11/29/12
to Shakti D, Dave Webb, talib...@googlegroups.com
Shakti,

At the top of the page where it asks for a search or type a command, I entered
git clone https://github.com/shaktisd/talibpython.git 
It appeared to search, but found zero repositories.

Pete



From: Shakti D <shak...@gmail.com>
To: Peter Anderson <pande...@yahoo.com>
Cc: Dave Webb <dave...@vadecybernetics.com>; "talib...@googlegroups.com" <talib...@googlegroups.com>
Sent: Thursday, November 29, 2012 6:14 PM
--
 
 


Dave Webb

unread,
Nov 29, 2012, 6:35:14 PM11/29/12
to talib...@googlegroups.com, Shakti D, Dave Webb, Peter Anderson
Pete

I just did on mac osx the command


and it checked out a copy OK so the info from Shakti is right, do you have the latest version of git installed?

Dave

Dave Webb

unread,
Nov 29, 2012, 6:36:14 PM11/29/12
to talib...@googlegroups.com, Shakti D, Dave Webb, Peter Anderson
Pete NB the command needs to be done in a terminal window

Dave

Peter Anderson

unread,
Nov 29, 2012, 6:57:38 PM11/29/12
to talib...@googlegroups.com
Dave,

OK executed the command in a terminal window, and it appeared to find 12 objects, download them, and unpack them. My repo is still empty. I signed in and out of git, and my repo is still empty. Sorry to be such a pain. Also checked my /home/Downloads folder.

Pete


From: Dave Webb <dave...@vadecybernetics.com>
To: talib...@googlegroups.com
Cc: Shakti D <shak...@gmail.com>; Dave Webb <dave...@vadecybernetics.com>; Peter Anderson <pande...@yahoo.com>
Sent: Thursday, November 29, 2012 6:36 PM

Subject: Re: Code sharing on github or google code
Reply all
Reply to author
Forward
0 new messages