- the 'package' atom within a patch is not a stand-alone resolvable
authorKlaus Kaempf <kkaempf@suse.de>
Fri, 24 Feb 2006 19:00:16 +0000 (19:00 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Fri, 24 Feb 2006 19:00:16 +0000 (19:00 +0000)
commit2d4960f573ae4cfb0b66a5000b68fd02ae88b316
tree581e8cbb9cd7fb11a12b3dd6e921d2540677c11f
parent1e330e776a7c0169c40768c5374f7f8eb0fe3fe7
- the 'package' atom within a patch is not a stand-alone resolvable
  but contains only _additional_ information to augment the package
  created by standard repomd data
- add 'augmentPackage()' to inject this additional metadata into
  an already existing package
  (this does not work as expected since the Package is const.
   So we re-create a new Package from the old and add information)
  (incomplete, currently only dependencies are added. Should add
   also patch_rpm and delta_rpm information)
- dont use 'PackageID' but 'NVRA' which is semantically identical

ToDo:
 strip down 'YUMPatchPackage' to the 'augmentable' information.
 The updated package, the patch refers to, should have all
 information, The 'YUMPatchPackage' should only add information
 relevant for the patch-package relationship.
zypp/source/yum/YUMPatchImpl.cc
zypp/source/yum/YUMSourceImpl.cc
zypp/source/yum/YUMSourceImpl.h