Page MenuHomeSoftware Heritage
Feed Advanced Search

Jul 16 2020

ardumont committed rDSTO14b164888928: test_retry: Use sample_data_model fixture to manipulate model objects (authored by ardumont).
test_retry: Use sample_data_model fixture to manipulate model objects
Jul 16 2020, 12:02 PM
ardumont closed D3510: test_retry: Use sample_data_model fixture to manipulate model objects.
Jul 16 2020, 12:02 PM
ardumont updated the diff for D3510: test_retry: Use sample_data_model fixture to manipulate model objects.

Rebase on latest master

Jul 16 2020, 11:54 AM
ardumont committed rDSTOdf3f46decce3: pytest-plugin: Expose a sample_data_model fixture (authored by ardumont).
pytest-plugin: Expose a sample_data_model fixture
Jul 16 2020, 11:53 AM
ardumont closed D3509: pytest-plugin: Expose a sample_data_model fixture.
Jul 16 2020, 11:53 AM
ardumont retitled D3522: tests: Drop no longer used loader base tests code from tests: Drop no longer used base tests code to tests: Drop no longer used loader base tests code.
Jul 16 2020, 11:51 AM
ardumont updated the summary of D3522: tests: Drop no longer used loader base tests code.
Jul 16 2020, 11:49 AM
ardumont updated the test plan for D3522: tests: Drop no longer used loader base tests code.
Jul 16 2020, 11:47 AM
ardumont updated the test plan for D3522: tests: Drop no longer used loader base tests code.
Jul 16 2020, 11:47 AM
ardumont updated the test plan for D3522: tests: Drop no longer used loader base tests code.
Jul 16 2020, 11:46 AM
ardumont created D3522: tests: Drop no longer used loader base tests code.
Jul 16 2020, 11:45 AM
ardumont added a revision to T2488: Drop loader.core BaseLoaderTest and BaseLoaderStorageTest: D3522: tests: Drop no longer used loader base tests code.
Jul 16 2020, 11:45 AM · SVN Loader, Mercurial loader, Git loader, Core Loader
ardumont updated the diff for D3509: pytest-plugin: Expose a sample_data_model fixture.

Rebase on latest master

Jul 16 2020, 11:31 AM
ardumont updated the diff for D3466: Migrate from vcversioner to setuptools-scm.

Rebase on latest master

Jul 16 2020, 11:26 AM
ardumont committed rDSTO8bc79443eda7: pytest_plugin: Avoid fixture client to declare optional dependency (authored by ardumont).
pytest_plugin: Avoid fixture client to declare optional dependency
Jul 16 2020, 11:24 AM
ardumont closed D3515: pytest_plugin: Avoid fixture client to declare optional dependency.
Jul 16 2020, 11:24 AM
ardumont added a comment to D3435: Add mercurial.from_disk.HgLoaderFromDisk.

I did not read the diff. But, first thanks for reworking the tests (i'll be
able to drop old code now ;).

Jul 16 2020, 11:21 AM
ardumont accepted D3521: setup.py: Migrate from vcversioner to setuptools-scm.

cool ;)

Jul 16 2020, 11:21 AM
ardumont added a comment to D3520: Add requirements-dev.txt.

Thanks. Yes, we don't have that because we have many repositories (and quite a lot of setup-ish files: mypy.ini, pytest.ini, tox.ini, requirements*...) already.

Jul 16 2020, 10:57 AM
ardumont added a comment to D3518: Add isort configuration.

I messed with arc

Jul 16 2020, 10:52 AM
ardumont added a comment to D3515: pytest_plugin: Avoid fixture client to declare optional dependency.

ok, but should check whether some other packages that uses this pytest plugin can be impacted.

Jul 16 2020, 10:51 AM
ardumont updated the summary of D3515: pytest_plugin: Avoid fixture client to declare optional dependency.
Jul 16 2020, 10:45 AM
ardumont added a comment to D3519: Add isort configuration.

Duplicate of D3518

Jul 16 2020, 10:43 AM
ardumont removed a task from D3515: pytest_plugin: Avoid fixture client to declare optional dependency: T2494: tests: Use data model objects within tests (drop dicts).
Jul 16 2020, 10:42 AM
ardumont removed a revision from T2494: tests: Use data model objects within tests (drop dicts): D3515: pytest_plugin: Avoid fixture client to declare optional dependency.
Jul 16 2020, 10:42 AM · Storage manager
ardumont accepted D3516: Fix test_loader's "id" types for proper bytes.

even better ;)

Jul 16 2020, 10:38 AM
ardumont accepted D3517: Fix test_from_disk's snapshot "id" type for bytes.
Jul 16 2020, 10:33 AM
ardumont added a task to D3515: pytest_plugin: Avoid fixture client to declare optional dependency: T2484: Move sharable fixtures out of conftest into a dedicated pytest plugin.
Jul 16 2020, 10:30 AM
ardumont added a revision to T2484: Move sharable fixtures out of conftest into a dedicated pytest plugin: D3515: pytest_plugin: Avoid fixture client to declare optional dependency.
Jul 16 2020, 10:30 AM · SVN Loader, Mercurial loader, Git loader, Core Loader
ardumont added a task to D3510: test_retry: Use sample_data_model fixture to manipulate model objects: T2494: tests: Use data model objects within tests (drop dicts).
Jul 16 2020, 10:30 AM
ardumont added a task to D3512: test_buffer: Use model objects in tests and drop validate proxy: T2494: tests: Use data model objects within tests (drop dicts).
Jul 16 2020, 10:30 AM
ardumont added a task to D3511: test_retry: Drop validate proxy when we can: T2494: tests: Use data model objects within tests (drop dicts).
Jul 16 2020, 10:30 AM
ardumont added a task to D3509: pytest-plugin: Expose a sample_data_model fixture: T2494: tests: Use data model objects within tests (drop dicts).
Jul 16 2020, 10:30 AM
ardumont added a task to D3513: test_filter: Use model objects in tests and drop validate proxy: T2494: tests: Use data model objects within tests (drop dicts).
Jul 16 2020, 10:30 AM
ardumont added revisions to T2494: tests: Use data model objects within tests (drop dicts): D3509: pytest-plugin: Expose a sample_data_model fixture, D3510: test_retry: Use sample_data_model fixture to manipulate model objects, D3511: test_retry: Drop validate proxy when we can, D3512: test_buffer: Use model objects in tests and drop validate proxy, D3513: test_filter: Use model objects in tests and drop validate proxy, D3515: pytest_plugin: Avoid fixture client to declare optional dependency.
Jul 16 2020, 10:30 AM · Storage manager
ardumont added a task to D3515: pytest_plugin: Avoid fixture client to declare optional dependency: T2494: tests: Use data model objects within tests (drop dicts).
Jul 16 2020, 10:30 AM
ardumont added a project to T2494: tests: Use data model objects within tests (drop dicts): Storage manager.
Jul 16 2020, 10:29 AM · Storage manager
ardumont triaged T2494: tests: Use data model objects within tests (drop dicts) as Normal priority.
Jul 16 2020, 10:29 AM · Storage manager
ardumont added inline comments to D3517: Fix test_from_disk's snapshot "id" type for bytes.
Jul 16 2020, 10:09 AM
ardumont added a comment to D3516: Fix test_loader's "id" types for proper bytes.

ohh... it's unreadable, i'll target the diff instead... (sorry)

Jul 16 2020, 10:07 AM
ardumont added inline comments to D3516: Fix test_loader's "id" types for proper bytes.
Jul 16 2020, 10:07 AM
ardumont added a comment to D3516: Fix test_loader's "id" types for proper bytes.

Yes sure, i meant it from:

"id": hash_to_bytes(expected_snapshot_id),

to:

"id: hash_to_bytes("d35668e02e2ba4321dc951cd308cf883786f918a"),

(and drop expected_snapshot_id if it's no longer used which i think it's the case now).

Jul 16 2020, 10:05 AM
ardumont added a comment to D3516: Fix test_loader's "id" types for proper bytes.

I'm not sure we still need the hex form now.

ok nonetheless ;)

It's easier to read :-)

Jul 16 2020, 10:02 AM
ardumont requested changes to D3517: Fix test_from_disk's snapshot "id" type for bytes.

For the sake of checking if my comment makes sense (i think it does heh).
(I did a similar remark in D3516, can you please have a look?)

Jul 16 2020, 10:00 AM
ardumont accepted D3516: Fix test_loader's "id" types for proper bytes.

I'm not sure we still need the hex form now.

Jul 16 2020, 9:57 AM
ardumont accepted D3501: Use bytes as snapshot id and get rid of dict manipulation in check_snapshot().

Otherwise, i think it's fine ;)
And according to the plan, the next step is to land it.

Jul 16 2020, 9:48 AM
ardumont added a comment to D3501: Use bytes as snapshot id and get rid of dict manipulation in check_snapshot().

That needs a rebase btw

Jul 16 2020, 9:47 AM
ardumont updated the summary of D3515: pytest_plugin: Avoid fixture client to declare optional dependency.
Jul 16 2020, 9:41 AM
ardumont added a comment to D3501: Use bytes as snapshot id and get rid of dict manipulation in check_snapshot().

It's because D3514 btw
(we are current implicitely pulling the optional swh.journal dependency in the loader-core tests only within the debian build somehow)

Jul 16 2020, 9:39 AM
ardumont abandoned D3514: tests: Override storage config fixture to not specify journal writer.

to the benefit of D3515

Jul 16 2020, 9:37 AM
ardumont updated the summary of D3515: pytest_plugin: Avoid fixture client to declare optional dependency.
Jul 16 2020, 9:36 AM
ardumont created D3515: pytest_plugin: Avoid fixture client to declare optional dependency.
Jul 16 2020, 9:36 AM
ardumont added a comment to D3514: tests: Override storage config fixture to not specify journal writer.

Now I realize the problem is more upstream than here though (otherwise, i would need to duplicate this on all clients).
The storage should only expose a fixture which should not pull optional dependencies.

Jul 16 2020, 9:27 AM
ardumont added a comment to D3501: Use bytes as snapshot id and get rid of dict manipulation in check_snapshot().

(I need to check why the debian package fails but from tox's point of view, everything is fine ;)

Jul 16 2020, 9:24 AM
ardumont created D3514: tests: Override storage config fixture to not specify journal writer.
Jul 16 2020, 9:23 AM

Jul 15 2020

ardumont updated the diff for D3513: test_filter: Use model objects in tests and drop validate proxy.

Make sure we limit the size of the list to 2 elements so unpacking always work
even if the sample data changes

Jul 15 2020, 8:08 PM
ardumont created D3513: test_filter: Use model objects in tests and drop validate proxy.
Jul 15 2020, 8:05 PM
ardumont created D3512: test_buffer: Use model objects in tests and drop validate proxy.
Jul 15 2020, 7:29 PM
ardumont updated the summary of D3510: test_retry: Use sample_data_model fixture to manipulate model objects.
Jul 15 2020, 7:10 PM
ardumont updated the summary of D3509: pytest-plugin: Expose a sample_data_model fixture.
Jul 15 2020, 7:10 PM
ardumont updated the summary of D3509: pytest-plugin: Expose a sample_data_model fixture.
Jul 15 2020, 7:08 PM
ardumont created D3511: test_retry: Drop validate proxy when we can.
Jul 15 2020, 7:08 PM
ardumont added inline comments to D3510: test_retry: Use sample_data_model fixture to manipulate model objects.
Jul 15 2020, 7:01 PM
ardumont added inline comments to D3510: test_retry: Use sample_data_model fixture to manipulate model objects.
Jul 15 2020, 7:00 PM
ardumont updated the diff for D3510: test_retry: Use sample_data_model fixture to manipulate model objects.

Fix passing along dict to skipped_content_add by mistake

Jul 15 2020, 6:59 PM
ardumont created D3510: test_retry: Use sample_data_model fixture to manipulate model objects.
Jul 15 2020, 5:44 PM
ardumont updated the diff for D3509: pytest-plugin: Expose a sample_data_model fixture.

correctness, then refactor please @ardu ;)

Jul 15 2020, 5:16 PM
ardumont added inline comments to D3509: pytest-plugin: Expose a sample_data_model fixture.
Jul 15 2020, 5:10 PM
ardumont created D3509: pytest-plugin: Expose a sample_data_model fixture.
Jul 15 2020, 5:10 PM
ardumont accepted D3508: Make sure LC_ALL is C.UTF-8 for pytest-postgresql to work.
Jul 15 2020, 4:29 PM
ardumont accepted D3507: tests: Fix flaky test.
Jul 15 2020, 4:02 PM
ardumont accepted D3499: Fix branches types in tests.
Jul 15 2020, 4:00 PM
ardumont accepted D3498: Fix branches types in tests.
Jul 15 2020, 3:59 PM
ardumont accepted D3496: Fix branches types in tests.
Jul 15 2020, 3:59 PM
ardumont added a comment to D3466: Migrate from vcversioner to setuptools-scm.

oh yeah, symlink you don't like setuptools-scm

Jul 15 2020, 2:14 PM
ardumont updated the diff for D3466: Migrate from vcversioner to setuptools-scm.

Rebase on latest master and make the build pass

Jul 15 2020, 2:12 PM
ardumont added a comment to D3501: Use bytes as snapshot id and get rid of dict manipulation in check_snapshot().

review/land first D3503 (so the check-snapshot implementation is complete, it checks up to the contents). It's not per say a blocker but that'd be more consistent.
Then release new loader-core.

Jul 15 2020, 1:58 PM
ardumont closed D3505: tests: Allow cassandra binary path to be configured through env variable.
Jul 15 2020, 1:19 PM
ardumont committed rDSTOf5811da18468: Allow cassandra binary path to be configured through env variable (authored by ardumont).
Allow cassandra binary path to be configured through env variable
Jul 15 2020, 1:19 PM
ardumont committed rDLDBASEe1034bfe2744: check_snapshot: Check existence down to contents (authored by ardumont).
check_snapshot: Check existence down to contents
Jul 15 2020, 12:31 PM
ardumont closed D3503: check_snapshot: Check existence down to contents.
Jul 15 2020, 12:31 PM
ardumont updated the diff for D3503: check_snapshot: Check existence down to contents.

Rework commit message

Jul 15 2020, 12:28 PM
ardumont retitled D3503: check_snapshot: Check existence down to contents from check_snapshot: Check existence down to the contents to check_snapshot: Check existence down to contents.
Jul 15 2020, 12:25 PM
ardumont added a comment to D3503: check_snapshot: Check existence down to contents.

looks ok, but I find it temptating to factorize(!) the missing objects looking pattern (not asked right now!).

Jul 15 2020, 12:23 PM
ardumont retitled D3505: tests: Allow cassandra binary path to be configured through env variable from tests: Allow cassandra full binary path to be configured through env variable to tests: Allow cassandra binary path to be configured through env variable.
Jul 15 2020, 12:09 PM
ardumont updated the diff for D3505: tests: Allow cassandra binary path to be configured through env variable.

Rework commit message and README sentence

Jul 15 2020, 12:09 PM
ardumont updated the summary of D3505: tests: Allow cassandra binary path to be configured through env variable.
Jul 15 2020, 11:54 AM
ardumont updated the diff for D3505: tests: Allow cassandra binary path to be configured through env variable.
  • Adapt according to review (rename env variables to SWH_CASSANDRA_* prefix)
  • Rework commit message to align with the better description message
Jul 15 2020, 11:53 AM
ardumont added a comment to D3505: tests: Allow cassandra binary path to be configured through env variable.

Thanks for this change!

Jul 15 2020, 11:26 AM
ardumont added a comment to D3501: Use bytes as snapshot id and get rid of dict manipulation in check_snapshot().

I'm very fine with landing a reasonably consistent and stable baseline any time you want.

Jul 15 2020, 11:25 AM
ardumont updated the summary of D3503: check_snapshot: Check existence down to contents.
Jul 15 2020, 11:14 AM
ardumont closed D3502: check_snapshot: Check existence down to the first level directories.
Jul 15 2020, 11:06 AM
ardumont committed rDLDBASE54cc0adc5b1e: check_snapshot: Check existence up to the first level directories (authored by ardumont).
check_snapshot: Check existence up to the first level directories
Jul 15 2020, 11:06 AM
ardumont committed rDSTO1a8924be8f7d: 158: Make schema and migration converge so the migration works (authored by ardumont).
158: Make schema and migration converge so the migration works
Jul 15 2020, 10:58 AM
ardumont closed D3504: 158: Make schema and migration converge so the migration works.
Jul 15 2020, 10:58 AM
ardumont updated the summary of D3505: tests: Allow cassandra binary path to be configured through env variable.
Jul 15 2020, 9:29 AM
ardumont updated the summary of D3503: check_snapshot: Check existence down to contents.
Jul 15 2020, 9:27 AM

Jul 12 2020

ardumont updated the diff for D3505: tests: Allow cassandra binary path to be configured through env variable.

Rework commit message and improve documentation sentence

Jul 12 2020, 4:17 PM
ardumont retitled D3505: tests: Allow cassandra binary path to be configured through env variable from tests: Allow full binary path to cassandra to be configured through env variables to tests: Allow cassandra full binary path to be configured through env variable.
Jul 12 2020, 4:10 PM
ardumont created D3505: tests: Allow cassandra binary path to be configured through env variable.
Jul 12 2020, 4:01 PM