- Oct 16, 2018
-
-
David Douard authored
used to initialise a database for a given (swh) module, like: swh-db-init storage
-
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.
-
- Oct 12, 2018
-
-
David Douard authored
-
David Douard authored
it's at best useless.
-
- Oct 11, 2018
-
-
Antoine R. Dumont authored
Related D507
-
Nicolas Dandrimont authored
Summary: This helps potentially change the test runner to something other than nose (T1261). Test Plan: make test before and after the change both run 26 tests Reviewers: #reviewers! Differential Revision: https://forge.softwareheritage.org/D516
-
vlorentz authored
-
vlorentz authored
Summary: This moves the interesting parts of D505 into the core, so other components can use them as well. Test Plan: `make test` Reviewers: ardumont, seirl, #reviewers Reviewed By: ardumont, #reviewers Subscribers: douardda Differential Revision: https://forge.softwareheritage.org/D507
-
- Oct 05, 2018
-
-
David Douard authored
-
David Douard authored
- add classifiers informations, - add the content of the README file as long_description, - add configure_urls. related to T1242
-
David Douard authored
note that unit tests are executed via pifpaf, so a running postgres server is not required (nor used) when unit tests are spawn with tox. Also add .tox in gitignore.
-
Antoine Pietri authored
-
- Oct 03, 2018
-
-
David Douard authored
-
- Oct 01, 2018
-
-
Stefano Zacchiroli authored
-
- May 28, 2018
-
-
Antoine R. Dumont authored
-
- May 25, 2018
-
-
Nicolas Dandrimont authored
-
- May 24, 2018
-
-
Antoine R. Dumont authored
Related T1061
-
- Apr 26, 2018
-
-
Nicolas Dandrimont authored
Summary: when ON_ERROR_STOP is not set, dumps can restore even if there's a syntax error. That's not really a sensible thing to do. Also add --no-psqlrc because my psqlrc has stuff in it that makes psql noisy in batch mode (\timing). Test Plan: Run the swh-vault tests, which are the only ones to use this fixture in this mode Reviewers: #reviewers! Differential Revision: https://forge.softwareheritage.org/D307
- Apr 25, 2018
-
-
Antoine R. Dumont authored
Related T1036
-
Antoine R. Dumont authored
Related T1036
-
- Apr 15, 2018
-
-
Nicolas Dandrimont authored
-
- Jan 14, 2018
-
-
Stefano Zacchiroli authored
-
- Dec 06, 2017
-
- Nov 02, 2017
-
-
Stefano Zacchiroli authored
-
- Oct 12, 2017
-
- Sep 05, 2017
-
-
Stefano Zacchiroli authored
-
- Aug 30, 2017
-
-
Stefano Zacchiroli authored
change cherry picked from python module template commit 71b117ba0cf9f1251b1cac26d0994df03a4c787d
-
- Aug 03, 2017
-
- Jul 17, 2017
-
-
Antoine Pietri authored
-
- Jun 19, 2017
-
- May 09, 2017
-
- Apr 24, 2017
-
-
Antoine Pietri authored
-
- Apr 07, 2017
-
-
Nicolas Dandrimont authored
- Mar 22, 2017
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
This will help create new logging handlers.
-
- Mar 15, 2017
-
-
Antoine R. Dumont authored
Related T700
-
- Feb 16, 2017
-
-
Antoine Pietri authored
-