Repository: conan-io/conan

Issue:
Consider hiding output of downlading conaninfo.txt
Consider removing the output of downloading "conaninfo.txt" for the binaries prior to download them:

```bash
(conanpip) λ conan install ..                                                       
Configuration:                                                                      
[settings]                                                                          
os=Windows                                                                          
os_build=Windows                                                                    
arch=x86_64                                                                         
arch_build=x86_64                                                                   
compiler=Visual Studio                                                              
compiler.version=15                                                                 
build_type=Release                                                                  
[options]                                                                           
[build_requires]                                                                    
[env]                                                                               
                                                                                    
zlib/1.2.11@conan/stable: Not found in local cache, looking in remotes...           
zlib/1.2.11@conan/stable: Trying with 'conan-center'...                             
Downloading conanmanifest.txt                                                       
[==================================================] 121B/121B                      
Downloading conanfile.py                                                            
[==================================================] 7.6KB/7.6KB                    
bzip2/1.0.6@conan/stable: Not found in local cache, looking in remotes...           
bzip2/1.0.6@conan/stable: Trying with 'conan-center'...                             
Downloading conanmanifest.txt                                                       
[==================================================] 107B/107B                      
Downloading conanfile.py                                                            
[==================================================] 2.8KB/2.8KB                    
Downloading conan_export.tgz                                                        
[==================================================] 419B/419B                      
Decompressing conan_export.tgz: 427B [00:00, 25.1kB/s]                              
Downloading conaninfo.txt                                                           
[==================================================] 438B/438B                      
Downloading conaninfo.txt                                                           
[==================================================] 466B/466B                      
PROJECT: Installing C:\Users\memsharded\conanws\demos\DLR\hello\conanfile.py            
Requirements                                                                        
    bzip2/1.0.6@conan/stable from 'conan-center' - Downloaded                       
    zlib/1.2.11@conan/stable from 'conan-center' - Downloaded    
```                   




Discussion:
The current problem is that it add noise without giving any useful information, like in #3530 with long strikes of lines only saying "Downloading conaninfo.txt", but not saying which one. So I think that giving more information about the file downloaded would be better (full URL? Remote name followed by path relative to the remote?). It would help the user understand what conan is doing.

Or maybe the whole thing could be hidden and replace by a logs saying why it's downloading those files, but from a CI user perspective, I'd prefer more precise logs.

Resolving patch:
diff --git a/conans/__init__.py b/conans/__init__.py
--- a/conans/__init__.py
+++ b/conans/__init__.py
@@ -19,3 +19,4 @@
 SERVER_CAPABILITIES = [COMPLEX_SEARCH_CAPABILITY, ]  # Still without v2 because it is changing
 
 __version__ = '1.9.0-dev'
+
diff --git a/conans/client/rest/rest_client_v1.py b/conans/client/rest/rest_client_v1.py
--- a/conans/client/rest/rest_client_v1.py
+++ b/conans/client/rest/rest_client_v1.py
@@ -100,7 +100,7 @@ def get_package_info(self, package_reference):
             raise NotFoundException("Package %s doesn't have the %s file!" % (package_reference,
                                                                               CONANINFO))
         # Get the info (in memory)
-        contents = self._download_files({CONANINFO: urls[CONANINFO]})
+        contents = self._download_files({CONANINFO: urls[CONANINFO]}, quiet=True)
         # Unroll generator and decode shas (plain text)
         contents = {key: decode_text(value) for key, value in dict(contents).items()}
         return ConanInfo.loads(contents[CONANINFO])


Test patch:
diff --git a/conans/test/integration/install_update_test.py b/conans/test/integration/install_update_test.py
--- a/conans/test/integration/install_update_test.py
+++ b/conans/test/integration/install_update_test.py
@@ -226,6 +226,8 @@ def reuse_test(self):
         client2 = TestClient(servers=self.servers, users={"default": [("lasote", "mypass")]})
         client2.run("install Hello0/1.0@lasote/stable")
 
+        self.assertEquals(str(client2.out).count("Downloading conaninfo.txt"), 1)
+
         files["helloHello0.h"] = "//EMPTY!"
         self.client.save(files, clean_first=True)
         sleep(1)
diff --git a/conans/test/remote/broken_download_test.py b/conans/test/remote/broken_download_test.py
--- a/conans/test/remote/broken_download_test.py
+++ b/conans/test/remote/broken_download_test.py
@@ -47,7 +47,8 @@ def __init__(self, *args, **kwargs):
                 super(DownloadFilesBrokenRequester, self).__init__(*args, **kwargs)
 
             def get(self, url, **kwargs):
-                if "conaninfo.txt" in url and not self.first_fail:
+                # conaninfo is skipped sometimes from the output, use manifest
+                if "conanmanifest.txt" in url and not self.first_fail:
                     self.first_fail = True
                     raise ConnectionError("Fake connection error exception")
                 else: