1. 22 Oct, 2024 1 commit
  2. 21 Oct, 2024 1 commit
    • Jérome Perrin's avatar
      random: fix password recipe when using storage-path and passwd · 280370c7
      Jérome Perrin authored
      As discussed on nexedi/slapos@bb841a7b (comment 219278)
      when using storage-path and passwd option, the storage file could not
      be updated to the new format because of AttributeError _needs_migration.
      
      This changes to no longer try to detect if the storage needs migration,
      but just compare the expected content of the storage file during install
      and overwrite the file if it is different.
      
      This new approach also fix a behavior that re-running buildout with
      storage-path option and a different passwd option did not update the
      storage file. Now it is also updated.
      
      ( this also fixes a potential encoding problem on py2 )
      280370c7
  3. 18 Oct, 2024 2 commits
  4. 17 Oct, 2024 5 commits
    • Jérome Perrin's avatar
    • Jérome Perrin's avatar
      software/mosquitto/test: fix flaky test · 4a8f846f
      Jérome Perrin authored
      This test is using two connection one with a client to subscribe to a
      topic and wait for message and another one with publish.single to
      publish to the topic.
      The test was failing from time to time because the publish might have
      happened after the client was subscribed.
      
      Refactor the test to use `loop` on the client to have more control
      and be able to wait for the client to be subscribed using the
      `on_subscribe` callback.
      
      The test is also factorized, instead of having the same test twice for
      IPv4 and IPv6, we pass the host as parameter.
      4a8f846f
    • Jérome Perrin's avatar
      ERP5-py3: fix repozo backup generation · 8bff11cc
      Jérome Perrin authored
      See merge request nexedi/slapos!1665
      8bff11cc
    • Jérome Perrin's avatar
      stack/erp5: use repozo --kill-old-on-full when producing backups · ce34e0c1
      Jérome Perrin authored
      from repozo doc:
      
      > If a full backup is created, remove any prior full or incremental
      > backup files (and associated metadata files) from the repository
      > directory.
      
      This solves a problem that after a pack some old repozo files were left
      around, with this option they are automatically removed.
      ce34e0c1
    • Jérome Perrin's avatar
      stack/erp5: fix ZEO repozo backups not produced on python3 · c74efadc
      Jérome Perrin authored
      Products.TIDStorage was not ported to python3 and is not installed on
      software-py3.cfg but the backup crontab expects tidstorage to be
      present - as a result, it was silently failing to produce backups.
      
      This brings minimal support to repozo backups on python3, without
      Products.TIDStorage interraction and also extends software release test
      to have a simple test checking that backups are produced and can be
      restored.
      c74efadc
  5. 16 Oct, 2024 10 commits
  6. 15 Oct, 2024 7 commits
  7. 11 Oct, 2024 4 commits
  8. 10 Oct, 2024 4 commits
  9. 09 Oct, 2024 6 commits