[asdf-devel] Guard against (push "/foo/bar" asdf:*central-registry*)

Stelian Ionescu sionescu at cddr.org
Fri Jul 10 17:49:31 UTC 2009


On Tue, 2009-07-07 at 12:31 +0200, Tobias C. Rittweiler wrote:
> I think it's bitten pretty much all of us that we at least once tried to
> push a non-directory-designating filename to *CENTRAL-REGISTRY*.
> 
> It's a common pitfalls for newcomers.
> 
> Couldn't ASDF signal a warning when it encounters such a thing while
> grovelling through the registry?

Why not simply deprecate(or unexport *CENTRAL-REGISTRY*) and add a
function REGISTER-ASDF-DIRECTORY that does all necessary checks ?

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
http://common-lisp.net/project/iolib
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/asdf-devel/attachments/20090710/43020d36/attachment.sig>


More information about the asdf-devel mailing list