Page MenuHomeSoftware Heritage
Feed Advanced Search

Apr 6 2021

douardda updated the diff for D5414: Make the replayer drop the Revision.metadata.

rebased

Apr 6 2021, 4:08 PM
douardda updated the diff for D5413: Make pg Storage.extid_add() write extid objects to the journal.

Add explicit checks for extid being written in the journal and split the revision in 2

Apr 6 2021, 4:07 PM
douardda added a comment to D5413: Make pg Storage.extid_add() write extid objects to the journal.

Could you add a test for the storage? All other *_add have a journal test IIRC

Apr 6 2021, 3:39 PM
douardda added a comment to D5413: Make pg Storage.extid_add() write extid objects to the journal.

lgtm

(I would have made that 2 commits with each its own perimeter, 1 for the actual perimeter, 1 to refactor the test, but whatever)

Apr 6 2021, 3:38 PM
douardda added inline comments to D5414: Make the replayer drop the Revision.metadata.
Apr 6 2021, 3:33 PM
douardda triaged T3209: Fix swh-scanner for python > 3.7 as High priority.
Apr 6 2021, 11:55 AM · Code scanner
douardda committed rDSNIP78408668a12f: Add the weekly-planning.sh script (authored by douardda).
Add the weekly-planning.sh script
Apr 6 2021, 10:19 AM

Apr 2 2021

douardda requested review of D5414: Make the replayer drop the Revision.metadata.
Apr 2 2021, 4:26 PM
douardda requested review of D5413: Make pg Storage.extid_add() write extid objects to the journal.
Apr 2 2021, 4:20 PM
douardda added a comment to T3197: Mirror: fix common issues of a replayer session.

Currently, the mirror test session is running with:

Apr 2 2021, 10:15 AM · Mirror
douardda added a comment to T3201: Mirror: unsupported Unicode escape sequence.

easy fix: modify the replayer to ignore this 'metadata' column while inserting revisions

Apr 2 2021, 10:05 AM · Mirror
douardda added a comment to T3201: Mirror: unsupported Unicode escape sequence.
09:45 <+vlorentz> douardda: yes and the only way around it (short of dropping data) is T3089
09:46 -swhbot:#swh-devel- T3089 (submitter: vlorentz, owner: vlorentz, status: Open): Remove the 'metadata' column of the 'revision' table <https://forge.softwareheritage.org/T3089>
09:46 <+vlorentz> or switching to cassandra
09:46 <+vlorentz> the good news is, they couldn't be inserted in the storage either, so you can safely drop them for now
Apr 2 2021, 9:59 AM · Mirror
douardda triaged T3201: Mirror: unsupported Unicode escape sequence as High priority.
Apr 2 2021, 9:54 AM · Mirror
douardda triaged T3200: Mirror: year is out of range as High priority.
Apr 2 2021, 9:51 AM · Mirror
douardda triaged T3199: Mirror: key value violates unique constraint "person_fullname_idx" as High priority.
Apr 2 2021, 9:48 AM · Mirror
douardda triaged T3198: Mirror: unexpected closed connection to the pg server as High priority.
Apr 2 2021, 9:47 AM · Mirror
douardda triaged T3197: Mirror: fix common issues of a replayer session as High priority.
Apr 2 2021, 9:41 AM · Mirror
douardda created P998 (An Untitled Masterwork).
Apr 2 2021, 9:34 AM

Apr 1 2021

douardda created P996 (An Untitled Masterwork).
Apr 1 2021, 12:48 PM
douardda created P995 (An Untitled Masterwork).
Apr 1 2021, 11:11 AM

Mar 31 2021

douardda added inline comments to D5387: Refactor the model and simplify a bit origin.py.
Mar 31 2021, 3:24 PM
douardda added a comment to D5387: Refactor the model and simplify a bit origin.py.

test coverage of the code touched by this diff isn't great

Mar 31 2021, 3:22 PM
douardda added inline comments to D5388: Also test the provenance db with ArchiveStorage.
Mar 31 2021, 3:20 PM

Mar 30 2021

douardda added a comment to D5389: Improve tests.

Why .hex() everywhere? Does swh-provenance use hex strings internally?

Mar 30 2021, 6:51 PM
douardda added reviewers for D5389: Improve tests: zack, grouss.
Mar 30 2021, 5:36 PM
douardda requested review of D5389: Improve tests.
Mar 30 2021, 5:34 PM
douardda requested review of D5388: Also test the provenance db with ArchiveStorage.
Mar 30 2021, 5:32 PM
douardda requested review of D5387: Refactor the model and simplify a bit origin.py.
Mar 30 2021, 5:31 PM
douardda added inline comments to D5337: Add a test to compare the result of revision_add() with known results.
Mar 30 2021, 11:02 AM

Mar 29 2021

douardda added reviewers for D5337: Add a test to compare the result of revision_add() with known results: zack, grouss.
Mar 29 2021, 12:20 PM
douardda accepted D5363: extid: remove unicity on (extid_type, extid) and (target_type, target).

looks indeed reasonable (both the 1. point and the code) thanks

Mar 29 2021, 11:33 AM

Mar 26 2021

douardda updated the diff for D5337: Add a test to compare the result of revision_add() with known results.

rebase

Mar 26 2021, 4:21 PM
douardda committed rDPROV4a5a99ea7d20: Add missing mypy.ini entry for iso8601 (authored by douardda).
Add missing mypy.ini entry for iso8601
Mar 26 2021, 4:20 PM
douardda updated the diff for D5337: Add a test to compare the result of revision_add() with known results.

rebase

Mar 26 2021, 2:58 PM
douardda committed rDPROV877a8a02b5ed: Add missing dependency on iso8601 (authored by douardda).
Add missing dependency on iso8601
Mar 26 2021, 2:57 PM
douardda updated the diff for D5337: Add a test to compare the result of revision_add() with known results.

rebased

Mar 26 2021, 2:49 PM
douardda committed rDPROV41bc4cef338c: Fix invalid extra dependency on swh-core (authored by douardda).
Fix invalid extra dependency on swh-core
Mar 26 2021, 2:48 PM
douardda updated the diff for D5337: Add a test to compare the result of revision_add() with known results.

apply vlorentz comments

Mar 26 2021, 12:09 PM
douardda added inline comments to D5337: Add a test to compare the result of revision_add() with known results.
Mar 26 2021, 11:03 AM
douardda created P991 (An Untitled Masterwork).
Mar 26 2021, 9:52 AM

Mar 25 2021

douardda updated the diff for D5337: Add a test to compare the result of revision_add() with known results.

refactor a bit the test

Mar 25 2021, 3:11 PM
douardda requested review of D5337: Add a test to compare the result of revision_add() with known results.
Mar 25 2021, 3:04 PM
douardda committed rDPROVeb524713c3d6: Refactor ProvenanceWithPathDB.insert_location() (authored by douardda).
Refactor ProvenanceWithPathDB.insert_location()
Mar 25 2021, 10:16 AM
douardda committed rDPROV15e390fb66c9: Add tests for revision_add() and content_find_first() (authored by douardda).
Add tests for revision_add() and content_find_first()
Mar 25 2021, 10:16 AM
douardda committed rDPROV2ec4a0ab9da6: Make ArchivePostgreSQL.directory_ls_internal close the db cursor (authored by douardda).
Make ArchivePostgreSQL.directory_ls_internal close the db cursor
Mar 25 2021, 10:16 AM
douardda committed rDPROVe66d94925459: Fix the example config in the README file (authored by douardda).
Fix the example config in the README file
Mar 25 2021, 10:16 AM
douardda closed D5234: Refactor ProvenanceWithPathDB.insert_location() and add a test for revision_add().
Mar 25 2021, 10:16 AM
douardda committed rDPROVc5985c3085c0: Enforce tz-aware datetime value for RevisionEntry.date (authored by douardda).
Enforce tz-aware datetime value for RevisionEntry.date
Mar 25 2021, 10:16 AM

Mar 24 2021

douardda updated the diff for D5234: Refactor ProvenanceWithPathDB.insert_location() and add a test for revision_add().

Add forgotten test data file CMDBTS.msgpack

Mar 24 2021, 3:38 PM
douardda created P986 (An Untitled Masterwork).
Mar 24 2021, 2:46 PM
douardda updated the diff for D5234: Refactor ProvenanceWithPathDB.insert_location() and add a test for revision_add().

apply aeviso comments and reorder (and fix) revisions

Mar 24 2021, 11:24 AM

Mar 23 2021

douardda added inline comments to D5234: Refactor ProvenanceWithPathDB.insert_location() and add a test for revision_add().
Mar 23 2021, 5:41 PM
douardda updated the diff for D5234: Refactor ProvenanceWithPathDB.insert_location() and add a test for revision_add().

Rebase and use test dataset from the CMDBTS git repo

Mar 23 2021, 2:44 PM

Mar 18 2021

douardda created P978 (An Untitled Masterwork).
Mar 18 2021, 6:43 PM
douardda updated the diff for D5234: Refactor ProvenanceWithPathDB.insert_location() and add a test for revision_add().

rebase and remove the dependency on pytz

Mar 18 2021, 6:40 PM
douardda added inline comments to D5234: Refactor ProvenanceWithPathDB.insert_location() and add a test for revision_add().
Mar 18 2021, 6:35 PM
douardda added inline comments to D5234: Refactor ProvenanceWithPathDB.insert_location() and add a test for revision_add().
Mar 18 2021, 6:31 PM
douardda accepted D5259: deposit:config: Update deposit server config with swh_authority_url.
Mar 18 2021, 3:54 PM
douardda accepted D4616: common/archive: Add branch names filtering support in lookup_snapshot.

LGTM, but I would have loved to see a test dedicated to branches (and filters) with non-ascii chars (ach time I see a <str>.encode() I expect the worst... )

Mar 18 2021, 12:14 PM

Mar 17 2021

douardda requested changes to D5259: deposit:config: Update deposit server config with swh_authority_url.

Can you add a line in the commit message explaining what this swh_authority_url config entry is for? Because il looks weird to add use a real URL as value in a docker test environment...

Mar 17 2021, 11:37 AM

Mar 16 2021

douardda closed D5244: Update exporters.edged to swh.model 1.0.
Mar 16 2021, 4:18 PM
douardda committed rDDATASET8a164beb6a84: Update exporters.edged to swh.model 1.0 (authored by douardda).
Update exporters.edged to swh.model 1.0
Mar 16 2021, 4:18 PM

Mar 15 2021

douardda accepted D5239: Add deposit info to objects added to swh-storage from metadata-only deposits.
Mar 15 2021, 3:13 PM
douardda requested changes to D5239: Add deposit info to objects added to swh-storage from metadata-only deposits.

Otherwise LGTM. I'd really like a better commit message, and probably some documentation somewhere (in docs/ maybe?) explaining these 2 levels of metadata, especially documenting the second layer, since it's crafted by the deposit.

Mar 15 2021, 1:50 PM
douardda added a comment to D5239: Add deposit info to objects added to swh-storage from metadata-only deposits.

I'm not very fond of the commit message, especially the fact it describes what is not done, but not really what is done, and I find Add deposit info to objects added to swh-storage from metadata-only deposits unclear. What (type of) objects are we talking of? How is the deposit info it "added" to them?

Mar 15 2021, 1:45 PM
douardda requested review of D5234: Refactor ProvenanceWithPathDB.insert_location() and add a test for revision_add().
Mar 15 2021, 12:24 PM
douardda added a reviewer for D5244: Update exporters.edged to swh.model 1.0: Reviewers.
Mar 15 2021, 10:42 AM
douardda requested review of D5244: Update exporters.edged to swh.model 1.0.
Mar 15 2021, 9:43 AM

Mar 12 2021

douardda created P973 (An Untitled Masterwork).
Mar 12 2021, 2:54 PM
douardda committed rDPROVf653eb8609d5: Fix ProvenanceWithPathDB.directory_add_to_revision() (authored by douardda).
Fix ProvenanceWithPathDB.directory_add_to_revision()
Mar 12 2021, 12:21 PM
douardda committed rDPROV856f5f5f5261: Make ArchivePostgreSQL not inherit from ArchiveInterface (authored by douardda).
Make ArchivePostgreSQL not inherit from ArchiveInterface
Mar 12 2021, 12:21 PM

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
douardda closed T2849: Design and implement a mapping from "original VCS ids" to SWHIDs to help incremental loaders as Resolved.
Mar 11 2021, 2:55 PM · Storage manager
douardda committed rDSTOb8e10f00cfbc: Add ExtID query support to the Storage (authored by douardda).
Add ExtID query support to the Storage
Mar 11 2021, 2:54 PM
douardda committed rDSTOe83452b3577a: Import TEST_OBJECTS from swh.model instead of swh.journal (authored by douardda).
Import TEST_OBJECTS from swh.model instead of swh.journal
Mar 11 2021, 2:54 PM
douardda committed rDSTO6a7773225d41: Add hg revisions to the test data set (authored by douardda).
Add hg revisions to the test data set
Mar 11 2021, 2:54 PM
douardda closed D4698: Add support for ExtID in the storage.
Mar 11 2021, 2:54 PM
douardda committed rDSTO82ce7bf07ce2: Make sure test_backfill does not depend on 2 dict keys (authored by douardda).
Make sure test_backfill does not depend on 2 dict keys
Mar 11 2021, 2:54 PM
douardda updated the diff for D4698: Add support for ExtID in the storage.

bump dep on swh.model + add a comment (as requested)

Mar 11 2021, 2:21 PM
douardda closed D4807: Add an ExtID object.
Mar 11 2021, 2:17 PM
douardda committed rDMOD71be46174b87: Add an ExtID object (authored by douardda).
Add an ExtID object
Mar 11 2021, 2:17 PM
douardda updated the diff for D4698: Add support for ExtID in the storage.

Make sure extid_get_from_target() is immune to murmur3 collisions

Mar 11 2021, 12:10 PM

Mar 10 2021

douardda updated the diff for D4698: Add support for ExtID in the storage.

get rid of the OBJECT_TYPE_MAP_SHORT map, as requested

Mar 10 2021, 5:21 PM
douardda updated the diff for D4698: Add support for ExtID in the storage.

Add missing support for extid in the replayer

Mar 10 2021, 4:26 PM
douardda added a comment to D4807: Add an ExtID object.
In D4807#132570, @olasd wrote:

I wonder if the TEST_OBJECTS addition will break the tests of swh.storage until D4698 lands.

Mar 10 2021, 3:55 PM
douardda updated the summary of D4698: Add support for ExtID in the storage.
Mar 10 2021, 3:54 PM
douardda updated the diff for D4698: Add support for ExtID in the storage.

Remove extid_by_extid in cassandre

Mar 10 2021, 3:52 PM
douardda added inline comments to D4698: Add support for ExtID in the storage.
Mar 10 2021, 2:21 PM
douardda updated the diff for D4807: Add an ExtID object.

Apply vlorentz and olasd's suggestions

Mar 10 2021, 10:41 AM
douardda added inline comments to D4807: Add an ExtID object.
Mar 10 2021, 10:29 AM
douardda updated the diff for D4698: Add support for ExtID in the storage.

forgot sql migration script

Mar 10 2021, 10:08 AM
douardda updated the diff for D4698: Add support for ExtID in the storage.

ExtID.target is now a CoreSWHID

Mar 10 2021, 9:56 AM

Mar 9 2021

douardda updated the diff for D4807: Add an ExtID object.

Use CoreSWHID as target

Mar 9 2021, 3:03 PM
douardda added a watcher for Documentation: douardda.
Mar 9 2021, 2:41 PM
douardda moved T2894: Restructure deposit documentation with a clearer strategy from Backlog to sponsors/clients on the Documentation board.
Mar 9 2021, 2:10 PM · SWORD deposit, Documentation
douardda updated the summary of D4698: Add support for ExtID in the storage.
Mar 9 2021, 10:22 AM
douardda retitled D4698: Add support for ExtID in the storage from [WIP][RFC] Add support for ExtID in the storage to Add support for ExtID in the storage.
Mar 9 2021, 10:22 AM
douardda updated the diff for D4698: Add support for ExtID in the storage.

All tests should now pass (with D4807)

Mar 9 2021, 10:21 AM

Mar 8 2021

douardda updated the diff for D4807: Add an ExtID object.

Rebase, make ExtID a HashableObject, and remove hypothesis strategies for ExtID

Mar 8 2021, 4:24 PM
douardda closed D5215: Fix MetadataAuthority.from_dict().
Mar 8 2021, 4:22 PM