[cmake-developers] [CMake 0011761]: FILE(DOWNLOAD ) md5 checking is too noisy

Mantis Bug Tracker mantis at public.kitware.com
Tue Jan 25 22:39:29 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11761 
====================================================================== 
Reported By:                Daniel Nelson
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11761
Category:                   CMake
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-01-25 22:39 EST
Last Modified:              2011-01-25 22:39 EST
====================================================================== 
Summary:                    FILE(DOWNLOAD ) md5 checking is too noisy
Description: 
When FILE(DOWNLOAD ) finds a file where the EXPECTED_MD5 matches an already
existing file and skips downloading, it displays the status message:
-- FILE(DOWNLOAD) returning early: file already exists with expected MD5 sum

This can be a little annoying if you download several files in a project, and
its displayed every time the CMakeLists are reread.  I think this message should
be removed.

Other cmake commands are silent when they complete successfully, and a matching
md5 is success.  Also the user can still retrieve the message from the STATUS
variable.

Steps to Reproduce: 
Use FILE(DOWNLOAD) with the EXPECTED_MD5 argument.  After running cmake, run
make rebuild_cache.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-25 22:39 Daniel Nelson  New Issue                                    
2011-01-25 22:39 Daniel Nelson  File Added: file-download-quiet.patch           
        
======================================================================




More information about the cmake-developers mailing list