Part of lp.archivepublisher.domination View In Hierarchy
Generalize handling of publication records. This allows us to write code that can be dealing with either `SourcePackagePublishingHistory`s or `BinaryPackagePublishingHistory`s without caring which. Differences are abstracted away in a traits class.
|Method||getPackageName||Get the package's name.|
|Method||getPackageVersion||Obtain the version string for a publication record.|
|Method||compare||Compare publications by version.|
|Method||sortPublications||Sort publications from most to least current versions.|
If both publications are for the same version, their creation dates break the tie.