mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
Change package key to be more groupable: arch goes first.
This commit is contained in:
Vendored
+1
-1
@@ -114,7 +114,7 @@ func NewPackageFromControlFile(input Stanza) *Package {
|
||||
|
||||
// Key returns unique key identifying package
|
||||
func (p *Package) Key() []byte {
|
||||
return []byte("P" + p.Name + " " + p.Version + " " + p.Architecture)
|
||||
return []byte("P" + p.Architecture + " " + p.Name + " " + p.Version)
|
||||
}
|
||||
|
||||
// Encode does msgpack encoding of Package
|
||||
|
||||
Reference in New Issue
Block a user