This page (revision-21) was last changed on 07-Dec-2016 14:14 by RonYurow

This page was created on 28-Jun-2010 19:43 by RonYurow

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
21 07-Dec-2016 14:14 6 KB RonYurow to previous

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed 2 lines
[{ALLOW edit EISMainUsers}]
[{ALLOW view Anonymous}]
[{Table style='border:0px solid #cccccc;'
At line 4 changed one line
!!! __The EIS Subversion Repository__
|a |b
|c |d
}]
Here are some tips for using the command line tools for working with the EIS subversion repository:
At line 6 changed one line
EIS software is now available through a Subversion repository. Historically, EIS software has been distributed through Solarsoft (SSW). The EIS repository provides an additional channel to access the software. In addition, developers of most EIS software modules must now update their files through subversion.
Note (1) -- I don't have access to a Mac, but I will assume everything works the same as on a Windows or Linux box.
At line 8 changed one line
__What is Subversion?__
Note (2) -- There are a ton of graphical clients that are currently available for Subversion. You may wish to look into using one of those.
At line 10 changed one line
Subversion is a free/open-source version control system sponsored by CollabNet Inc. That is, Subversion manages files and directories, and the changes made to them, over time. This allows you to recover older versions of your files or examine the history of how your data has changed. Subversion makes easy for multiple authors to collaborate on a project by providing a robust set of tools for conflict resolution.
For windows users, I highly recommend TortoiseSVN:
At line 12 changed 3 lines
Subversion is very well documented. The complete Subversion book is available online at: [http://svnbook.red-bean.com/]
In particular, the chapter on the basic work cycle has lot of good information and will quickly get a novice user up and running.
http://tortoisesvn.tigris.org/
At line 16 changed one line
It is located at:
Note (3) -- The repository is currently on version 1.6.x of Subversion. Clients designed to work with earlier versions of Subversion can be used, however not all features may be available.
At line 18 changed one line
[http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html/]
Location:
At line 20 changed one line
__About the EIS Software Repository__
The EIS repository is served from hyperion (http://hyperion.nascom.nasa.gov) located at GSFC and can be accessed at https://hyperion.nascom.nasa.gov/svn/eis/
At line 22 changed one line
The EIS repository is served from hyperion ( [http://hyperion.nascom.nasa.gov/] ) located at GSFC.
Due to NASA regulations and difficulties in accessing the repository from RAL, the repository is only available using SSL. Unfortunately, I had to use a self-signed certificate. This means that when you try to access the repository, you may be bombarded with dire warning messages because the certificate is not in your computer’s certificate chain. Just ignore these warnings. You may be able to add the certificate to your store and thus avoid future warning messages. Or you may not. This seems to work better on Linux then on Windows.
At line 24 changed one line
It can be accessed at [https://hyperion.nascom.nasa.gov/svn/eis/]
Most of the operations on a repository are the same no matter if you are accessing a remote or local repository. In general, the only time it matters is when you initially check out the repository. Once that is done, SVN knows where it is and you no longer have to specify a location.
At line 26 changed one line
Due to NASA regulations and difficulties in accessing the repository from RAL, the repository is only available using SSL. Unfortunately, the server uses a self-signed certificate. This means that when you try to access the repository, you may be bombarded with dire warning messages because the certificate is not in your computer’s certificate chain. Just ignore these warnings. You may be able to add the certificate to your store and thus avoid future warning messages. Or you may not. This seems to work better on Linux then on Windows.
Documentation:
At line 28 changed one line
Although anyone my download the current version (or any previous version) of the repository, you must have a developer account in order to upload content to the repository.
Subversion is very well documented. The complete Subversion book is available online at:
At line 30 changed one line
In order to get developer access, please send your preferred username and password to [mailto:yurow@grace.nascom.nasa.gov] . No restrictions currently exist on account names or passwords.
http://svnbook.red-bean.com/
At line 32 changed one line
The repository is organized into a dev branch and a release branch. Files placed in the release branch will copied to Solarsoft (SSW) on a regular basis.
In particular, the chapter on the basic work cycle has lot of good information and will quickly get a novice user up and running.
At line 34 changed one line
The dev branch exists as a place for developers to test their software (and make it available for others to try out as well) before releasing it as a finished product. Files placed in the dev branch will NOT be pushed to solarsoft. Before placing files in the dev branch, it is best create subdirectory with your account name in order to keep your files in same place and separate from other developers. For example, developer John Doe might create dev/doe and then place files he wishes to work with under the doe subdirectory.
It is located at:
At line 36 changed one line
__Accessing the Repository from the Web__
http://svnbook.red-bean.com/nightly/en/svn.tour.cycle.html
At line 38 changed one line
The EIS Subversion repository can be accessed with only your web browser. Go to [https://hyperion.nascom.nasa.gov/svn/eis/] to view the current revision of the repository. Clicking on a file will download it to your local machine.
As a quick reference, here are some basic commands.
At line 40 removed 12 lines
Unfortunately, previous revisions of the repository cannot be accessed by this method.
__Accessing the Repository from a Subversion Client__
More complex operations, including uploading files and accessing previous revisions of the repository, will require you to use a subversion client.
A command line client is available for just about every system in existence. However, many users will want to use a graphical client. For windows users, TortoiseSVN is highly recommended. Pleas see http://tortoisesvn.tigris.org/.
Please note: repository is currently on version 1.6.x of Subversion. Clients designed to work with earlier versions of Subversion can be used, however not all features may be available.
As a quick reference, here are some basic subversion commands.
At line 54 changed one line
{{svn checkout https://hyperion.nascom.nasa.gov/svn/eis/release <localdir>}}
svn checkout https://hyperion.nascom.nasa.gov/svn/eis/release <localdir>
At line 62 changed one line
{{''svn add <file1>'' Add a file (<file1>)}}
''svn add <file1>'' Add a file (<file1>)
At line 64 changed one line
{{''svn add <dir1>'' Add a directory (<dir1>) and all subdirectories}}
''svn add <dir1>'' Add a directory (<dir1>) and all subdirectories
At line 66 changed one line
{{''svn add -force *'' Add all files not currently under version control.}}
''svn add -force *'' Add all files not currently under version control.
At line 72 changed one line
{{''svn delete <path>/<file1>'' Delete a file (<file1>)}}
[{Table
|''svn delete <path>/<file1>'' |Delete a file (<file1>)
|''svn delete <dir1>'' |Delete a directory (<dir1>)
}]
At line 74 removed 2 lines
{{''svn delete <dir1>'' Delete a directory (<dir1>)}}
At line 80 changed one line
{{''svn revert <path>/<file1>''}}
''svn revert <path>/<file1>''
At line 86 changed one line
{{''svn status''}}
''svn status''
At line 92 changed one line
{{''svn update''}}
''svn update''
At line 100 changed one line
{{''svn commit -m "<Message>" --username <user>''}}
''svn commit -m "<Message>" --username <user>''
At line 92 added one line