Page MenuHomeSoftware Heritage
Feed Advanced Search

Dec 3 2021

ardumont updated the task description for T3765: Deploy latest swh.loader.core and swh.lister.
Dec 3 2021, 12:30 PM · System administration, Lister, Core Loader
ardumont updated the task description for T3765: Deploy latest swh.loader.core and swh.lister.
Dec 3 2021, 12:29 PM · System administration, Lister, Core Loader
ardumont updated the task description for T3765: Deploy latest swh.loader.core and swh.lister.
Dec 3 2021, 12:26 PM · System administration, Lister, Core Loader
ardumont triaged T3765: Deploy latest swh.loader.core and swh.lister as Normal priority.
Dec 3 2021, 12:23 PM · System administration, Lister, Core Loader

Nov 4 2021

vlorentz triaged T3704: Merge `assert_last_visit_matches` and `check_snapshot` and make them diff recursively as Low priority.
Nov 4 2021, 6:58 PM · Core Loader

Sep 23 2021

vlorentz added a parent task for T3607: Document consistency guarantees of the loaders with respect to the storage: T3604: Document the architecture of all major packages/components.
Sep 23 2021, 3:00 PM · Data Model, Storage manager, Package Loader, Core Loader, Documentation
vlorentz triaged T3607: Document consistency guarantees of the loaders with respect to the storage as Normal priority.
Sep 23 2021, 3:00 PM · Data Model, Storage manager, Package Loader, Core Loader, Documentation

Sep 3 2021

vlorentz moved T1021: SWORD deposit of metadata about an existing SWH object from Backlog to Deployed on the SWORD deposit board.
Sep 3 2021, 11:39 AM · Core Loader, SWORD deposit
vlorentz closed T1021: SWORD deposit of metadata about an existing SWH object as Resolved.
Sep 3 2021, 11:38 AM · Core Loader, SWORD deposit

May 27 2021

anlambert closed T3347: Archive loader should have a snapshot append mode as Resolved by committing rDLDBASE584777f3a5d2: package/archive: Add snapshot_append parameter to ArchiveLoader.
May 27 2021, 2:04 PM · Save Code Now, Core Loader
anlambert added a revision to T3347: Archive loader should have a snapshot append mode: D5789: package/archive: Add snapshot_append parameter to ArchiveLoader.
May 27 2021, 11:52 AM · Save Code Now, Core Loader
ardumont added a comment to T3347: Archive loader should have a snapshot append mode.

Your diff sounds quite enough.

May 27 2021, 9:34 AM · Save Code Now, Core Loader

May 26 2021

anlambert added a comment to T3347: Archive loader should have a snapshot append mode.

Or even directly the archive loader's default behavior (append previously seen branch
from early snapshot/visit). As discussed, I'm wondering whether an archive loader (gnu
or cran [1]) would not benefit from always displaying previously seen branches (whether
they are still present in the current main api we list/visit or not [2]).

May 26 2021, 5:59 PM · Save Code Now, Core Loader
ardumont added a comment to T3347: Archive loader should have a snapshot append mode.

This could be implemented by adding a new option to the loader.

May 26 2021, 5:03 PM · Save Code Now, Core Loader
anlambert triaged T3347: Archive loader should have a snapshot append mode as Normal priority.
May 26 2021, 4:46 PM · Save Code Now, Core Loader
vlorentz changed the status of T2564: migrate existing revisions metadata extra_headers to actual extra_headers field, a subtask of T3090: Make loaders not rely on the 'metadata' column of the 'revision' table, from Work in Progress to Open.
May 26 2021, 11:26 AM · Core Loader

May 4 2021

KShivendu added projects to T3304: Kafka throws flush timeout error: Journal, Core Loader.
May 4 2021, 11:53 AM · Docker environment, Journal

Apr 28 2021

vlorentz changed the status of T2564: migrate existing revisions metadata extra_headers to actual extra_headers field, a subtask of T3090: Make loaders not rely on the 'metadata' column of the 'revision' table, from Open to Work in Progress.
Apr 28 2021, 12:43 PM · Core Loader

Apr 23 2021

olasd closed T2471: NPM package angular-ts-manage fails to be properly loaded as Resolved.

Now deployed in prod:

Apr 23 2021, 1:41 PM · Core Loader
ardumont added a comment to T2471: NPM package angular-ts-manage fails to be properly loaded.

Neat :)

Apr 23 2021, 1:34 PM · Core Loader
olasd added a comment to T2471: NPM package angular-ts-manage fails to be properly loaded.

New swh.loader.core deployed in staging.

Apr 23 2021, 1:20 PM · Core Loader

Apr 19 2021

vlorentz lowered the priority of T3273: Use "fork" relationships to speed-up initial load of large repositories from Normal to Low.
Apr 19 2021, 1:50 PM · Origin-GitHub, Origin-GitLab, Git loader, Extrinsic metadata, Core Loader
vlorentz triaged T3273: Use "fork" relationships to speed-up initial load of large repositories as Normal priority.
Apr 19 2021, 1:49 PM · Origin-GitHub, Origin-GitLab, Git loader, Extrinsic metadata, Core Loader
vlorentz claimed T2471: NPM package angular-ts-manage fails to be properly loaded.
Apr 19 2021, 12:43 PM · Core Loader
vlorentz added a parent task for T3138: Make loaders stop writing in the 'metadata' column of the 'revision' table: T2471: NPM package angular-ts-manage fails to be properly loaded.
Apr 19 2021, 12:43 PM · Core Loader
vlorentz edited subtasks for T2471: NPM package angular-ts-manage fails to be properly loaded, added: T3138: Make loaders stop writing in the 'metadata' column of the 'revision' table; removed: T3089: Remove the 'metadata' column of the 'revision' table.
Apr 19 2021, 12:43 PM · Core Loader

Apr 15 2021

vlorentz added a subtask for T3090: Make loaders not rely on the 'metadata' column of the 'revision' table: T2564: migrate existing revisions metadata extra_headers to actual extra_headers field.
Apr 15 2021, 3:15 PM · Core Loader
vlorentz closed T3090: Make loaders not rely on the 'metadata' column of the 'revision' table as Resolved.
Apr 15 2021, 3:15 PM · Core Loader
vlorentz closed T3138: Make loaders stop writing in the 'metadata' column of the 'revision' table, a subtask of T3090: Make loaders not rely on the 'metadata' column of the 'revision' table, as Resolved.
Apr 15 2021, 3:15 PM · Core Loader
vlorentz closed T3138: Make loaders stop writing in the 'metadata' column of the 'revision' table as Resolved.
Apr 15 2021, 3:15 PM · Core Loader
vlorentz closed T3139: Make loaders stop reading from the 'metadata' column of the 'revision' table, a subtask of T3138: Make loaders stop writing in the 'metadata' column of the 'revision' table, as Resolved.
Apr 15 2021, 3:15 PM · Core Loader
vlorentz closed T3139: Make loaders stop reading from the 'metadata' column of the 'revision' table as Resolved.
Apr 15 2021, 3:15 PM · Core Loader
vlorentz closed T3142: Make loaders write to the ExtId storage, a subtask of T3143: Migrate revision metadata to extid in the storage, as Resolved.
Apr 15 2021, 3:15 PM · System administration, Storage manager, Core Loader
vlorentz closed T3142: Make loaders write to the ExtId storage as Resolved.
Apr 15 2021, 3:15 PM · Core Loader

Apr 6 2021

vlorentz added a comment to T3143: Migrate revision metadata to extid in the storage.

if you remember the crash times (.zsh_history?), we could find a range of candidate SWHIDs...

Apr 6 2021, 5:12 PM · System administration, Storage manager, Core Loader
olasd closed T3143: Migrate revision metadata to extid in the storage, a subtask of T3139: Make loaders stop reading from the 'metadata' column of the 'revision' table, as Resolved.
Apr 6 2021, 4:53 PM · Core Loader
olasd closed T3143: Migrate revision metadata to extid in the storage as Resolved.

The migration script has now run to completion (took around a week).

Apr 6 2021, 4:53 PM · System administration, Storage manager, Core Loader
olasd added a revision to T3143: Migrate revision metadata to extid in the storage: D5430: Add sha512 as a valid field in dsc metadata.
Apr 6 2021, 4:48 PM · System administration, Storage manager, Core Loader
vlorentz added a revision to T3138: Make loaders stop writing in the 'metadata' column of the 'revision' table: D5425: HgBundle20Loader: Write nodeids to ExtID objects instead of Revision.
Apr 6 2021, 2:45 PM · Core Loader
vlorentz added a revision to T3139: Make loaders stop reading from the 'metadata' column of the 'revision' table: D5425: HgBundle20Loader: Write nodeids to ExtID objects instead of Revision.
Apr 6 2021, 2:45 PM · Core Loader
vlorentz added a revision to T3139: Make loaders stop reading from the 'metadata' column of the 'revision' table: D5424: HgLoaderFromDisk: Stop reading/writing Revision.metadata.
Apr 6 2021, 2:44 PM · Core Loader
vlorentz added a revision to T3138: Make loaders stop writing in the 'metadata' column of the 'revision' table: D5424: HgLoaderFromDisk: Stop reading/writing Revision.metadata.
Apr 6 2021, 2:44 PM · Core Loader
vlorentz closed T3140: Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata, a subtask of T3139: Make loaders stop reading from the 'metadata' column of the 'revision' table, as Resolved.
Apr 6 2021, 2:20 PM · Core Loader
vlorentz closed T3140: Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata as Resolved.
Apr 6 2021, 2:20 PM · Core Loader
vlorentz added a revision to T2471: NPM package angular-ts-manage fails to be properly loaded: D5423: package loaders: Stop reading/writing Revision.metadata.
Apr 6 2021, 2:18 PM · Core Loader
vlorentz added a revision to T3138: Make loaders stop writing in the 'metadata' column of the 'revision' table: D5423: package loaders: Stop reading/writing Revision.metadata.
Apr 6 2021, 2:18 PM · Core Loader
vlorentz added a revision to T3139: Make loaders stop reading from the 'metadata' column of the 'revision' table: D5423: package loaders: Stop reading/writing Revision.metadata.
Apr 6 2021, 2:18 PM · Core Loader

Mar 30 2021

olasd changed the status of T3143: Migrate revision metadata to extid in the storage, a subtask of T3139: Make loaders stop reading from the 'metadata' column of the 'revision' table, from Open to Work in Progress.
Mar 30 2021, 7:43 PM · Core Loader
olasd changed the status of T3143: Migrate revision metadata to extid in the storage from Open to Work in Progress.
Mar 30 2021, 7:43 PM · System administration, Storage manager, Core Loader
olasd added a comment to T3143: Migrate revision metadata to extid in the storage.

I've deployed the extid schema changes on all storages, and I've started the migration script on getty.

Mar 30 2021, 7:42 PM · System administration, Storage manager, Core Loader
vsellier added a project to T3143: Migrate revision metadata to extid in the storage: System administration.
Mar 30 2021, 5:26 PM · System administration, Storage manager, Core Loader
vlorentz added a project to T3143: Migrate revision metadata to extid in the storage: Storage manager.
Mar 30 2021, 4:57 PM · System administration, Storage manager, Core Loader
vlorentz added a comment to T3143: Migrate revision metadata to extid in the storage.

https://forge.softwareheritage.org/source/snippets/browse/master/vlorentz/migrate_extid.py

Mar 30 2021, 4:56 PM · System administration, Storage manager, Core Loader
vlorentz closed T3141: Make loaders pass ExtId objects between functions instead of "known_artifact", a subtask of T3140: Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata, as Resolved.
Mar 30 2021, 4:56 PM · Core Loader
vlorentz closed T3141: Make loaders pass ExtId objects between functions instead of "known_artifact", a subtask of T3142: Make loaders write to the ExtId storage, as Resolved.
Mar 30 2021, 4:56 PM · Core Loader
vlorentz closed T3141: Make loaders pass ExtId objects between functions instead of "known_artifact" as Resolved.

now it is. (the mercurial loader technically doesn't use ExtID internally, but it already passes nodeids, which are close enough)

Mar 30 2021, 4:56 PM · Core Loader

Mar 29 2021

vlorentz added a revision to T3142: Make loaders write to the ExtId storage: D5371: HgLoaderFromDisk: Read and write ExtIDs to find revisions already loaded.
Mar 29 2021, 2:11 PM · Core Loader
vlorentz added a revision to T3140: Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata: D5371: HgLoaderFromDisk: Read and write ExtIDs to find revisions already loaded.
Mar 29 2021, 2:11 PM · Core Loader
vlorentz added a revision to T3140: Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata: D5345: package.loader: Unnest loops in PackageLoader.load().
Mar 29 2021, 10:58 AM · Core Loader
vlorentz added a revision to T3142: Make loaders write to the ExtId storage: D5364: package.loader: Write to the ExtID storage.
Mar 29 2021, 10:55 AM · Core Loader
vlorentz reopened T3141: Make loaders pass ExtId objects between functions instead of "known_artifact", a subtask of T3140: Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata, as Open.
Mar 29 2021, 10:54 AM · Core Loader
vlorentz reopened T3141: Make loaders pass ExtId objects between functions instead of "known_artifact", a subtask of T3142: Make loaders write to the ExtId storage, as Open.
Mar 29 2021, 10:54 AM · Core Loader
vlorentz reopened T3141: Make loaders pass ExtId objects between functions instead of "known_artifact" as "Open".

actually, only solved for package loaders

Mar 29 2021, 10:54 AM · Core Loader

Mar 25 2021

vlorentz added a revision to T3140: Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata: D5349: package.loader: Lookup packages from the ExtID storage.
Mar 25 2021, 7:22 PM · Core Loader
vlorentz removed a parent task for T3142: Make loaders write to the ExtId storage: T3140: Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata.
Mar 25 2021, 7:22 PM · Core Loader
vlorentz removed a subtask for T3140: Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata: T3142: Make loaders write to the ExtId storage.
Mar 25 2021, 7:22 PM · Core Loader
vlorentz closed T3141: Make loaders pass ExtId objects between functions instead of "known_artifact", a subtask of T3140: Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata, as Resolved.
Mar 25 2021, 7:22 PM · Core Loader
vlorentz closed T3141: Make loaders pass ExtId objects between functions instead of "known_artifact", a subtask of T3142: Make loaders write to the ExtId storage, as Resolved.
Mar 25 2021, 7:22 PM · Core Loader
vlorentz closed T3141: Make loaders pass ExtId objects between functions instead of "known_artifact" as Resolved.
Mar 25 2021, 7:22 PM · Core Loader

Mar 22 2021

vlorentz added a subtask for T3142: Make loaders write to the ExtId storage: T3141: Make loaders pass ExtId objects between functions instead of "known_artifact".
Mar 22 2021, 1:28 PM · Core Loader
vlorentz added a parent task for T3141: Make loaders pass ExtId objects between functions instead of "known_artifact": T3142: Make loaders write to the ExtId storage.
Mar 22 2021, 1:28 PM · Core Loader

Mar 19 2021

vlorentz added revisions to T3141: Make loaders pass ExtId objects between functions instead of "known_artifact": D5285: debian: Make resolve_revision_from use the sha256 of the .dsc, D5286: debian: Split original_artifact parsing out of resolve_revision_from, D5287: npm, pypi: Split original_artifact parsing out of artifact_to_revision_id, D5288: nixguix: Split 'integrity' extraction out of resolve_revision_from, D5289: archive, cran: Replace 'artifact_identity' with extid to detect known packages, D5290: Deduplicate resolve_revision_from across package loaders.
Mar 19 2021, 2:48 PM · Core Loader

Mar 16 2021

vlorentz updated the task description for T3090: Make loaders not rely on the 'metadata' column of the 'revision' table.
Mar 16 2021, 5:53 PM · Core Loader
vlorentz added a parent task for T3142: Make loaders write to the ExtId storage: T3143: Migrate revision metadata to extid in the storage.
Mar 16 2021, 5:53 PM · Core Loader
vlorentz added a subtask for T3143: Migrate revision metadata to extid in the storage: T3142: Make loaders write to the ExtId storage.
Mar 16 2021, 5:53 PM · System administration, Storage manager, Core Loader
vlorentz triaged T3143: Migrate revision metadata to extid in the storage as Normal priority.
Mar 16 2021, 5:53 PM · System administration, Storage manager, Core Loader
vlorentz updated the task description for T3090: Make loaders not rely on the 'metadata' column of the 'revision' table.
Mar 16 2021, 12:33 PM · Core Loader
vlorentz triaged T3142: Make loaders write to the ExtId storage as Normal priority.
Mar 16 2021, 12:33 PM · Core Loader
vlorentz renamed T3140: Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata from Make loaders use ExtId to find what artefacts are already loaded, in addition to revision.metadata to Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata.
Mar 16 2021, 12:28 PM · Core Loader
vlorentz updated the task description for T3090: Make loaders not rely on the 'metadata' column of the 'revision' table.
Mar 16 2021, 12:28 PM · Core Loader
vlorentz updated the task description for T3090: Make loaders not rely on the 'metadata' column of the 'revision' table.
Mar 16 2021, 12:27 PM · Core Loader
vlorentz updated the task description for T3090: Make loaders not rely on the 'metadata' column of the 'revision' table.
Mar 16 2021, 12:27 PM · Core Loader
vlorentz triaged T3141: Make loaders pass ExtId objects between functions instead of "known_artifact" as Normal priority.
Mar 16 2021, 12:22 PM · Core Loader
vlorentz triaged T3140: Make loaders use ExtId to find what artifacts are already loaded, in addition to revision.metadata as Normal priority.
Mar 16 2021, 12:19 PM · Core Loader
vlorentz triaged T3139: Make loaders stop reading from the 'metadata' column of the 'revision' table as Normal priority.
Mar 16 2021, 12:17 PM · Core Loader
vlorentz triaged T3138: Make loaders stop writing in the 'metadata' column of the 'revision' table as Normal priority.
Mar 16 2021, 12:17 PM · Core Loader

Mar 15 2021

vlorentz added a subtask for T2471: NPM package angular-ts-manage fails to be properly loaded: T3089: Remove the 'metadata' column of the 'revision' table.
Mar 15 2021, 12:32 PM · Core Loader
vlorentz lowered the priority of T2471: NPM package angular-ts-manage fails to be properly loaded from High to Normal.
Mar 15 2021, 12:32 PM · Core Loader

Mar 11 2021

douardda closed T2849: Design and implement a mapping from "original VCS ids" to SWHIDs to help incremental loaders, a subtask of T3090: Make loaders not rely on the 'metadata' column of the 'revision' table, as Resolved.
Mar 11 2021, 2:55 PM · Core Loader

Mar 5 2021

vlorentz added a subtask for T3090: Make loaders not rely on the 'metadata' column of the 'revision' table: T2849: Design and implement a mapping from "original VCS ids" to SWHIDs to help incremental loaders.
Mar 5 2021, 12:29 PM · Core Loader
vlorentz triaged T3090: Make loaders not rely on the 'metadata' column of the 'revision' table as Normal priority.
Mar 5 2021, 12:29 PM · Core Loader

Feb 17 2021

anlambert added a revision to T3030: Improve loaders to deal with new visit status events: D5096: common/origin_save: Handle new "not_found" origin visit status.
Feb 17 2021, 4:45 PM · Core Loader
ardumont closed D5071: Unify loader instantiation.
Feb 17 2021, 12:03 PM · Core Loader

Feb 16 2021

swh-public-ci added a comment to D5071: Unify loader instantiation.

Build is green

Feb 16 2021, 7:11 PM · Core Loader
ardumont updated the diff for D5071: Unify loader instantiation.

Rework commit message (aligns with diff)

Feb 16 2021, 7:09 PM · Core Loader
olasd accepted D5071: Unify loader instantiation.

I wonder what would break if the new methods were just put in BaseLoader and the PackageLoader was made to inherit BaseLoader

I don't think anything would break. I'm just not sure the "indirection" would be clear in terms of code readability...

I was wrong. mypy is not happy.

Some signatures would need changing, notably the load, prepare, prepare_origin_visit to drop the spurious (i think) {*args, **kwargs} we are declaring.
(I don't think they are still used any more now, aside for the extra logging arguments)

But still, i'd be confortable if we go that way to do it in another diff (maybe).

Feb 16 2021, 6:57 PM · Core Loader
ardumont updated the summary of D5071: Unify loader instantiation.
Feb 16 2021, 6:57 PM · Core Loader
ardumont added a comment to D5071: Unify loader instantiation.

I wonder what would break if the new methods were just put in BaseLoader and the PackageLoader was made to inherit BaseLoader

I don't think anything would break. I'm just not sure the "indirection" would be clear in terms of code readability...

I was wrong. mypy is not happy.

Some signatures would need changing, notably the load, prepare, prepare_origin_visit to drop the spurious (i think) {*args, **kwargs} we are declaring.
(I don't think they are still used any more now, aside for the extra logging arguments)

But still, i'd be confortable if we go that way to do it in another diff (maybe).

$ tox -e mypy
GLOB sdist-make: /home/tony/work/inria/repo/swh/swh-environment/swh-loader-core/setup.py
...
mypy run-test: commands[0] | mypy swh
swh/loader/package/loader.py:289: error: Signature of "load" incompatible with supertype "BaseLoader"
swh/loader/package/loader.py:381: error: Argument "date" to "OriginVisit" has incompatible type "Optional[datetime]"; expected "datetime"
swh/loader/package/loader.py:570: error: Argument "discovery_date" to "RawExtrinsicMetadata" has incompatible type "Optional[datetime]"; expected "datetime"
swh/loader/package/loader.py:692: error: Argument "discovery_date" to "RawExtrinsicMetadata" has incompatible type "Optional[datetime]"; expected "datetime"
swh/loader/package/loader.py:727: error: Argument "discovery_date" to "RawExtrinsicMetadata" has incompatible type "Optional[datetime]"; expected "datetime"
swh/loader/package/loader.py:756: error: Argument "discovery_date" to "RawExtrinsicMetadata" has incompatible type "Optional[datetime]"; expected "datetime"
swh/loader/package/pypi/loader.py:151: error: Item "None" of "Optional[datetime]" has no attribute "isoformat"
swh/loader/package/npm/loader.py:177: error: Item "None" of "Optional[datetime]" has no attribute "isoformat"
swh/loader/package/nixguix/loader.py:218: error: Item "None" of "Optional[datetime]" has no attribute "isoformat"
swh/loader/package/deposit/loader.py:208: error: Item "None" of "Optional[datetime]" has no attribute "isoformat"
swh/loader/package/deposit/loader.py:244: error: Signature of "load" incompatible with supertype "BaseLoader"
swh/loader/package/debian/loader.py:237: error: Item "None" of "Optional[datetime]" has no attribute "isoformat"
swh/loader/package/cran/loader.py:129: error: Item "None" of "Optional[datetime]" has no attribute "isoformat"
swh/loader/package/archive/loader.py:170: error: Item "None" of "Optional[datetime]" has no attribute "isoformat"
Found 14 errors in 8 files (checked 71 source files)
Feb 16 2021, 6:52 PM · Core Loader
ardumont added a comment to D5071: Unify loader instantiation.

I wonder what would break if the new methods were just put in BaseLoader and the PackageLoader was made to inherit BaseLoader

Feb 16 2021, 6:33 PM · Core Loader
swh-public-ci added a comment to D5071: Unify loader instantiation.

Build is green

Feb 16 2021, 6:23 PM · Core Loader