Skip to content
Snippets Groups Projects
  1. Oct 16, 2018
    • David Douard's avatar
      cli: add a new generic swh-db-init cli tool · 4ebfdeed
      David Douard authored
      used to initialise a database for a given (swh) module, like:
      
        swh-db-init storage
      4ebfdeed
    • David Douard's avatar
      tests: refactor SingleDbTestFixture class to add generic db initialization · 220a8b37
      David Douard authored
      based on sql files shipped within the python package. This require several
      small refactorings of SingleDbTestFixture.setUpClass and .add_db() methods:
      
      - replace the 2 arguments (dump, dump_type) by a single 'dumps' one; this later
        must be an iterable of couples (dump_file, dump_type)
      - refactor all needed helper functions accordingly.
      
      We also add a small helper function to sort numerical file names, and provide a
      DB_DUMP_TYPES as a global variable to prepare the next commit in which a new
      cli tool 'swh-db-init' is added.
      
      Related to T1265.
      220a8b37
  2. Oct 12, 2018
  3. Oct 11, 2018
  4. Oct 05, 2018
  5. Oct 03, 2018
  6. Oct 01, 2018
  7. May 28, 2018
  8. May 25, 2018
  9. May 24, 2018
  10. Apr 26, 2018
  11. Apr 25, 2018
  12. Apr 15, 2018
  13. Jan 14, 2018
  14. Dec 06, 2017
  15. Nov 02, 2017
  16. Oct 12, 2017
  17. Sep 05, 2017
  18. Aug 30, 2017
  19. Aug 03, 2017
  20. Jul 17, 2017
  21. Jun 19, 2017
  22. May 09, 2017
  23. Apr 24, 2017
  24. Apr 07, 2017
  25. Mar 22, 2017
  26. Mar 15, 2017
  27. Feb 16, 2017
Loading