[ cclan-Bugs-1350062 ] Load some dependencies earlier

"SourceForge.net" <[email protected]> Mon, 07 Nov 2005 00:56:56 -0800
Newsgroups gmane.lisp.cclan.bugs
Message-ID <[email protected]>
Bugs item #1350062, was opened at 2005-11-07 09:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=393636&aid=1350062&group_id=28536

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: asdf
Group: feature request
Status: Open
Resolution: None
Priority: 5
Submitted By: Tomas Zellerin (zellerin)
Assigned to: Daniel Barlow (dan_b)
Summary: Load some dependencies earlier

Initial Comment:
(relates to cvs version of asdf.lisp, 1.88)

Hello,

please consider attached patch.

Background: I tried to use asdf as general purpose 
packaging program (not only for compile/load of lisp 
files), so I need to define new operations and 
component types, and I would like to make work 
immediate (asdf:operate 'asdf::new-op "system-with-new-
component") out of the box, without loading anything 
else but core asdf before. 

The patch introduces new parameter for 
defsystem, :asdf-extensions. This
should be a list of packages that are loaded before any 
other "compilation" of
defsystem is done. Thus, the system definition may 
contain components of types
defined in this package. The packages are also pushed 
to dependencies of the
system for all operations. While it is possible to provide
    (asdf:operate 'asdf:load-op "asdf-extension")
in the .asd file, AFAIK the dependency of all operations 
on load-op can not be
achieved. Use of the new option also cleaner expresses 
intent.

[OT] I admit that I do not understand some of the 
current parameters, do-first in particular (is the fact that 
it is allowed to be in defsystem, but ignored in course of 
initialization a bug or some plan I do not understand?)

Function asdf:operate is modified to first load the 
system and *then*
interpret the operation symbol as class. This allows to 
use non-standard
operations directly, relying on their definition in specified 
asdf-extensions.

Third change is using method-combination append for 
component-depends-on. It
is mostly orthogonal to the other changes.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=393636&aid=1350062&group_id=28536


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php