Re: asdf-install installs more than you ask for
Gary King <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
Hi again, To make sure I'm understanding you, are you positing the case where a Lisp package comes with two or more different defsystems for the same Lisp code and where it may be ambiguous as to which one to use? In this case, I agree that having the (override-able) precedences would be a reasonable solution. On Feb 2, 2006, at 9:16 PM, Marco Antoniotti wrote: > You mentioned the different types of defsystem and I responded > about a problem that may arise. > > Your problem is different, and I do not think it can be solved at > ASDF-INSTALL level, unless you go the way of assuming that the > directory where a library is unpacked contains a system file with > the same name (or something along these lines -- incidentally > MK:DEFSYSTEM does TRT in this case, thus avoiding the issues with > symlinks et similia) > > Cheers > -- > Marco > > > > > On Feb 2, 2006, at 9:07 PM, Gary King wrote: > >>> The correct patch would be to add a list of precedences about >>> which type of system to add (which could be overridden by passing >>> a keyword parameter). This happens only for libraries which >>> provide different kinds of defsystems. >> >> Hi Marco, >> >> I'm not sure I understand. To make this more concrete, suppose I have >> >> * packaged up LIFT so that it contains two system definitions >> (lift.asd and lift-test.asd), >> * packaged up MOPTILITIES so that it containers two system >> definitions (moptilites.asd and moptilities-test.asd) >> * lift.asd depends on moptilities.asd. >> >> Then suppose I start fresh and ASDF-Install lift. Currently, >> >> 1. the LIFT package is downloaded >> 2. LIFT tries to find moptilities.asd and fails so it is also >> downloaded >> 3. moptiliites is compiled and loaded >> 4. moptilities-test is compiled and loaded >> 5. lift is compiled and loaded >> 6. lift-test is compiled and loaded >> >> I think that steps 4 and 6 should not be done. The person didn't >> want to install lift-tests or moptilities-tests. If a system >> builder wants to make sure that tests get run, then I think that >> both of the main system definers are flexible enough to support that. >> >> -- >> Gary Warren King >> metabang.com >> http://www.metabang.com/ >> >> > -- > Marco Antoniotti http://bioinformatics.nyu.edu/~marcoxa > NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 > 715 Broadway 10th FL fax. +1 - 212 - 998 3484 > New York, NY, 10003, U.S.A. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > cclan-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cclan-list -- Gary Warren King metabang.com http://www.metabang.com/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642