OK, day 2. I guess this will be a linear blog. I'll have to create a summary page once everything has been figured out.

Anyways, heard from Ray. My svn.lsstcorp.org login is the same as the login from lsstarchive.ncsa.uiuc.edu, many moons ago. For the record, username is becker. Password is ... Ha! Nice try. I have also changed my alias for setting up the build system environment - since there are directories named LSST it can clash with my alias.

alias 'setupLSST' 'source $LSST_ROOT/Linux/loadLSST.csh'

So, success!

becker10:setupLSST
becker11:svn list $LSST_SVN
becker@svn.lsstcorp.org's password:
DC2/
GilTest/
branches/
tags/
trunk/

I think that I need to create a "sandbox" in which to develop code. I presume this is $LSST_DEVEL. So

becker19:cd $LSST_DEVEL/
becker20:mkdir DC2; cd DC2
becker21:svn co $LSST_SVN/DC2/fw/trunk fw

This password thing is getting annoying. Install my public key over there...

becker22:ssh becker@svn.lsstcorp.org
becker@svn.lsstcorp.org's password:
[becker@ds33 ~]$ mkdir .ssh
[becker@ds33 ~]$ chmod og-rwx .ssh
[becker@ds33 ~]$ cd .ssh/
[becker@ds33 ~/.ssh]$ vi authorized_keys
   # on my home machine
   # becker4:cat ~/.ssh/id_dsa.pub
   # copy and paste this into authorized_keys
   # WARNING - Don't use `more` here, it screws up the newlines.  Use `cat`.
[becker@ds33 ~/.ssh]$ ls -al
   -rw-r--r--  1 becker lsst  626 Mar  1 14:01 authorized_keys
   # protections look OK
   # try again
[becker@ds33 ~/.ssh]$ exit
logout
Connection to svn.lsstcorp.org closed.
becker23:ssh becker@svn.lsstcorp.org
Last login: Thu Mar  1 14:00:30 2007 from darkstar.astro.washington.edu
   # SUCCESS

So, I have checked out the DC2/fw branch. I see inside this... Nothing useful to me. The only thing with content is the python/ subdir. I want something Scons-able. Browsing...

becker64:svn list $LSST_SVN
  DC2/
  GilTest/
  branches/
  tags/
  trunk/
becker65:svn list $LSST_SVN/branches
  DC1/
  DC2/
becker66:svn list $LSST_SVN/branches/DC2
  doc/
  examples/
  src/
  test/
becker67:svn list $LSST_SVN/branches/DC2/src/.
  apps/
  mw/
becker68:svn list $LSST_SVN/branches/DC2/src/apps/.
  alert/
  associate/
  calibrate/
  classify/
  community/
  deepdet/
  fw/
  imageproc/
  movingobj/
  support/

Ah, I recall agreeing to be in charge of the imageproc/ branch. At least now I have found it.

I recall when I was down in Tucson that I am looking for an scons/ directory somewhere. That should signify I am looking in the right place. And I find one in

becker79:svn list $LSST_SVN/DC2/fw/branches/scons
  SConstruct
  build/
  doc/
  examples/
  include/
  lib/
  python/
  src/
  tests/
  ups/

and the code I expect is indeed underneath.

becker82:svn list $LSST_SVN/DC2/fw/branches/scons/include/lsst
  Citizen.h
  DiskImageResourceFITS.h
  Exception.h.m4
  Image.h
  Mask.h
  MaskedImage.h
  SConscript
  Trace.h
  Utils.h

So what is the right way to check this out? I will try

becker87:cd $LSST_DEVEL/DC2
becker88:svn co $LSST_SVN/DC2/fw/branches/scons
becker89:ls
  fw/  scons/

Hmm fw/ is still there. Do I need this? Anyways, I don't have scons in my path; I need to

setup scons

And jeez, the command man scons goes on forever. Too much information to be immediately useful. The quickest thing to try :

becker106:cd $LSST_DEVEL/DC2/scons/src/
becker107:scons .
   scons: *** No SConstruct file found.

(RHL says: see FAQ)

If I go up a level, there is a SConstruct file. But...

becker109:cd ../
becker110:ls
build/  doc/  examples/  include/  lib/  python/  SConstruct  src/  tests/  ups/
becker111:scons .
scons: Reading SConscript files ...
ImportError: No module named lsst.SConsUtils:
  File "/lsst/becker/lsst_devel/DC2/scons/SConstruct", line 6:
    import lsst.SConsUtils as scons

In the end, I'm not entirely sure what I am trying to do here...