Dependency discovery

Joseph Tate jtate at dragonstrider.com
Fri Apr 1 14:04:29 PDT 2011


On 04/01/2011 04:11 PM, Donnie Berkholz wrote:
> Do any of you have useful software that scans source code to determine 
> its dependencies? We're considering a Google Summer of Code project that 
> would include this as one aspect of a semi-automated package generator, 
> but I'd hate to see us duplicating effort.
>
> The basic idea I had in mind is a set of plugins, one per language, with 
> a sufficient understanding of that language's syntax to determine the 
> external files a given piece of code depends on. We'd then couple that 
> with a tool like distromatch to figure out which packages the files came 
> from.
>
Conary has some really nifty tools for detecting dependencies.  Some of
it runs on source code, like Python deps.  And some runs on compiled
code, like for shared object dependencies, etc.  I only know about it as
a user/packager though.


More information about the Distributions mailing list