- Apr 27, 2022
-
-
vlorentz authored
So it is available to concrete loaders. The Git loader will use it to incrementally load new origins by fetching the last snapshot of a parent, instead of starting from scratch.
- Apr 26, 2022
-
-
vlorentz authored
-
- Apr 22, 2022
-
-
Antoine Lambert authored
Some archive integrity checks were failing after downloads as computed md5sums was compared against empty ones. Consequently some versions stored as branches were discarded from the produced snapshot of a debian package.
-
- Apr 21, 2022
-
-
vlorentz authored
1. Pass **kwargs to the base loader, instead of repeating the args 2. Remove redundant attribute initialization
-
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
-
- Apr 20, 2022
-
-
vlorentz authored
For consistency with VCS loaders. A future commit will introduce more code shared between package and VCS loaders, and will need to use this attribute.
-
- Apr 19, 2022
-
-
vlorentz authored
-
- Apr 14, 2022
-
-
Antoine R. Dumont authored
Prior to this commit, the test data were in the wrong format. They were passing along an url within the artifact parameter which is not provided by the lister. This fixes the inconsistency. Related to T3874
-
- Apr 08, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
Related to T3922
-
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
-
Antoine R. Dumont authored
This has been changed in latest swh.deposit v1.0 Related to T4125
-
- Apr 07, 2022
-
-
vlorentz authored
Just in case they also vary despite using the same id.
-
- Mar 30, 2022
-
-
vlorentz authored
In at least one occurence, replicate.npmjs.com shows the exact same tarball for two different versions. As we only used the shasum to identify a release (formerly revision) when loading incrementally, this causes two ExtIDs to be created for the same target, which causes a crash when re-loading incrementally (formerly, this caused duplicate branches' revision to be replaced by the other one). For example, https://archive.softwareheritage.org/swh:1:snp:9fe3ba7515a9b567ab7f66e20d1f4ff7f9f5cf23;origin=https://www.npmjs.com/package/koreanbots has a branch named "releases/3.0.0-alpha3" which points to a revision with the right date and directory, but "3.0.0-beta" as commit message. This may have been caused by both revisions having the same directory. This seems to have confused the next load of the loader, whose result can be seen at https://archive.softwareheritage.org/swh:1:snp:e9dca2ee671f8d12a0163fe4cacfc61eabf7d8fe;origin=https://www.npmjs.com/package/koreanbots as it used the revision in the "releases/3.0.0-alpha3" branch as the target of the "releases/3.0.0-beta" branch.
-
- 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.
-
- Mar 01, 2022
-
- Feb 25, 2022
-
-
Antoine R. Dumont authored
Instead, this fixes the pseudo fake opam root present in tests datadir folder to the right structure and then installs it properly for the test to use. Another benefit from this is now inhibiting any actual network happening during the opam init cli call. This also reverts the previous commit which added a --yes in the opam init cli. This was not working and not the right solution in the end. Related to T3973
-
- Feb 24, 2022
-
-
Antoine R. Dumont authored
In newest version, new question is asked about continuing initializing the repo. Without this, the build fails [1] [1] https://jenkins.softwareheritage.org/job/debian/job/packages/job/DLDBASE/job/gbp-buildpackage/261/console Related to T3973
-
- Feb 23, 2022
-
- Feb 15, 2022
-
-
Antoine R. Dumont authored
Without this, no scheduling of maven visits occurs. Related to T3746
-
Antoine R. Dumont authored
This reverts commit 4ead2b60 to fix the master build [1] [1] https://jenkins.softwareheritage.org/view/swh-draft/job/DLDBASE/job/tests/1817/console
-
- Feb 10, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
To install the new hook: $ pre-commit install -t commit-msg
-
Raphaël Gomès authored
I often find myself loading multiple origins at the same time for debugging and finding edge-cases through `swh loader run [...]`. The concurrent output makes it impossible to know which of the loads failed. This simple band-aid makes it obvious.
-
- Feb 08, 2022
-
-
Raphaël Gomès authored
There will be a related patch for the hg and the bzr loaders
-
- Feb 03, 2022
-
-
Nicolas Dandrimont authored
This increases overall consistency and makes us compatible with the latest version of swh.storage, which does Person.from_fullname() parsing on output if name and email are None.
-
Nicolas Dandrimont authored
-
- Jan 25, 2022
-
-
vlorentz authored
No need to filter out revisions as well, this is already handled elsewhere. Along with D7028, this resolves T3884.
-
- Jan 24, 2022
-
-
vlorentz authored
They may point to non-existing objects, which is useless.
-
- Jan 21, 2022
-
-
Raphaël Gomès authored
This will be also used by the new bzr loader. A separate patch will refactor this in the hg loader.
-
vlorentz authored
It will be replaced by what is currently called 'offset_bytes'
-
vlorentz authored
-
- Jan 14, 2022
-
- Jan 13, 2022
-
-
vlorentz authored
swh-deposit v0.17.0 removes it, to match the removal from swh-model v5.0.0
-
- Jan 11, 2022
-
-
vlorentz authored
A future release of swh-model will change its constructor's signature (replace 'offset' and 'negative_utc_offset' with 'offset_bytes). This leaves one occurence of a direct use of the constructor, as from_datetime() does not allow negative UTC.
-