- Apr 08, 2022
-
-
Antoine Lambert authored
black is considered stable since release 22.1.0 and the version we are currently using is quite outdated and not compatible with click 8.1.0, so it is time to bump it to its latest stable release. Please note that E501 pycodestyle warning related to line length is replaced by B950 one from flake8-bugbear as recommended by black. https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length Related to T3922
-
- Mar 30, 2022
-
-
Antoine R. Dumont authored
This changes the deprecated :show-nested: instruction to the :nested: one [1]. This also fixes warning about misindented block [2]. [1] https://sphinx-click.readthedocs.io/en/latest/usage/#directive-click [2] ``` 06:22:34 swh fs mount:1:Unexpected indentation. 06:22:34 make: *** [../../swh-docs/Makefile.sphinx:32: sphinx/html] Error 2 ```
-
- Mar 22, 2022
-
-
Antoine Lambert authored
Due to test modules being copied in subdirectories of the build directory by setuptools, it makes pytest fail by raising ImportPathMismatchError exceptions when invoked from root directory of the module. So ignore the build folder to discover tests.
-
- Feb 10, 2022
-
-
Antoine Lambert authored
To install the new hook: $ pre-commit install -t commit-msg
-
- Jan 19, 2022
-
-
Antoine R. Dumont authored
This fixes the warning about the archive.softwareheritage.org link in the markdown. ``` 09:45:50 Warning, treated as error: 09:45:50 /var/lib/jenkins/workspace/DFUSE/tests-on-diff/docs/tutorial.md:85:hardcoded link 'https://archive.softwareheritage.org/api/' could be replaced by an extlink (try using ':swh_web:`api/`' instead) ```
-
Antoine R. Dumont authored
Related to D6967
-
- Dec 16, 2021
-
-
Antoine R. Dumont authored
This also drops spurious copyright headers to those files if present. Related to T3812
-
- Oct 18, 2021
-
-
Antoine R. Dumont authored
The target is kept so it's still usable if needed. It's dropped from the publish build as this creates problem otherwise. Related to T3665
-
- Oct 05, 2021
-
-
vlorentz authored
-
- Jun 09, 2021
-
-
Antoine R. Dumont authored
-
- Apr 26, 2021
-
-
Antoine Lambert authored
Enable to check package documentation can be built without producing sphinx warnings. The sphinx environment is designed to be used in continuous integration in order to prevent breaking documentation build when committing changes. The sphinx-dev environment is designed to be used inside a full swh development environment. Related to T3258
-
- Apr 13, 2021
-
-
vlorentz authored
-
- Mar 19, 2021
-
-
vlorentz authored
-
- Mar 05, 2021
-
-
Stefano Zacchiroli authored
-
- Mar 04, 2021
-
- Feb 26, 2021
-
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
- Jan 06, 2021
-
-
Thibault Allançon authored
Now that the .status file behavior is consistent, we can safely rely on it during unit tests. Close T2830.
-
Thibault Allançon authored
-
- Jan 05, 2021
-
-
Thibault Allançon authored
Since those entries are updated in the background, we invalidate the cache on a regular basis. Close T2864. This should also fix the second problem of T2830, namely the fact that get_entries(by_date, offset) was not reliable because of the offset supposing the entries were the same every time.
-
- Jan 04, 2021
-
-
Thibault Allançon authored
Since metadata and history already share the same database, it makes sense to share the connection as well, to prevent unnecessary locking on the db file. Related to T2830.
-
Thibault Allançon authored
-
Thibault Allançon authored
-
Thibault Allançon authored
-
Thibault Allançon authored
-
Thibault Allançon authored
-
- Dec 29, 2020
-
-
Thibault Allançon authored
Invalidate specific cached artifact using `rm cache/{SWHID}` Fix T2889.
-
- Dec 28, 2020
-
-
Stefano Zacchiroli authored
this is more consistent with the style used by other SWH modules, and also avoids parsing errors by our dependency graph generator
-
Thibault Allançon authored
Fix T2825.
-
Thibault Allançon authored
-
Thibault Allançon authored
Close T2775.
-
- Dec 18, 2020
-
-
Thibault Allançon authored
-
Thibault Allançon authored
-
- Dec 16, 2020
-
-
Thibault Allançon authored
Closes T2841. Force a cache update on origin visits when last fetched more than one day ago.
-
Thibault Allançon authored
-
Thibault Allançon authored
Fixes T2838.
-
- Dec 14, 2020
-
-
Thibault Allançon authored
Related to T2771. Add a new 'cache/' directory along 'archive/' and 'origins/' in order to navigate previously cached artifacts and for a future use-case about cache invalidation on specific objects.
-
- Dec 08, 2020
-
-
Thibault Allançon authored
Close T2863.
-
Thibault Allançon authored
Fix T2842.
-
Thibault Allançon authored
Fix T2851.
-