- Sep 14, 2023
-
-
vlorentz authored
The symlink representation is slightly ambiguous, so not necessarily very useful. Additionally, it made directory-flat bundles differ from a non-recursive 'git clone' checkout, which confuses Guix and potentially other tools. We may revisit this in the future, eg. by adding a dotfile in the directory or metadata at the root.
-
- Jul 19, 2023
-
-
Antoine Lambert authored
This new method returns a direct download URL for a cooked bundle if the vault cache backend supports the feature. The backend implementation simply wraps a call to the download_url method from the objstorage used as vault cache. Related to #885.
-
- Jul 13, 2023
-
-
Antoine Lambert authored
Since commit swh-core@89d48572, the "swh db init" command attempts to instantiate the postgresql backend of a swh module using the get_datastore function of the module with a "cls" and "db" parameters. While it works fine for most of swh modules, it does not for the vault as more parameters are expected by the "get_vault" function and thus the database init is failing. The issue was spotted in the docker environment after updating the swh/stack image. So extract postgresql backend initialization for the vault in a new class named VaultBackendDataStore and set it as swh.vault.get_datastore attribute value.
-
- Jul 07, 2023
-
-
David Douard authored
It now needs types-click which is indeed a dependency of swh.core[testing].
-
- Jun 26, 2023
-
-
Antoine Lambert authored
Latest sentry-sdk release now raises a BadDsn exception when DSN format does not match the expected one.
-
- May 11, 2023
-
-
Antoine Lambert authored
That function from swh.core.config was removed in swh-core@2663c0a4.
-
- Mar 03, 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-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 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.
-
- 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. Also include them the proper sphinx way. Related to T4496
-
- Nov 23, 2022
-
-
vlorentz authored
-
- Nov 07, 2022
-
-
Antoine Lambert authored
Previous URL was starting with /api/1/vault/git_bare/ leading to a 404 while the correct one must start with /api/1/vault/git-bare/.
-
- 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).
-
- Sep 14, 2022
-
-
David Douard authored
to more reasonable versions...
-
David Douard authored
instead of creating it in the VaultBackend constructor: when configured (with host and port), SMTP.connect() is immediately called, which makes it mandatory to have the smtp server up and running to be able to create the VaultBackend object (which makes it hard to run properly in an elastic environment like docker or k8s). This also removes the fallback to hardcoded 'localhost:25' smtp server; if the smtp server is not configured or not reachable, the call to _smtp_send() will fail logging the failure (both in logging and sentry).
-
- Aug 30, 2022
-
-
vlorentz authored
Hash dicts are now prefered by swh-objstorage, in order to support individual hash collisions.
-
- Aug 04, 2022
-
-
David Douard authored
because this later is not yet available on debian, and we do not use new API features anyway in test_cookers.py Should fix deb packaging.
-
David Douard authored
-
- Jul 29, 2022
-
-
Antoine R. Dumont authored
'local' has been deprecated for a while.
-
- Jul 19, 2022
-
-
vlorentz authored
This is not a runtime issue, because when the supplied mode is DentryPerms.symlink, the target is only used passed to os.symlink, which does allow str too.
-
- Jun 23, 2022
- Jun 22, 2022
-
-
vlorentz authored
-
- Jun 21, 2022
-
-
Nicolas Dandrimont authored
This would be more usefully implemented by generating a (temporary) URL for direct download of vault bundles from the azure bucket.
-
- Jun 07, 2022
-
-
Antoine R. Dumont authored
This fixes test build [1] [1] https://jenkins.softwareheritage.org/view/swh%20master%20(draft)/job/DVAU/job/tests/1575/console Related to T4305
-
- May 31, 2022
-
-
David Douard authored
instead of (soon-to-be-deprecated) swh-core's postgresql_fact one.
-
David Douard authored
to reduce test execution time a bit. Keep test_git_bare_cooker using a postgresql backend, since it depends on it (support for displayname).
-
- May 09, 2022
-
-
Pratyush authored
-
- May 06, 2022
-
-
Antoine Lambert authored
Fix "more than one target found for cross-reference 'ObjectType'" sphinx warning.
-
- May 02, 2022
-
-
Benoit Chauvet authored
-
- 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.
-