#74 libmodulemd fixes
Merged 5 years ago by karsten. Opened 5 years ago by karsten.
modularity/ karsten/fedmod libmodulemd  into  master

@@ -23,10 +23,10 @@ 

  FALLBACK_STREAM = 'master'

  STREAM = 'f28'

  ARCH = 'x86_64'

- _F28_MODULAR_REPO = "https://dl.fedoraproject.org/pub/fedora/linux/development/28/Modular/"

- _F28_MAIN_REPO = "https://dl.fedoraproject.org/pub/fedora/linux/development/28/Everything/"

- # F28 updates repo is empty until F28 is released, and the structure is still evolving

- #_F28_UPDATES_REPO = "https://dl.fedoraproject.org/pub/fedora/linux/updates/28/Everything/"

+ _F28_MODULAR_REPO = "https://dl.fedoraproject.org/pub/fedora/linux/releases/28/Modular/"

+ _F28_MAIN_REPO = "https://dl.fedoraproject.org/pub/fedora/linux/releases/28/Everything/"

+ _F28_UPDATES_REPO = "https://dl.fedoraproject.org/pub/fedora/linux/updates/28/Everything/"

+ #_F28_MODULAR_UPDATES_REPO = "https://dl.fedoraproject.org/pub/fedora/linux/updates/28/Modular/"

  

  class MissingMetadata(Exception):

      """Reports failure to find the local metadata cache"""
@@ -60,6 +60,8 @@ 

  

  _x86_64_MODULE_INFO = _define_repo(_F28_MODULAR_REPO, "f28-modular", ARCH)

  _SOURCE_MODULE_INFO = _define_repo(_F28_MODULAR_REPO, "f28-modular")

+ #_x86_64_MODULE_UPDATES_INFO = _define_repo(_F28_MODULAR_UPDATES_REPO, "f28-modular-updates", ARCH)

+ #_SOURCE_MODULE_UPDATES_INFO = _define_repo(_F28_MODULAR_UPDATES_REPO, "f28-modular-updates")

  _x86_64_PACKAGE_INFO = _define_repo(_F28_MAIN_REPO, "f28-packages", ARCH)

  _SOURCE_PACKAGE_INFO = _define_repo(_F28_MAIN_REPO, "f28-packages")

  #_x86_64_UPDATES_INFO = _define_repo(_F28_UPDATES_REPO, "f28-updates", ARCH)
@@ -67,6 +69,8 @@ 

  _ALL_REPOS = (

      _x86_64_MODULE_INFO,

      _SOURCE_MODULE_INFO,

+ #    _x86_64_MODULE_UPDATES_INFO,

+ #    _SOURCE_MODULE_UPDATES_INFO,

      _x86_64_PACKAGE_INFO,

      _SOURCE_PACKAGE_INFO,

  #    _x86_64_UPDATES_INFO,

@@ -1,4 +1,3 @@ 

- import modulemd

Really better as a separate commit, even if the same PR.

  import logging

  

  from gi.repository import Modulemd

I think this needs to stop being commented out, now that it's released.

Oh, actually this is also wrong: we need _F28_UPDATES_REPO and F28_MODULAR_UPDATES_REPO, don't we?

This presumably will require additional changes later to consume them properly.

1 new commit added

  • add module updates
5 years ago

Really better as a separate commit, even if the same PR.

This looks like it will require changes to how _write_lookup_caches() reads module info - though I'm not entirely sure how the modules from the modular updates repo should be merged with the modules from the base modular repo - I'd guess if there's a module with the same name:stream in the updates repo, it should replace the module in the base modular repo entirely.

2 new commits added

  • add module updates
  • libmodulemd fixes
5 years ago

1 new commit added

  • break out unrelated commit
5 years ago

1 new commit added

  • disable updates for now, move that to a new issue
5 years ago

Pull-Request has been merged by karsten

5 years ago