Re: resolution of symlinks in asdf

Nikodemus Siivola <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
Kevin Layer <[email protected]> writes:

> OK symbolic links are not a property of the system, but indirecting
> through them is.  If you disagree, then please explain why there is a
> call to `resolve-symlinks' in the definition of defsystem.  It
> certainly appears to me that implicit in every asdf-defined system is
> the notion that symlinks are followed, if the defsystem appears in a

Right, but that is not a property of the system, but a property of
the way ASDF uses system files to find the source files.

To wit: normal usage is to keep sources whereever, and symlink the
.asd to a directory in *CENTRAL-REGISTRY*, and let the symlink
resolution take care of finding the real source tree. :RESOLVE-SYMLINKS
breaks this (symlinks as part of the abstraction provided by ASDF).

As Christophe noted, the right thing may very well be to store
both the truename and the non-truename separately, so that you
can write an OUTPUT-FILES method that does the right thing.

Cheers,

  -- Nikodemus              Schemer: "Buddha is small, clean, and serious."
                   Lispnik: "Buddha is big, has hairy armpits, and laughs."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.