Re: unload and "make clean" an asdf system?



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__
.



Relevant Pages

  • Re: Aw....Shoot
    ... package but it does not appear in my Applications as user. ... load it as user it uses Gdebi to process the package and nothing happens ... installing the deb will place place 2 entries there. ...
    (Ubuntu)
  • VS2008 cant load TestCaseManagement package
    ... After installing the VS2008pro RTM, on WinXP where the the VS2005 pro ... Package ... PublicKeyToken=v03f577f11d50a3a' has failed to load ...
    (microsoft.public.vsnet.setup)
  • Summary: A Raid manager 6.22.1 issue with Solaris 2.6 on E3000
    ... I will be installing 4.5FP6 BS on this machine so if there ... SUNWosafw Open Storage Array Firmware ... SUNWosamn Open Storage Array Man Pages ... Using as the package base directory. ...
    (SunManagers)
  • A Raid manager 6.22.1 issue with Solaris 2.6 on E3000
    ... SUNWosafw Open Storage Array Firmware ... SUNWosamn Open Storage Array Man Pages ... Using as the package base directory. ... Installing Open Storage Array Firmware as ...
    (SunManagers)
  • Summary - Installing packages inside a zone
    ... My non-global zone was a sparse root zone and hence I wasn't able to ... I see the following errors when installing packages inside a zone after ... complaining about package conflicts. ... Read-only file system ...
    (SunManagers)