conda-forge / conda-smithy

The tool for managing conda-forge feedstocks.
https://conda-forge.org/
BSD 3-Clause "New" or "Revised" License
152 stars 181 forks source link

Emit list of files in successfully built packages #433

Open pkgw opened 7 years ago

pkgw commented 7 years ago

(I think this is the right repo for this feature request …)

I would like the CI builds to dump out a list of the files contained in the packages produced at the end of each run. Seeing the list of files can be helpful for checking that you're including the right files, and not including useless files — especially when a recipe is first being developed.

This shouldn't be too hard to implement, I think — something like for FILE in $BLAH/*.tar.bz2 ; do tar tjf $FILE |sort ; done after the build succeeds. I suppose it might be a hassle to get that to work on Windows, actually.

jakirkham commented 5 years ago

This is probably doable. Though this might make more sense in conda-build proper. WDYT?

jakirkham commented 5 years ago

Should add there are some packages with a lot of files where we might want to disable this. Though a conda-build or perhaps conda-verify flag that we can enable would be pretty useful.