openSUSE:Libzypp repo identifiaction

Jump to: navigation, search

repo-md header example

  <!-- these tags are available in create repo > 0.9.6 -->
  <revision>timestamp_or_arbitrary_user_supplied_string</revision>
  <tags>
    <repo>obsrepository://build.suse.de/SUSE:openSUSE:11:standard</repo>
    <content>opensuse</content>
    <content>i386</content>
    <content>other string</content>
    <distro cpeid="cpe://o:opensuse_project:opensuse:11">openSUSE
11.0</distro>
  </tags>
  <!-- end -->

Repository

repomd.xml <repo> content REPOID

   string
   Repository::contentIdentifier()
   String identifying the repository.


repomd.xml <content> content REPOKEYWORDS:

   string array
   Repository::keywords()
   Could contain info about content (debug, src, updated...). AFAIK debug
   is provided for SLE12 if repo contains debuginfo packages.


repomd.xml <distro> content DISTRO:

   {cpeid,label} array
   Repository::ProductInfoIterator compatibleWithProductBegin/End()
   UNUSED; cpeids matching the products the repo is intended to support.


repomd.xml <updates> // ??? or just suseinfo.xml content  ???

   {cpeid,label} array
   Repository::ProductInfoIterator updatesProductBegin/End()
   Repository::providesUpdatesFor( const CpeId & cpeid_r )
   Repository::isUpdateRepo()
   UNUSED; cpeids matching the products the repo provides updates for.


Product

primary.xml <update-url> // ??? or via -release packages product provides content UPDATEURLS .prod <urls><url name="update">

   url array
   Product::updateUrls()
   urls of upadte repos; maybe displayed by yast


primary.xml product-updates-repoid() // -release packages product provides content --"-- .prod <register><upadtes><repository>

   string array
   Product::updateContentIdentifier()
   REPOIDs of required upadte repos, This is what 'zypper lr <alias>' list
   as 'Update Repositories:' for Fate#316160)