jelmer / ognibuild

Detect and invoke build systems
GNU General Public License v2.0
19 stars 2 forks source link

Add new command to trace build deps and files #119

Open pombredanne opened 2 months ago

pombredanne commented 2 months ago

It would be awesome to be able to trace which files and dependencies are either:

This would be an excellent input to further usage downstream such as:

The collection of used files could be done with strace and https://github.com/nexB/tracecode-toolkit-strace

The collection of dependencies could be done with a mix of parsing manifests and lockfiles (See scancode-toolkit for this) or issuing the build commands that can create this data otherwise. See https://github.com/nexB/dependency-inspector/issues/2 for some ideas.

pombredanne commented 2 months ago

@jelmer tell me if this is something that you see fitting here or not.

jelmer commented 2 months ago

Yep, that makes sense.