[asdf-devel] :exclude in source-registry.conf getting ignored.

szergling senatorzergling at gmail.com
Tue May 11 08:37:20 UTC 2010


Hi list,

Is it intended that :exclude in

~/.config/common-lisp/source-registry.conf

should come before the :tree directive(s)[1]?

To me, the manual seems to specify that the order
in which the directives are provided does not matter.

I'm using asdf version "1.720". To set the context,
and perhaps as another question, I was originally
investigating if it was possible to exclude a specific
tree (sure, matching a pattern works and is good
enough) or directory, or have some other way to
suppress the loading of duplicated systems (usually
repo branches).

Yong.



[1] Compare:

With this in the user config file,

(:source-registry
 (:exclude "asdf-exclude")
 (:tree "/home/tyc20/lisp/")
 :ignore-inherited-configuration)

> (flatten-source-registry)
==>((#P"/home/tyc20/lisp/imp/sbcl-1.0.29-x86-linux/install/lib/sbcl/" :RECURSE T
  :EXCLUDE
  (".bzr" ".cdv" "~.dep" "~.dot" "~.nib" "~.plst" ".git" ".hg" ".pc" ".svn"
   "CVS" "RCS" "SCCS" "_darcs" "_sgbak" "autom4te.cache" "cover_db" "_build"))
 (#P"/home/tyc20/lisp/" :RECURSE T :EXCLUDE ("asdf-exclude")))


With this in the config file instead:

(:source-registry
 (:tree "/home/tyc20/lisp/")
 (:exclude "asdf-exclude")
 :ignore-inherited-configuration)


> (flatten-source-registry)
==>((#P"/home/tyc20/lisp/imp/sbcl-1.0.29-x86-linux/install/lib/sbcl/" :RECURSE T
  :EXCLUDE
  (".bzr" ".cdv" "~.dep" "~.dot" "~.nib" "~.plst" ".git" ".hg" ".pc" ".svn"
   "CVS" "RCS" "SCCS" "_darcs" "_sgbak" "autom4te.cache" "cover_db" "_build"))
 (#P"/home/tyc20/lisp/" :RECURSE T :EXCLUDE
  (".bzr" ".cdv" "~.dep" "~.dot" "~.nib" "~.plst" ".git" ".hg" ".pc" ".svn"
   "CVS" "RCS" "SCCS" "_darcs" "_sgbak" "autom4te.cache" "cover_db" "_build")))




More information about the asdf-devel mailing list