Apr 10

VERY USEFUL! Recursive setup

setup -r $LSST_DEVEL/DC2/fw/

So, I will check out my own ticket on Kernel and just start to go for it. In particular, I am assuming that there is a Difference Imaging Kernel whose constructor takes 2 Masked Images and builds the Kernel.

becker27: cd $LSST_DEVEL/DC2/
becker28: mkdir tickets
becker30: cd tickets/
becker32: svn co $LSST_SVN/DC2/tickets/25
   svn: URL 'svn+ssh://svn.lsstcorp.org/DC2/tickets/25' doesn't exist     # uhhh...
becker41: svn list $LSST_SVN/DC2/fw
   branches/
   tags/
   trunk/

OK, step back. RHL wanted me to copy the fw/ into this ticket using svn copy and then svn switch. So try

becker47: svn copy $LSST_SVN/DC2/fw/trunk 25
   svn: '.' is not a working copy
becker61: svn co $LSST_SVN/DC2/fw/trunk fw    # well this sure works...
becker67: pwd
   /lsst/becker/lsst_devel/DC2/tickets/25
becker68: ls
   fw/

Copy to a private branch. The  syntax is something like

becker77: scp copy fw branches/ticket25

OOps, I think I checked things out a level too high. Lets try this.

becker90: cd $LSST_DEVEL/DC2/tickets/25
becker91: rm -rf fw
becker95: svn co $LSST_SVN/DC2/fw
becker103: cd fw
becker105: svn copy trunk branches/ticket25   # ooh this worked!
becker106: svn commit -m "Creating a private branch of trunk for Ticket 25"

In the end I could have done this I think

svn copy $LSST_SVN/DC2/fw/trunk $LSST_SVN/DC2/fw/branches/ticket25

I now work on my code in $LSST_DEVEL/DC2/tickets/25/fw/branches/ticket25.

I think I also could have done something like this but did not try it

becker95: svn co $LSST_SVN/DC2/fw
becker103: cd fw
becker119: cd trunk/
becker120: svn info | grep URL     # just to check this is the right place
   URL: svn+ssh://svn.lsstcorp.org/DC2/fw/trunk
becker120: svn switch $LSST_SVN/DC2/fw/branches/ticket25

I am going to start hacking together some code. Need to get the right elisp file for emacs.

becker167:svn co $LSST_SVN/DC2/editors editors
   ...
   A  editors/trunk/lsst.el
   ...

YEAH, MY TICKET25 THING WAS RIGHT!

dang, taken down by RHL again...

Hello all,

Robert has pointed out a reason to have tickets/# be the standard (with
tickets as a peer to branches).  So, contrary to my past direction, someone
with privilege to do so should create

Root/DC2/fw/tickets

And move all the "ticket#" and "#" directories there, and rename them just
"#" as needed.  I will update the code review page with this and the
directions about copying from trunk and other tickets that we discussed at
today's telecon, as well as the other comments I have received.

Thanks!

Jeff

------ Forwarded Message
From: Robert Lupton <rhl@astro.princeton.edu>
Date: Tue, 17 Apr 2007 15:14:27 -0400
To: Jeffrey P Kantor <jkantor@lsst.org>
Subject: Re: [LSST-data] MiddleWG - Trace

The reason for choosing
    tickets/#
was that it plays well with using HeadURL to deduce a version
ID, and that won't work with branches/#.   It could work
with branches/tickets/#, but the code is simpler (and already
written) to handle my original proposal; see
    void guessSvnVersion(const std::string &, std::string &OUTPUT);