Page MenuHomeSoftware Heritage
Feed Advanced Search

Apr 22 2020

douardda closed D3043: Extract kafka-related pytest fixtures in a pytest plugin module.
Apr 22 2020, 4:48 PM
douardda updated the diff for D3043: Extract kafka-related pytest fixtures in a pytest plugin module.

improve commit message

Apr 22 2020, 4:45 PM
douardda updated the diff for D3043: Extract kafka-related pytest fixtures in a pytest plugin module.

attempt to fix the mess

Apr 22 2020, 4:17 PM
douardda added a comment to D3043: Extract kafka-related pytest fixtures in a pytest plugin module.

Also, @ardumont I agree with your other comments, but these will come later, if you may :-)

Apr 22 2020, 4:13 PM
douardda added a comment to D3043: Extract kafka-related pytest fixtures in a pytest plugin module.

It seems we duplicate the objects data (CONTENT, etc...) both in the pytest_plugin and in the journal_data module.
is that expected?

Apr 22 2020, 4:12 PM
douardda renamed T2355: Make swh-journal independent from swh-storage or swh-objstorage from Merge parts of swh-journal in swh-storage to Make swh-journal independant from swh-storage or swh-objstorage.
Apr 22 2020, 3:41 PM · Object storage, Storage manager, Journal
douardda created D3043: Extract kafka-related pytest fixtures in a pytest plugin module.
Apr 22 2020, 3:38 PM
douardda added a revision to T2355: Make swh-journal independent from swh-storage or swh-objstorage: D3043: Extract kafka-related pytest fixtures in a pytest plugin module.
Apr 22 2020, 3:38 PM · Object storage, Storage manager, Journal
douardda accepted D3030: Remove the use of pytest-kafka.

Thanks a lot

Apr 22 2020, 1:44 PM

Apr 21 2020

douardda committed rDMOD1037e88d9738: Add a split_content argument to object_dicts() and objects() strategies (authored by douardda).
Add a split_content argument to object_dicts() and objects() strategies
Apr 21 2020, 4:18 PM
douardda closed D3040: Add a split_content argument to object_dicts() and objects() strategies.
Apr 21 2020, 4:18 PM
douardda committed rDMODebd380779626: Add a blacklist_types argument to object_dicts() and objects() hypothesis… (authored by douardda).
Add a blacklist_types argument to object_dicts() and objects() hypothesis…
Apr 21 2020, 4:18 PM
douardda closed D3037: Add a blacklist_types argument to object_dicsts() and objects() hypothesis generators.
Apr 21 2020, 4:18 PM
douardda accepted D3039: deposit.loader: Fix committer date appropriately.

Fine for me. I agree the semantic of this date in the context of a deposit could be documented somehow (a simple comment may be enough).

Apr 21 2020, 3:35 PM
douardda created D3040: Add a split_content argument to object_dicts() and objects() strategies.
Apr 21 2020, 2:54 PM
douardda updated the diff for D3037: Add a blacklist_types argument to object_dicsts() and objects() hypothesis generators.

fix the test test_generation_blacklist

Apr 21 2020, 2:53 PM
douardda updated the diff for D3037: Add a blacklist_types argument to object_dicsts() and objects() hypothesis generators.

typo in the commit message

Apr 21 2020, 2:26 PM
douardda added inline comments to D3037: Add a blacklist_types argument to object_dicsts() and objects() hypothesis generators.
Apr 21 2020, 2:12 PM
douardda updated the diff for D3037: Add a blacklist_types argument to object_dicsts() and objects() hypothesis generators.

Set the default value for blacklist_types to ("origin_visit_status",)

Apr 21 2020, 12:13 PM
douardda updated the diff for D3008: Copy the backfiller component from swh-journal.

rebase *and* pick all the revisions involved

Apr 21 2020, 11:48 AM
douardda updated the diff for D3008: Copy the backfiller component from swh-journal.

rebase

Apr 21 2020, 11:48 AM
douardda created D3037: Add a blacklist_types argument to object_dicsts() and objects() hypothesis generators.
Apr 21 2020, 11:37 AM
douardda accepted D3036: Fix hypothesis strategies alias for origin visit update objects.
Apr 21 2020, 10:51 AM
douardda accepted D3032: developer-setup: Add minimal runtime python3 version requirements.
Apr 21 2020, 10:50 AM

Apr 14 2020

douardda updated subscribers of D3010: Copy the graph replayer component from swh-journal.

In test_replay, get rid of test_storage_play and
test_storage_play_with_collision because these tests do require a proper
kafka setup to run, which we do not want to require kafka in the
swh.storage package.

hu ho...
i'm not fine with getting rid of test_storage_play*.

See for example D3015 which moves the hash collision policy within the retry proxy.
To ensure this continued to be ok, i've kept the test_storage_play_with_collision as is, only changed the test config with retry proxy and the test is green... (and it is, well locally because right now it's in diff).
My point is those are important tests.

I understand, however, these 2 tests, as currently written, are too far "integration tests" rather than "unit tests". And it makes the testing stack too complex.

So IMHO we want "unit" tests dedicated to parts of this stack that handle collisions 9typically without kafka being involved, swh-storage side) where there are useful, and integration tests (in the docker-dev project typically) to check the whole stack behaves properly.

Apr 14 2020, 11:47 AM
douardda committed rDSTO2cc263da971e: test: update storage tests to (future) swh.journal 0.0.30 (authored by douardda).
test: update storage tests to (future) swh.journal 0.0.30
Apr 14 2020, 11:39 AM
douardda closed D2972: test: update storage tests to (future) swh.journal 0.0.30.
Apr 14 2020, 11:39 AM
douardda updated the diff for D2972: test: update storage tests to (future) swh.journal 0.0.30.

rebase

Apr 14 2020, 11:38 AM
douardda added a comment to D3010: Copy the graph replayer component from swh-journal.

In test_replay, get rid of test_storage_play and
test_storage_play_with_collision because these tests do require a proper
kafka setup to run, which we do not want to require kafka in the
swh.storage package.

hu ho...
i'm not fine with getting rid of test_storage_play*.

See for example D3015 which moves the hash collision policy within the retry proxy.
To ensure this continued to be ok, i've kept the test_storage_play_with_collision as is, only changed the test config with retry proxy and the test is green... (and it is, well locally because right now it's in diff).
My point is those are important tests.

Apr 14 2020, 11:26 AM
douardda added a revision to T2355: Make swh-journal independent from swh-storage or swh-objstorage: D3010: Copy the graph replayer component from swh-journal.
Apr 14 2020, 11:14 AM · Object storage, Storage manager, Journal
douardda added a task to D3010: Copy the graph replayer component from swh-journal: T2355: Make swh-journal independent from swh-storage or swh-objstorage.
Apr 14 2020, 11:14 AM
douardda added a revision to T2355: Make swh-journal independent from swh-storage or swh-objstorage: D3008: Copy the backfiller component from swh-journal.
Apr 14 2020, 11:14 AM · Object storage, Storage manager, Journal
douardda added a task to D3008: Copy the backfiller component from swh-journal: T2355: Make swh-journal independent from swh-storage or swh-objstorage.
Apr 14 2020, 11:14 AM

Apr 10 2020

douardda created D3010: Copy the graph replayer component from swh-journal.
Apr 10 2020, 3:37 PM
douardda updated the diff for D3008: Copy the backfiller component from swh-journal.

add the commit "cli: rename the command 'backfiller' as 'backfill'" in the diff

Apr 10 2020, 3:35 PM
douardda created D3008: Copy the backfiller component from swh-journal.
Apr 10 2020, 3:33 PM
douardda updated the diff for D2972: test: update storage tests to (future) swh.journal 0.0.30.

rebase and improved to make it also compatible with swj.journal 0.0.29

Apr 10 2020, 3:32 PM

Apr 9 2020

douardda updated the task description for T2355: Make swh-journal independent from swh-storage or swh-objstorage.
Apr 9 2020, 4:11 PM · Object storage, Storage manager, Journal
douardda updated the task description for T2355: Make swh-journal independent from swh-storage or swh-objstorage.
Apr 9 2020, 4:10 PM · Object storage, Storage manager, Journal
douardda triaged T2355: Make swh-journal independent from swh-storage or swh-objstorage as High priority.
Apr 9 2020, 4:04 PM · Object storage, Storage manager, Journal

Apr 8 2020

douardda committed rDWCLIe5ef2a0dc305: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDVAU915655a954cb: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDSCH551ceac609a2: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDSEAfc2c610b91da: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDTSCN62be9f10d419: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDTPL41d64147ee32: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDOBJSed154b3dbcb3: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDMOD94da0100a6d3: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDLDSVN2ca3c6378519: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDLDHGf287a46488ea: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDLDBASE89828fa6c329: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDLDGf4fcae5401c4: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDLS29325c1d94bd: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDJNL600f761d7892: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDCIDX9081dd8d326d: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDGRPH6a624018c10c: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDDOCc1608e9fc2c2: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDDEP1bc1732fded7: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:17 PM
douardda committed rDSTOed4097c761bb: Add a pyproject.toml file to target py37 for black (authored by douardda).
Add a pyproject.toml file to target py37 for black
Apr 8 2020, 10:12 PM
douardda committed rDWCLI637d22ac8176: Enable black (authored by douardda).
Enable black
Apr 8 2020, 5:18 PM
douardda committed rDTSCN1cda2c94085b: Enable black (authored by douardda).
Enable black
Apr 8 2020, 5:17 PM
douardda committed rDJNLc48ca0dc9732: Enable black (authored by douardda).
Enable black
Apr 8 2020, 5:13 PM
douardda committed rDGRPH4c3c6d839b64: Enable black (authored by douardda).
Enable black
Apr 8 2020, 5:10 PM
douardda committed rDVAUbe318c7fc864: Enable black (authored by douardda).
Enable black
Apr 8 2020, 5:01 PM
douardda committed rDSEA8a40c8f19840: Enable black (authored by douardda).
Enable black
Apr 8 2020, 4:59 PM
douardda committed rDSCHcc0ef044683e: Enable black (authored by douardda).
Enable black
Apr 8 2020, 4:58 PM
douardda committed rDOBJS2363b1c5b732: Enable black (authored by douardda).
Enable black
Apr 8 2020, 4:55 PM
douardda committed rDMODbf3f1cec8685: Enable black (authored by douardda).
Enable black
Apr 8 2020, 4:53 PM
douardda committed rDLDSVN47cc72bc83e1: Enable black (authored by douardda).
Enable black
Apr 8 2020, 4:47 PM
douardda committed rDLDHG4c5f78830dda: Enable black (authored by douardda).
Enable black
Apr 8 2020, 4:46 PM
douardda committed rDLDG1378de32454f: Enable black (authored by douardda).
Enable black
Apr 8 2020, 4:43 PM
douardda committed rDLDBASEcf496e18440a: Enable black (authored by douardda).
Enable black
Apr 8 2020, 4:40 PM
douardda committed rDLS93a4d8b784da: Enable black (authored by douardda).
Enable black
Apr 8 2020, 4:33 PM
douardda committed rDCIDX5aa97ccd6ce2: Enable black (authored by douardda).
Enable black
Apr 8 2020, 4:09 PM
douardda committed rDDEPf5426d672282: Enable black (authored by douardda).
Enable black
Apr 8 2020, 3:48 PM
douardda committed rDDOCd71d13ea7243: Enable black and pre-commit (authored by douardda).
Enable black and pre-commit
Apr 8 2020, 3:46 PM
douardda committed rDDOC92c4e6ba5b1d: Fix typos (authored by douardda).
Fix typos
Apr 8 2020, 3:46 PM
douardda committed rDSTOcd52a03beeb1: Enable black (authored by douardda).
Enable black
Apr 8 2020, 3:17 PM
douardda committed rDSTO0fe46658cf7c: Fix Storage.origin_visit_update(); ensure it raises a StorageArgumentException (authored by douardda).
Fix Storage.origin_visit_update(); ensure it raises a StorageArgumentException
Apr 8 2020, 3:17 PM
douardda created P642 (An Untitled Masterwork).
Apr 8 2020, 3:11 PM
douardda committed rDJNLa68e800622b2: Remove useless deepcopy in the inmemory journal writer (authored by douardda).
Remove useless deepcopy in the inmemory journal writer
Apr 8 2020, 2:00 PM
douardda closed D2968: Fix the inmemory journal writer.
Apr 8 2020, 2:00 PM
douardda updated the diff for D2968: Fix the inmemory journal writer.

rephrase the commit msg

Apr 8 2020, 2:00 PM
douardda committed rDSTOc51139ef9622: Make Storage.origin_visit_update() add an OriginVisit model entity in the… (authored by douardda).
Make Storage.origin_visit_update() add an OriginVisit model entity in the…
Apr 8 2020, 12:08 PM
douardda closed D2971: Make Storage.origin_visit_update() add an OriginVisit model entity in the journal.
Apr 8 2020, 12:08 PM
douardda committed rDSTObf48cfe98b33: Make swh/storage/storage.py flake8 compliant (authored by douardda).
Make swh/storage/storage.py flake8 compliant
Apr 8 2020, 12:06 PM
douardda committed rDSTOfbb51aa0cfdd: Add a setup.cfg file to configure flake8 for black compatibility (authored by douardda).
Add a setup.cfg file to configure flake8 for black compatibility
Apr 8 2020, 12:06 PM
douardda closed D2970: Make swh/storage/storage.py flake8 compliant.
Apr 8 2020, 12:06 PM
douardda closed D2969: Add a setup.cfg file to configure flake8 for black compatibility.
Apr 8 2020, 12:06 PM
douardda updated the diff for D2972: test: update storage tests to (future) swh.journal 0.0.30.

rebase

Apr 8 2020, 12:06 PM
douardda updated the diff for D2971: Make Storage.origin_visit_update() add an OriginVisit model entity in the journal.

rebase

Apr 8 2020, 12:05 PM
douardda updated the diff for D2970: Make swh/storage/storage.py flake8 compliant.

rebase

Apr 8 2020, 12:04 PM
douardda updated the diff for D2969: Add a setup.cfg file to configure flake8 for black compatibility.

rebase

Apr 8 2020, 12:04 PM

Apr 7 2020

douardda accepted D2967: docker/conftest: Increase wait-for-it timeouts.

why calling it _wfi_timeout (with the leading _)?

Apr 7 2020, 4:51 PM
douardda created D2972: test: update storage tests to (future) swh.journal 0.0.30.
Apr 7 2020, 4:46 PM
douardda created D2971: Make Storage.origin_visit_update() add an OriginVisit model entity in the journal.
Apr 7 2020, 4:45 PM
douardda created D2970: Make swh/storage/storage.py flake8 compliant.
Apr 7 2020, 4:44 PM
douardda created D2969: Add a setup.cfg file to configure flake8 for black compatibility.
Apr 7 2020, 4:44 PM
douardda created D2968: Fix the inmemory journal writer.
Apr 7 2020, 4:38 PM
douardda abandoned D2963: test: fix test_content_add_validation() for swh.model 0.0.64.

It seems not to be necessary (besides not being the proper fix, if any)

Apr 7 2020, 4:30 PM