1. 12 Jun, 2023 19 commits
  2. 08 Jun, 2023 6 commits
  3. 07 Jun, 2023 2 commits
  4. 06 Jun, 2023 3 commits
    • Kirill Smelkov's avatar
      Fix reporting of multiple detected eggs · 6bcdd408
      Kirill Smelkov authored
      It was failing with
      
                              if len(eggv) > 1:
          >                       raise ValueError('egg %s is present multiple times: %s' % (egg, eggv))
          E                       NameError: name 'egg' is not defined
      
      I hit this for real when trying to build multiple SRs on the same Theia.
      6bcdd408
    • Kirill Smelkov's avatar
      namever: Treat rfcXXX as non-version · 4b90d0a4
      Kirill Smelkov authored
      This fixes version detection for strict_rfc3339-0.7-py2.7.egg :
      
          def test_namever(url, nameok, verok):
      >       assert nxdbom.namever(url) == (nameok, verok)
      E       AssertionError: assert ('strict', 'rfc3339-0.7') == ('strict_rfc3339', '0.7')
      E         At index 0 diff: 'strict' != 'strict_rfc3339'
      E         Full diff:
      E         - ('strict_rfc3339', '0.7')
      E         ?         ^       ^^^^
      E         + ('strict', 'rfc3339-0.7')
      E         ?         ^^^^       ^
      4b90d0a4
    • Jérome Perrin's avatar
      fmt: Sort emitted entries ignoring their case · ab9720a0
      Jérome Perrin authored
      @jerome says at kirr/nxd-bom!1 (comment 185299) :
      
          I feel this would be more natural sorting, in the current output we have
          all the upper case first and then all the lower case.
      ab9720a0
  5. 05 Jun, 2023 10 commits
    • Kirill Smelkov's avatar
      Mark generic_testrunner_init as synthethic setction · 53be4c2e
      Kirill Smelkov authored
      else:
      
          NotImplementedError: generic_testrunner_init uses slapos.recipe.build without url
      
      Occurs in Wendelin.
      53be4c2e
    • Kirill Smelkov's avatar
      Fix namever for findutils url · 49fc9a26
      Kirill Smelkov authored
      49fc9a26
    • Kirill Smelkov's avatar
      Fix support for HDF5 URL · aef17caf
      Kirill Smelkov authored
      Because in 'patch1' the fraction of digits is only 1/6 it was failed to
      be recognized as version. Rework version detection heuristic to
      recpognize 'patch' and similar words as versions and increase ndigit
      threshold - since we now do not need to keep it so low as 1/5 due to
      e.g. slapospatched012 and similar cases.
      
      Occured in Wendelin.
      aef17caf
    • Kirill Smelkov's avatar
      Fix support for libstemmer_c · f46be314
      Kirill Smelkov authored
      It comes without a version.
      Occurs in Wendelin.
      f46be314
    • Kirill Smelkov's avatar
      ed3cf0a3
    • Kirill Smelkov's avatar
      b6efa70a
    • Kirill Smelkov's avatar
      Fix support for icu4c url · 589ca02a
      Kirill Smelkov authored
      See previous patch for how it was crashing.
      
      Needed to improve version detection heuristic because with only trimming
      -src suffix the version was detected as "2" and name as "icu4c-58".
      589ca02a
    • Kirill Smelkov's avatar
      Assert that ver != ø in addbom · 49514a19
      Kirill Smelkov authored
      This emits useful information instead of further crash if an url could
      not be parsef successfully as e.g. in below.
      
      Before the patch:
      
          Traceback (most recent call last):
            File "/srv/slapgrid/slappart5/srv/project/nxd-bom/nxdbom/__init__.py", line 434, in <module>
              main()
            File "/srv/slapgrid/slappart5/srv/project/nxd-bom/nxdbom/__init__.py", line 423, in main
              bom = bom_software(arg)
            File "/srv/slapgrid/slappart5/srv/project/nxd-bom/nxdbom/__init__.py", line 108, in bom_software
              addbom(geturl(part), '')    # XXX detect kind?
            File "/srv/slapgrid/slappart5/srv/project/nxd-bom/nxdbom/__init__.py", line 56, in addbom
              ver = removeprefix(ver, name+'-')   # wendelin.core-2.0.alpha3-0-g6315384  -> 2.0.alpha3-0-g6315384
            File "/srv/slapgrid/slappart5/srv/project/nxd-bom/nxdbom/__init__.py", line 384, in removeprefix
              if s.startswith(prefix):
          AttributeError: 'NoneType' object has no attribute 'startswith'
      
      After the patch:
      
          Traceback (most recent call last):
            File "/srv/slapgrid/slappart5/srv/project/nxd-bom/nxdbom/__init__.py", line 435, in <module>
              main()
            File "/srv/slapgrid/slappart5/srv/project/nxd-bom/nxdbom/__init__.py", line 424, in main
              bom = bom_software(arg)
            File "/srv/slapgrid/slappart5/srv/project/nxd-bom/nxdbom/__init__.py", line 109, in bom_software
              addbom(geturl(part), '')    # XXX detect kind?
            File "/srv/slapgrid/slappart5/srv/project/nxd-bom/nxdbom/__init__.py", line 56, in addbom
              assert ver is not None, urlpath
          AssertionError: https://github.com/unicode-org/icu/releases/download/release-58-2/icu4c-58_2-src.tgz
      49514a19
    • Kirill Smelkov's avatar
      Cloudooo also uses libpng1.2 and libpng1.6 simultaneously · 7586c2ae
      Kirill Smelkov authored
      Fix it similarly to how readline is handled in ERP5 SR.
      7586c2ae
    • Kirill Smelkov's avatar
      Fix handling of CUPS url · 488dbbc2
      Kirill Smelkov authored
      Without the fix cups version was not detected.
      
      Occurs in Cloudooo.
      488dbbc2