- May 24, 2018
-
-
Antoine R. Dumont authored
Related T1061
-
- May 12, 2018
-
-
Nicolas Dandrimont authored
-
- May 11, 2018
-
-
Nicolas Dandrimont authored
Summary: When mkdtemp is called, shutil.rmtree must be called as well Test Plan: Look at /tmp before and after running tests, notice no new directories instead of 60. Reviewers: #reviewers! Differential Revision: https://forge.softwareheritage.org/D331
-
Nicolas Dandrimont authored
Summary: The behavior of storage when the underlying objstorage had an exception was never actually tested. This new test weeded out a bug in the threaded implementation for copy_to. Test Plan: the new test passes Reviewers: #reviewers! Differential Revision: https://forge.softwareheritage.org/D330
-
- May 09, 2018
-
-
Nicolas Dandrimont authored
This allows connection reuse for postgresql and potential remote backends such as for the object storage, rather than reinitiating all connections on every request.
-
- May 07, 2018
-
-
Nicolas Dandrimont authored
Summary: This allows to use swh.storage with a modicum of concurrency Test Plan: clearly, make test should still pass Reviewers: #reviewers! Differential Revision: https://forge.softwareheritage.org/D325
-
Nicolas Dandrimont authored
Summary: Add a level of indirection to allow swapping out the implementation of the db attribute Test Plan: once again, make test keeps on working Reviewers: #reviewers! Differential Revision: https://forge.softwareheritage.org/D324
-
Nicolas Dandrimont authored
Summary: This avoids reusing a potentially stale connection handle. Also allows testing potential connection pooling behavior. This forces us to do proper cursor sanitation as well, a bunch of "transactional" operations weren't actually transactional. Test Plan: another round of make test still working Reviewers: #reviewers! Differential Revision: https://forge.softwareheritage.org/D323
-
Nicolas Dandrimont authored
Summary: Helps avoid lingering postgresql connections when a test fails Test Plan: make test still works ;) Reviewers: #reviewers! Differential Revision: https://forge.softwareheritage.org/D322
-
Nicolas Dandrimont authored
-
- Apr 25, 2018
-
-
Antoine R. Dumont authored
Related T1036
-
- Mar 12, 2018
-
-
Stefano Zacchiroli authored
-
- Feb 27, 2018
-
-
Antoine Lambert authored
-
- Feb 20, 2018
-
-
Antoine Lambert authored
This commit adds the implementation of an efficient algorithm for comparing two directory trees in order to compute the list of introduced file changes in terms of addition / deletion / modification/ renaming. It can be found in the diff module located in the new namespace swh.storage.algos That algorithm is used to extend the storage API with the following methods: - diff_directories: compute diff between two arbitrary directories - diff_revisions: compute diff between two arbitrary revisions - diff_revision: compute diff between a revision and its first parent Related T921 Closes D295
-
- Feb 19, 2018
-
-
Nicolas Dandrimont authored
This table allows counting objects by bucket, keeping the transactions for counting objects short (a few dozen seconds at most). Also add a "single_update" boolean field to the main object_counts table to be able to discriminate tables that are counted via buckets and tables counted on one go. The main table is updated every 256 counted buckets to avoid too much churn on the table. Close T962.
-
- Feb 09, 2018
-
-
Stefano Zacchiroli authored
-
- Feb 08, 2018
-
-
Antoine R. Dumont authored
-
- Feb 06, 2018
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
- Jan 31, 2018
-
-
Nicolas Dandrimont authored
This function does _not_ have any backwards compatibility provisions.
-
Nicolas Dandrimont authored
-
- Jan 19, 2018
-
-
Stefano Zacchiroli authored
this way doc (re)building is more robust
-
Nicolas Dandrimont authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
- Jan 16, 2018
-
-
Stefano Zacchiroli authored
-
Nicolas Dandrimont authored
-
- Jan 10, 2018
-
-
Stefano Zacchiroli authored
Related T918
-
- Jan 09, 2018
-
-
Antoine R. Dumont authored
Related 08121f71
-
- Jan 06, 2018
-
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
rationale: swh-init.sql should only contain stuff that requires being Postgres superuser
-
- Dec 21, 2017
-
-
Nicolas Dandrimont authored
Summary: Avoids writing a bunch of temporary files for no good reason. T866 was a symptom of this. Test Plan: No regressions in the unit tests Reviewers: #reviewers! Differential Revision: https://forge.softwareheritage.org/D282
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
- Dec 19, 2017
-
-
Nicolas Dandrimont authored
-
Antoine R. Dumont authored
swh-enums: Reference new mercurial revision type Related T329
-
Stefano Zacchiroli authored
the new sphinx seems to be confused by relative symlinks when we merge all docs together
-
Stefano Zacchiroli authored
was: "swh" this way we can ship the images as is in the global doc, with minimal clash risks
-