Opened 11 years ago

Closed 8 years ago

Last modified 8 years ago

#8094 closed enhancement (fixed)

Build: generate dependency maps

Reported by: James Burke Owned by: James Burke
Priority: high Milestone: 1.7
Component: BuildSystem Version: 1.2.1
Keywords: Cc:
Blocked By: Blocking:

Description

It would be useful if the build system could generate a dependency map that specifies what modules depend on what other modules.

This could then be used for some quick build optimizations: detecting what files changed since last build, then figure out what layers/files needed to be rebuilt. That rebuild process is probably a different ticket -- the first building block is building the dependency maps.

Change History (5)

comment:1 Changed 11 years ago by Dustin Machi

I build one of these around the time of DDD using the build libs and js. You can find a copy here:

http://dmachi.dojotoolkit.org/dojotoolkit/dojox/resourceLoader/generateDependencyMap.js

comment:2 Changed 8 years ago by ben hockey

Resolution: fixed
Status: newclosed

the latest build tool has an option to output dot files that describe the dependency graphs. see http://dojotoolkit.org/reference-guide/build/transforms/depsDump.html#build-transforms-depsdump

comment:3 Changed 8 years ago by bill

Milestone: future1.7

Probably you meant 1.7 for this. (Or 1.8 at the latest.)

comment:4 Changed 8 years ago by ben hockey

sure - i definitely meant 1.7 but how do milestones matter for code that's already been released?

comment:5 Changed 8 years ago by bill

Thanks. Well, we overload "milestone" to mean both "planned version to fix" (for open tickets) and "version fixed" for closed tickets.

Note: See TracTickets for help on using tickets.