1. 22 Mar, 2019 2 commits
    • Jérome Perrin's avatar
      test_slapproxy: Review test for migrations · 18c814a1
      Jérome Perrin authored
      Create a test for each previous versions to current version (starting
      from version 10, earlier versions are not really supported).
      
      Procedure to add test for new version can be:
       * update table structure and increase version in slapos/proxy/schema.sql
       * use generate_dump.sh script to generate
         slapos/tests/test_slapproxy/database_dump_version_$NEW_VERSION.sql
         from slapos/tests/test_slapproxy/database_dump_version_$PREVIOUS_VERSION.sql
         (with computer_id "computer")
       * add TestMigrateVersion$(NEW_VERSION)ToLatest in
         slapos/tests/test_slapproxy/__init__.py
       * use generate_dump.sh script to update in-place
         slapos/tests/test_slapproxy/database_dump_version_current.sql
         (with computer_id "slaprunner")
      18c814a1
    • Jérome Perrin's avatar
      slapproxy: remove old tables on migration · 2f83e1e7
      Jérome Perrin authored
      Instead of keeping old tables which cause confusion for humans and tools
      directly operating on the database, remove old tables and create a
      separate backup file.
      2f83e1e7
  2. 19 Mar, 2019 2 commits
  3. 18 Mar, 2019 8 commits
  4. 15 Mar, 2019 1 commit
  5. 08 Mar, 2019 1 commit
  6. 07 Mar, 2019 2 commits
  7. 06 Mar, 2019 9 commits
  8. 04 Mar, 2019 1 commit
  9. 20 Feb, 2019 14 commits