Re: unload and "make clean" an asdf system?
- From: pjb@xxxxxxxxxxxxxxxxx (Pascal J. Bourguignon)
- Date: Wed, 31 Dec 2008 15:22:23 +0100
budden <budden-lisp@xxxxxxx> writes:
Some use cases:
1) I'm installing new application with many dependencies. I have
loaded some library, but it was with wrong
version. I want to undo load and load other version with minimal
keystrokes.
In general (ie. for well behavied systems), loading the other version
over the old (or new) one is all that is needed.
2) I get a package dirty with some misprinted identifiers/renamed
functions and want to clean it up (tree
shaking won't help unless I delete a package).
Why would you care? Of course, you have to be careful not to use the
bad symbols for a while, but next time you reload from scratch you'll
have it clean.
3) I'm fighting with package system. I've changed exports/imports in a
library and I want to refresh only minimal set
of changes.
You must distinguish this, from:
Many projects are too expensive to rebuild and even reload
from the scratch.
When you have big projects, with a stable set of base systems
installed, you should save an image, and then load this image to
further develop the project. This way, if you botch up some system
or package, you can easily and quickly reload from the saved image.
Basically, it's what I proposed in my previous post, but done
explicitely and purposely. You wouldn't use up a lot of disk space
because you wouldn't save images between each system, but you'd only
distinguish a set of stable system, an "environment", from the set of
"in development" systems. Ideally you have only your own applications
system "in development".
The common problem of all the situations is that I'm unable to delete
00a package cleanly when it gets used by other packages.
Yes. That's why you should try to set up your workflow to avoid having
to delete packages and systems.
I have to unwind all dependency tree and it is what I should computer
do instead of me. Possible solution is not expected to be 100%
reliable, but it would make many things faster.
--
__Pascal Bourguignon__
.
- References:
- unload and "make clean" an asdf system?
- From: budden
- Re: unload and "make clean" an asdf system?
- From: Alex Mizrahi
- Re: unload and "make clean" an asdf system?
- From: budden
- Re: unload and "make clean" an asdf system?
- From: Alex Mizrahi
- Re: unload and "make clean" an asdf system?
- From: budden
- Re: unload and "make clean" an asdf system?
- From: Alex Mizrahi
- Re: unload and "make clean" an asdf system?
- From: budden
- Re: unload and "make clean" an asdf system?
- From: Alex Mizrahi
- Re: unload and "make clean" an asdf system?
- From: Ray Dillinger
- Re: unload and "make clean" an asdf system?
- From: Alex Mizrahi
- Re: unload and "make clean" an asdf system?
- From: budden
- Re: unload and "make clean" an asdf system?
- From: Pascal J. Bourguignon
- Re: unload and "make clean" an asdf system?
- From: budden
- Re: unload and "make clean" an asdf system?
- From: Pascal J. Bourguignon
- Re: unload and "make clean" an asdf system?
- From: budden
- Re: unload and "make clean" an asdf system?
- From: budden
- unload and "make clean" an asdf system?
- Prev by Date: Re: unload and "make clean" an asdf system?
- Next by Date: Re: Please critique my code
- Previous by thread: Re: unload and "make clean" an asdf system?
- Next by thread: Re: unload and "make clean" an asdf system?
- Index(es):
Relevant Pages
|