- Apr 08, 2022
-
-
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
- Dec 22, 2021
-
-
vlorentz authored
-
- Dec 16, 2021
-
-
Antoine R. Dumont authored
This also drops spurious copyright headers to those files if present. Related to T3812
-
- Dec 09, 2021
-
- Dec 08, 2021
-
-
vlorentz authored
This solves two problems: 1. if the URL changes but the content doesn't, then the new snapshot would keep using the release with the old URL in its name. 2. if there are two URLs pointing to the same content, the base loader would crash because it cannot know which one to pick.
-
vlorentz authored
-
vlorentz authored
instead of just its netloc, as it is possibly to have multiple maven instances hosted under the same domain but at different paths. The code is also simpler this way.
-
- Dec 07, 2021
-
-
vlorentz authored
Snapshots should only record versions that currently exist; even if they used to exist in a previous visits. If readers of the archive want to access deleted versions, than can look up older snapshots.
-
vlorentz authored
-
vlorentz authored
We don't need it to be ordered; and '.keys()' is redundant.
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
It was copied from the Archive Loader, but is not needed here.
-