howe

svn setup

this post is a record of everything used to setup svn

after installing svn, it had automatically added the svn modules to the apache server so the only config files changed was to add a config file at /etc/apache2/sites/httpd-svn.conf and restarted the server. that file contains settings that tell the server what to do when certain locations are accessed.
i also added the config file /etc/svn-auth-file which contains usernames and passwords that are allowed to do the http authentication. this file is edited with the htpasswd command. for example to create a new user for http authentication use htpasswd /etc/svn-auth-file [username]
i also added a index file to space.augsburg.edu/svn so that there is a list of all the repositories for web browsing

to add the repositories i used:
svnadmin create [local path to repository]
ie from the physic_data/svn folder
svnadmin create documentation

initial import
svn import [local path of code] [url to repository] -m "initial import"
ie from the physics_data/Code folder
svn import Documentation http://spac.augsburg.edu/svn/documentation/

for the inital check out i deleted all the files in each of the local code folders and then su-ed to the correct user and did a svn checkout with:
svn checkout [url of repository] .
ie from the documentation local folder
svn checkout http://space.augsburg.edu/svn/documentation .

0 comments

svn remote works

i have gotten svn to check out a repository and added and commit a new file to that repository remotly. so heres what you all need to know to work with svn now. first off youll need a svn client, if you get a 3rd party graphical one then i really cant help on how to use it but if you get the command line client put out by subversion then heres the common commands:

to check out a repository:
svn checkout [url of repository] [path to place local copy] --username [user] --password [pass]

currently there is just a repository for iridium code which is at http://space.augsburg.edu/svn/iridium/trunk/
the only user currently is iridium pass: iridium
you can add additional users by:
htpasswd -m /etc/svn-auth-file [username]

to make sure you have the most recent copy of a checked out repository use:
svn update

once you have checked out the repository and have made it your current directory you can add files by:
svn add [file to add]

you make the changes back to the main repository by:
svn commit

these are the basic command that you should know, but you can read the full info from:
svnbook.red-bean.com

0 comments

svn update

so i am now able to access svn remotly, i am able to check out stuff from the repository, but i am getting permission errors when i try to commit changes. once i have this working i will post abunch of infomation about how to use svn

0 comments

svn local

so i found this tutorial on svn on macs http://macpot.com/archives/2005/07/tutorial_subver.html if you look at the later part of it, it shows how to create the working directories to actually edit code

0 comments

First look at svn

so im just starting to look at svn, which is a version control system that we can use to keep track of different versions of all our code.

0 comments

Channel 18 Finished?

the processing of channel 18 is finished as far as i can tell. all the old data has been processed, ill have to check back in a few days to make sure that the new data is being processed correctly. everything before 1999 hasnt been processed becuase it is of a different format that we cant read, but luckily data availablility was pretty spotty back then so theres not much data missing. documentation is up and the graphs are available on the website

0 comments

Channel 18 update

Well so i checked the script again this morning. it had gotten caught up in some badly named files (they had P? in the file name) they were empty files so i just went and delelted them, but i noticed that the script creates alot of disk space. after looking at how big the output is, by far most of the disk usage comes from the ago analysis output, which was being left in there. all the other not needed output was being deleted except for the data files being made by ago analysis. from what i can tell it looks like the detailed data file takes up about 75% of the output. after the script finishes i will write another one to go back and delete all the old data files to clear up some space

0 comments

Channel 18 update

the script seems to be running good now, it goes alot slower when everything is working and not being skiped, its somewhere into 2000 i think. While putting the programs up on the web site, i tried to get a current version of the iridium crontab, but the crontab program would just hang everytime i tried to go use it. i went and looked at the actual config files to get a copy and i when i did i noticed that the crontab entry for the channel 18 conversion is missing. the convertChan18 script should be running at 1 every morning but the entry is no longer in there.

0 comments

Channel 18 Update

never mind on the segmentation fault thing, i looked at the year it was on wrong. so as of current, everything 1998 and before does not work

0 comments

Channel 18 Update

so after coming back to check on the script this week, i noticed that the script was creating the ago analysis output but that was about it, it wasnt converting any of the post scripts to other formats. after quite a while of looking at everything, and doing parts of the script manually, i found the problem. i had been running the script by vncing into yspace, logging in as administrator, and running the script from a terminal window, sued to iridium. apparently theres some sort of permissions problem when you do that because the converter program couldnt create some temp file somewhere. The thing that messed me up for so long, was that it worked by sshing into yspace and after switching to iridium user doing the converting manually. so it would seem like it was working, but then when the script was actually run it wouldnt work. i cant run the script from ssh because my internet connection at home isnt reliable enough, but i got it to work by logging into yspace as iridium from vnc, and it appears to be working not. plus, the segmentation fault errors that i was getting before with the old data have dissapeared, so it seems they might have been tied to the permissions problem.

in the mean time i am going to convert the documentation that was given to us with the gray and ago analysis programs into html and put it on the web site

0 comments

Channel 18 update

in regards to actual work, in today and the couple hours i had to work on monday, i tried restarting the channel 18 script, but the ago analysis program was failing with the early (1993) stuff, i tried the newer data and that worked like normal, so as far as i can tell the older data has a different format. as soon as yspace finishes installing updates ill restart the script and just let it run so it can get as much as it can. i could have sworn that i had some documentation on the formats of the data somewhere, but ive been looking at my email and the ago analysis files and i cant find anything on it, so does any one know who i can contact to see if they have documentation on the old formats?

0 comments