Re: cclan-get: fetch and install vn-cclan packages
Daniel Barlow <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
David Lichteblau <[email protected]> writes: > | cclan-get fetches and installs vn-cclan packages from local or remote > | repositories. (using portableaserve, for anyone who was wondering and hadn't checked the URL) Very neat. I'm not sure what you're doing with dependencies, though. Personally I would do something like (handwavey pseudocode follows) (defun get-system (name operation) (download-and-copy-system-somewhere name) (handler-bind ((asdf:missing-component (c) (when (null (asdf:missing-parent c)) ;; nil parent indicates the component is a system (get-system (asdf:missing-requires c)) (invoke-restart 'retry-component)))) (asdf:operate operation name))) i.e. let asdf flag up the missing dependencies as and when it finds them. fwiw, I'm happy with your "conventions", because that's the format that my cvs-tag and make-tar-file functions (in cclan.lisp, in the same place as asdf) already use :-) As to the more general issue: how much of a problem is it really to mandate that the tarball name is the same as (or mechanically derivable from) the asdf system name? I've been saying all along that it should be, so ... -dan -- http://ww.telent.net/cliki/ - Link farm for free CL-on-Unix resources ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf