Change the way package key works: now it includes FilesHash. #60

Now duplicate packages (the same name/version/arch) but with different set of files
would be handled as separate entities.
This commit is contained in:
Andrey Smirnov
2014-05-29 16:49:05 +04:00
parent 869e83713d
commit f007465d18
6 changed files with 18 additions and 39 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func (s *PackageListSuite) SetUpTest(c *C) {
stanza["Package"] = "mars-invaders"
s.p3 = NewPackageFromControlFile(stanza)
stanza = packageStanza.Copy()
stanza["Size"] = "42"
stanza["Source"] = "unknown-planet"
s.p4 = NewPackageFromControlFile(stanza)
stanza = packageStanza.Copy()
stanza["Package"] = "lonely-strangers"