- Nov 04, 2022
-
-
Jenkins for Software Heritage authored
Update to upstream version '2.1.0' with Debian dir 616bb19435214ad1ed45c09c25c70d6e90e9a8fc
-
Nicolas Dandrimont authored
With the proper implementation of packfile negotiation, remotes can return packfiles that do not contain all of our wanted objects. Consider the following two histories: * c1 * c1 ← [refs/tags/original] ↑ ↑
* c2 ← [refs/heads/main] | * c3 ← [refs/heads/main] * c2 ← [refs/heads/broken] The first visit of the origin would load commits c1 and c2, and write a snapshot referencing c2. During the second visit, the loader would tell the origin that c2 is known, and that c1 and c3 are wanted (as new heads). The origin, knowing that c1 is a parent of c2, would be allowed by the git protocol to send a packfile containing only c3. Under these circumstances, the loader cannot tell what object type the snapshot branch [refs/tags/original] should point to. The repository in tests has a similar structure ([refs/heads/master] is in the history of [refs/tags/branch2-before-delete]), so refactor the incremental load test to exercise this specific behavior. This test can be moved to the common tests as well. -
Nicolas Dandrimont authored
Even though this is only HEAD, we should make sure that it's filtered anyway.
-
Nicolas Dandrimont authored
In terms of mypy, this function is just doing some types-washing anyway.
-
Jenkins for Software Heritage authored
Update to upstream version '2.0.0' with Debian dir e756045d5a5f2efe9eff53ef16d69d07ecc9afe4
-
Nicolas Dandrimont authored
As dulwich's client.fetch_pack expects an instance of history graph walker with set of known heads, move the local heads caching from `determine_wants` to the RepoRepresentation initialization logic. Our previous code would always initialize the graph walker with an empty set of heads (as the `graph_walker()` method is called before `determine_wants()` has run, so `self.heads` was always empty), so we would never actually fetch an incremental pack file.
- Nov 03, 2022
-
-
Nicolas Dandrimont authored
-
- Oct 31, 2022
-
-
Jenkins for Software Heritage authored
Update to upstream version '1.10.1' with Debian dir faa5c5d1344eabafd61cab6de6e88dd7a793d017
-
Antoine Lambert authored
ShaFile.get_type was deprecated and has been removed. New typings have been added in dulwich that trigerred a new mypy error.
- Oct 25, 2022
- Oct 19, 2022
-
-
Antoine Lambert authored
-
- Oct 18, 2022
-
-
David Douard authored
- pre-commit from 4.1.0 to 4.3.0, - codespell from 2.2.1 to 2.2.2, - black from 22.3.0 to 22.10.0 and - flake8 from 4.0.1 to 5.0.4. Also freeze flake8 dependencies. Also change flake8's repo config to github (the gitlab mirror being outdated).
-
Antoine Lambert authored
Use helper fixture loading_task_creation_for_listed_origin_test from swh-loader-core and remove redundant tests.
-
- Sep 06, 2022
-
-
Jenkins for Software Heritage authored
Update to upstream version '1.10.0' with Debian dir 294d6835e809f48c638b3d1709768566a7823c76
- Jul 19, 2022
-
- Jun 16, 2022
-
-
Antoine Lambert authored
Dulwich 0.20.43 dropped the double caching of HTTP responses so we can now remove comments about that issue. Related to T4311
-
- May 25, 2022
-
-
Jenkins for Software Heritage authored
Update to upstream version '1.9.1' with Debian dir 19202ded7b36bfa220f2cacd15ec2aabcf19bcf2
- May 24, 2022
-
- May 23, 2022
-
-
Jenkins for Software Heritage authored
Update to upstream version '1.9.0' with Debian dir e8cc8071d3eadf2f9ced9823512976a761d2e5b8
- May 20, 2022
- May 17, 2022
-
-
vlorentz authored
-
- May 16, 2022
-
-
Jenkins for Software Heritage authored
Update to upstream version '1.8.1' with Debian dir 70839ed444fd62d05f581b3bd1c92cb174933e3d