- May 03, 2024
-
-
Antoine Lambert authored
pytest 8.2 fails to execute an unittest based test suite if the class containing the tests does not define a runTest method, so dynamically define it in the TestCaseWithTransport class from breezy.
-
- Apr 03, 2024
-
-
Antoine Lambert authored
Latest breezy versions have no available binary wheels and require a rust compiler to be installed so ensure to use versions with precompiled Python extensions.
-
- Mar 29, 2024
-
-
David Douard authored
-
- Feb 05, 2024
-
-
Antoine Lambert authored
Related to swh/meta#5075.
-
- Dec 03, 2023
-
- Nov 28, 2023
-
-
Jérémy Bobbio (Lunar) authored
Remove `py3-breezy32` tox environment, as `breezy >= 3.3.1` is now in `requirements.txt`.
-
- Nov 14, 2023
-
-
Antoine Lambert authored
-
- Sep 28, 2023
-
-
Jelmer Vernooij authored
-
* Primarily interact with the branch object, including locking locking that (locking the repository implicitly) * Open the specified location directly rather than opening the containing URL and then checking there are no siblings
-
Locking the branch will lock the underlying repository anyway. This causes Bazaar to cache, which makes the memoization in the head_revision_id property unnecessary.
-
Jelmer Vernooij authored
3.3.0 is very old and won't build on newer Debian versions; it excludes various bug fixes and typing.
-
- Aug 25, 2023
-
-
Antoine Lambert authored
Previously the loader was raising an error when encountering a nested tree (inventory entry of kind 'tree-reference'). Those nested trees are typically created from git submodules when importing a bazaar repository from a git one. By default bazaar does not recurse on a nested tree content when exporting a revision and simply creates an empty directory instead. So adopt the same behavior in the loader as it exists cases where a nested tree cannot be resolved. Related to #4583.
-
Antoine Lambert authored
Instead of having example repositories used as tests data stored in tarballs, prefer to build them in tests implementation instead using the breezy API. It helps reading the tests and it gives more flexibility to update them if required.
-
- Aug 24, 2023
-
-
Antoine Lambert authored
Add check_revision int parameter to the BzrLoader class. Similarly to the subversion loader, every check_revision computed revisions the filesystem associated to a bazaar revision is exported to a temporary folder, the hash of its root directory computed and then compared to the SWH directory id associated to the SWH revision. If they differ, the loading is stopped by raising an exception. Use this new parameter in tests to check sample repositories are correctly loaded into the archive.
-
Antoine Lambert authored
Ensure that when an empty directory is removed in a bazaar revision it is also removed from the SWH directory data model.
-
Antoine Lambert authored
Previously, an empty directory added in a bazaar revision was incorrectly mapped to a content object with directory permission in the SWH data model. So ensure it is properly mapped to a directory object in the SWH data model.
-
- Aug 23, 2023
-
-
Antoine Lambert authored
In contrary to git, bazaar preserves empty directories in revision trees so those should not be automatically removed by the BzrDirectory class when a path is removed. So fix that issue to ensure computed SWHIDs for directories will match those computed from a bazaar export.
-
- Jul 21, 2023
-
-
Antoine Lambert authored
Previously the loader was replacing symlinks by empty files so fix their archival by setting target paths as file contents. Related to #4584.
-
- Jun 09, 2023
-
- May 03, 2023
-
-
Antoine Lambert authored
It fixes a regression related to empty committer name introduced in 182754c3. It also ensures that null committer is also handled, in that case committer date must also be set to None. Fixes #4582
-
- May 02, 2023
-
-
Antoine R. Dumont authored
This reverts commit 5062e4a7. First, this never should have been merged in this repository as this is deployment related. Second, this creates side-effects on the main workers [1]. So simply fix it by reverting. That will create less headable to everyone. [1] preventing restarts of services due to the missing distribution. Refs. swh/infra/sysadm-environment#4869 Refs. swh/infra/sysadm-environment#4868
-
- Apr 20, 2023
-
- Feb 23, 2023
-
-
Jérémy Bobbio (Lunar) authored
GitLab will display the content of the README file when browsing the repository. But in case the file is a symlink, it will display the path pointed by the symlink. There is a 6 year old issue about this: https://gitlab.com/gitlab-org/gitlab/-/issues/15093 We can workaround the issue by having the content at the root of the repository and a symlink to this file in the `docs/` directory. Tested in swh/devel/swh-py-template!27
-
- Feb 17, 2023
-
-
Antoine Lambert authored
Related to swh/meta#4960
-
- Feb 16, 2023
-
-
Jérémy Bobbio (Lunar) authored
Related to swh/meta#4959
-
- Feb 08, 2023
-
-
Antoine Lambert authored
-
- Feb 02, 2023
-
-
Antoine Lambert authored
This fixes python 3.7 support due to poetry, a dependency of isort, that removed support for that Python version in a recent release.
-
- Jan 26, 2023
-
-
- Jan 25, 2023
-
-
Jelmer Vernooij authored
-
- Dec 19, 2022
-
-
Antoine Lambert authored
In order to remove warnings about /apidoc/*.rst files being included multiple times in toc when building full swh documentation, prefer to include module indices only when building standalone package documentation. Related to T4496
-
- 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 test.
-
- Oct 10, 2022
-
-
vlorentz authored
1. version 3.3.0 introduces Rust code, which requires rustc versions newer than available in Debian 11 2. For some reason, pip does not even try to install setuptools-rust on the CI, even though it's a build dependency of Breezy
-
- May 09, 2022
-
-
Pratyush authored
-
- Apr 27, 2022
-
-
Raphaël Gomès authored
All removed items have either been already addressed or were found to not matter.
-
Raphaël Gomès authored
This is adapted from the email about public bzr loader review.
-
Antoine Lambert authored
Recent changes in swh-scheduler add new parameters to the celery tasks produced from swh.scheduler.model.ListedOrigin instances. So ensure to handle any new parameters by not hardcoding the expected ones in task signatures. Remove unsafe use of unnamed task parameters. Add new tests checking task parameters produced from ListedOrigin instances do no raise error when attempting to create a bzr loader. Related to T4187
-
- Apr 26, 2022
-
-
vlorentz authored
-
- Apr 21, 2022
-
-
Antoine Lambert authored
That hook can be frustrating as it can discard a long commit message if it finds a typo in it so better removing it.
-
vlorentz authored
-