When people talk about Common Lisp they usually mention the
interactivity factor and the ability to fix bugs on live servers. I am
trying to figure out how to do this now, beyond making very small and
obvious changes.

I have a pretty standard setup - SBCL and Hunchentoot behind Apache
(using mod_lisp2), a swank server (I tunnel over ssh), and detachtty.
I can make trivial changes through slime, but what about rolling out
larger updates?

Overall, it seems that I would have to diff the tip of my branch with
the revision that's on the live server. I'd then parse the diff file
(an extension to ediff?) and send each chunk of code in the diff
through slime. Of course simply doing this straight out won't work -
I'll have to figure out full context from the diff (get whole function
body), possibly cherry pick chunks of code, and reorder them because
they might depend on each other.

Has anyone done something like this? Writing the tools to do it isn't
trivial at all, it looks like a very time consuming project. If anyone
has experience doing this or some chunks of code laying around, they'd
be very much appreciated.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to