- dont download HASH tags, (#300982)
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Tue, 21 Aug 2007 13:58:48 +0000 (13:58 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Tue, 21 Aug 2007 13:58:48 +0000 (13:58 +0000)
tests/repo/susetags/Downloader_test.cc
zypp/repo/susetags/Downloader.cc

index 6996e645dc6de4dc4c5fc6b607161b174732724b..79a5004e73b38bcaa812a648d5d6724fa2d37979 100644 (file)
@@ -105,10 +105,10 @@ void susetags_gz_download_test(const string &dir)
 //    "/media.1/products.key",
     "/media.1/media",
 //    "/media.1/products",
-    "/media.1/info.txt",
-    "/license.tar.gz",
-    "/control.xml",
-    "/installation.xml",
+//    "/media.1/info.txt",
+//    "/license.tar.gz",
+//    "/control.xml",
+//    "/installation.xml",
     "/gpg-pubkey-a1912208-446a0899.asc",
     "/gpg-pubkey-307e3d54-44201d5d.asc",
     "/gpg-pubkey-9c800aca-40d8063e.asc",
index f18391a59421201e2907813b36c72938af4f5fac..09553902cb3ce51e8313a229f5ad61e4ee8afe7a 100644 (file)
@@ -169,17 +169,6 @@ void Downloader::download( MediaSetAccess &media,
     this->enqueueDigested(location);
   }
   
-  // add hashed media files
-  
-  for ( RepoIndex::FileChecksumMap::const_iterator it = _repoindex->mediaFileChecksums.begin();
-        it != _repoindex->mediaFileChecksums.end();
-        ++it )
-  {
-    OnMediaLocation location( _path + it->first, 1 );
-    location.setChecksum( it->second );
-    this->enqueueDigested(location);
-  }
-
   this->start( dest_dir, media );
 }