Uploaded image for project: 'CentOS Stream Pipeline'
  1. CentOS Stream Pipeline
  2. CS-2044

Modules in c8s don't have versions in ascending order

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • None
    • False
    • Testable

      There are several versions of modules in the c8s repositories. For example, for the python39 module in c8s-appstream, we see the following NSVCAs:

      • python39:3.9:8080020230117181848:aed85c85:x86_64
      • python39:3.9:8080020221205125727:aed85c85:x86_64
      • python39:3.9:8070020220920211220:be1f0497:x86_64
      • python39:3.9:8070020220908144956:be1f0497:x86_64
      • python39:3.9:8070020220705182401:be1f0497:x86_64
      • python39:3.9:8070020220624145249:be1f0497:x86_64
      • python39:3.9:8060020220127154911:d3811607:x86_64
      • python39:3.9:8060020211016004914:d3811607:x86_64
      • python39:3.9:8060020210921015444:d3811607:x86_64
      • python39:3.9:8050020210825170628:d428a79b:x86_64
      • python39:3.9:8050020210802143738:d428a79b:x86_64
      • python39:3.9:8050020210709161752:d428a79b:x86_64
      • python39:3.9:8050020210611160013:d428a79b:x86_64
      • python39:3.9:8050020210506172806:d428a79b:x86_64
      • python39:3.9:8050020210422164837:d428a79b:x86_64
      • python39:3.9:8050020210330215900:d428a79b:x86_64
      • python39:3.9:820240214182535:17377f89:x86_64
      • python39:3.9:820240207141750:17377f89:x86_64
      • python39:3.9:820240117165712:17377f89:x86_64
      • python39:3.9:820231018065245:17377f89:x86_64
      • python39:3.9:820230810143808:17377f89:x86_64
      • python39:3.9:820230717121523:a8b5a7c1:x86_64

      However, the ones with 15-digit versions (e.g. 820240214182535) are newer than the ones with 19-digit versions (e.g. 8080020230117181848).

      8080020230117181848 is clearly a higher number than 820240214182535, yet the modules with lower versions are actually newer (as in they were built later and they contain newer content).

      The modularity documentation explicitly states that higher number always wins.

      This means that we ship old modular builds acting like newer ones. This breaks e.g. the Koji EPEL 8 Next repository.

      Please either remove all of the "higher version but older" modules from the repositories, or set the version counter to a higher number and rebuild all affected modules. Thanks.

            Unassigned Unassigned
            mhroncok@redhat.com Miro HronĨok
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: