comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Git and IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Git and IDL [message #88011] Wed, 12 March 2014 04:24 Go to next message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
hi all,

I'm wondering if anyone has a recommendation of how to organize the file structure of an IDL project when using Git, Github, and IDL.

I could imagine simply creating the Git repository inside a project directory of the IDL workspace. Is this the right way to do it? I have read something on stackoverflow saying that this is not the recommended way to do it. I tried reading the documentation of EGit, the Eclipse Git plugin, but I couldn't quite figure it out.

thanks
Mark
Re: Git and IDL [message #88014 is a reply to message #88011] Wed, 12 March 2014 07:54 Go to previous messageGo to next message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
I don't keep my files in the workspace. They are all in a separate directory, called IDLPro. Underneath this, I have many different Git repos:

IDLPro/
...repo1/
...repo2/

To add this Project Directory in the Workbench, go to File->Import->Projects From Git.

From there you should be able to add and import your repos.

I'll note the first time I used Git, I had to first switch to the "Git Perspective" to get it to work.
Window->Source Control Tools->Git

Also, be careful. The version of EGit shipped with the Workbench is several versions behind.

This link gives the basic gist, which I'm happy to provide with the following caveats:
1) This is a _very_ rough site - basically threw it together for someone. It's in the game plan to update/prettify/etc.
2) Reading this again, it's actually a little more involved than it needs to be. You can Import and Add at the same time. I have those separated.

OK, agreed? Here you go:
https://sites.google.com/a/uah.edu/uah_lightning_idl/importi ng-a-git-repo-into-idl
Re: Git and IDL [message #88015 is a reply to message #88014] Wed, 12 March 2014 08:05 Go to previous messageGo to next message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
thanks! two questions..

1. There is a problem with your link.. Google says I need "permission" to view the site

2. Maybe I don't understand the "Workspace" concept well enough.. if not repos, which files do you keep in the workspace?
Re: Git and IDL [message #88016 is a reply to message #88015] Wed, 12 March 2014 08:20 Go to previous messageGo to next message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
On Wednesday, March 12, 2014 10:05:51 AM UTC-5, superchromix wrote:
> thanks! two questions..
>
>
>
> 1. There is a problem with your link.. Google says I need "permission" to view the site
>
>
>
> 2. Maybe I don't understand the "Workspace" concept well enough.. if not repos, which files do you keep in the workspace?

1. Whoops! Should be fixed now.

2. I don't keep anything in the Workspace. All my routines are in a separate directory. I just make sure that my startup file points at this directory. I have several Workspaces I use (one for me, one for teaching, etc.). I found it easiest to just put my routines somewhere else.
Re: Git and IDL [message #88017 is a reply to message #88016] Wed, 12 March 2014 08:32 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Phillip Bitzer writes:

> 2. I don't keep anything in the Workspace. All my routines are in a separate directory. I just make sure that my startup file points at this directory. I have several Workspaces I use (one for me, one for teaching, etc.). I found it easiest to just put my routines somewhere else.

I do this, too. I don't keep anything in the Workspace directory, which
IDL likes to put over in C:/users/david. I don't use that convention on
my machines. I have all my IDL programs in C:/IDL. That is what I use
as the start-up location. All my "projects" can be found in different
folders and sub-folders within this IDL directory.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: READ_ASCII truncating data
Next Topic: Using Coyote Graphics Webinar

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:39:39 PDT 2025

Total time taken to generate the page: 0.00729 seconds