Page MenuHomeSoftware Heritage
Feed Advanced Search

Mar 3 2020

vlorentz added a comment to D2760: swh.indexer.storage: Add metrics to add/del endpoints.

If each method needs to call statsd, what are the returns for?

Mar 3 2020, 4:29 PM
vlorentz requested changes to D2759: indexer.storage: Make add/del endpoints sum up added objects count.
Mar 3 2020, 4:28 PM
vlorentz accepted D2758: model: using f-strings in printNode function.
Mar 3 2020, 4:24 PM
vlorentz accepted D2757: Add a flag to copy objects only if they don't exist in the destination.
Mar 3 2020, 3:55 PM
vlorentz abandoned D2755: Run Cassandra with more RAM..

Doesn't solve the issue

Mar 3 2020, 3:45 PM
vlorentz updated subscribers of D2757: Add a flag to copy objects only if they don't exist in the destination.
In D2757#65748, @olasd wrote:

That's not an either/or affair IMO. By definition as long as the replayer is running, the exclusion file is always out of date (and updating it is quite costly).

Mar 3 2020, 2:51 PM
vlorentz committed rDSNIPacf8045b6d31: Add script and instructions to generate the objstorage replay exclusion file. (authored by vlorentz).
Add script and instructions to generate the objstorage replay exclusion file.
Mar 3 2020, 2:50 PM
vlorentz accepted D2753: indexer: Remove unused next_run pattern.
Mar 3 2020, 2:18 PM
vlorentz added a comment to D2757: Add a flag to copy objects only if they don't exist in the destination.

What about updating the exclusion file instead?

Mar 3 2020, 2:15 PM
vlorentz accepted D2756: Stop hardcoding the number of contents in the replay cli tests.
Mar 3 2020, 2:14 PM
vlorentz accepted D2748: model: output result to json file.
Mar 3 2020, 1:40 PM
vlorentz added inline comments to D2742: Add classmethod Person.from_address, to parse from 'name <email>' strings..
Mar 3 2020, 1:39 PM
vlorentz added a comment to D2745: Move Person parsing to swh-model..

We probably want to keep svn_author_to_swh_person, as it deals with the None case. As for convert_commit_author, I just kept it as is, but probably not.

Mar 3 2020, 1:37 PM
vlorentz added a comment to D2743: Move Person parsing to swh-model..
In D2743#65674, @olasd wrote:

I'm surprised that this change doesn't incur a change of the id some of the tested revisions (e.g. in the npm case).

This is something that we should probably cover better.

Mar 3 2020, 1:35 PM
vlorentz accepted D2751: Add support for the static consumer group feature to journal client.
Mar 3 2020, 1:20 PM
vlorentz accepted D2754: Upgrade kafka to 2.4.0.
Mar 3 2020, 11:36 AM
vlorentz created D2755: Run Cassandra with more RAM..
Mar 3 2020, 11:32 AM

Mar 2 2020

vlorentz requested changes to D2748: model: output result to json file.
Mar 2 2020, 7:37 PM
vlorentz accepted D2752: Give better granularity to the CONTENT_OPERATIONS_METRIC statsd probe.
Mar 2 2020, 7:27 PM
vlorentz accepted D2751: Add support for the static consumer group feature to journal client.

nice!

Mar 2 2020, 7:25 PM
vlorentz accepted D2750: replay: drop the hand-rolled retry contextmanager.

wait, so that contextmanager didn't work at all?

Mar 2 2020, 7:20 PM
vlorentz accepted D2749: Punch through the storage.objstorage "collaborator" to get to the actual objstorages.
Mar 2 2020, 7:18 PM
vlorentz accepted D2738: Add a method to generate a Content from binary data.
Mar 2 2020, 4:25 PM
vlorentz committed rDENVc22e4abac4ff: Remove validating proxy from the storage pipeline for loaders. (authored by vlorentz).
Remove validating proxy from the storage pipeline for loaders.
Mar 2 2020, 4:06 PM
vlorentz added inline comments to D2738: Add a method to generate a Content from binary data.
Mar 2 2020, 4:02 PM
vlorentz created D2745: Move Person parsing to swh-model..
Mar 2 2020, 4:00 PM
vlorentz created D2744: Move Person parsing to swh-model..
Mar 2 2020, 3:59 PM
vlorentz created D2743: Move Person parsing to swh-model..
Mar 2 2020, 3:58 PM
vlorentz created D2742: Add classmethod Person.from_address, to parse from 'name <email>' strings..
Mar 2 2020, 3:58 PM
vlorentz accepted D2739: Draw contents from a byte string instead of generating arbitrary hashes.

nice!

Mar 2 2020, 3:23 PM
vlorentz requested changes to D2738: Add a method to generate a Content from binary data.
Mar 2 2020, 3:23 PM
vlorentz accepted D2735: vault.tests: Use model objects to send to storage.
Mar 2 2020, 1:44 PM

Feb 28 2020

vlorentz closed D2731: Use swh-model objects instead of dicts..
Feb 28 2020, 5:30 PM
vlorentz committed rDLDGdf69b7e0f760: Use swh-model objects instead of dicts. (authored by vlorentz).
Use swh-model objects instead of dicts.
Feb 28 2020, 5:30 PM
vlorentz committed rDLDGf2a0736f42e9: Use origin_visit_get_latest instead of snapshot_get_latest. (authored by vlorentz).
Use origin_visit_get_latest instead of snapshot_get_latest.
Feb 28 2020, 5:30 PM
vlorentz closed D2729: Use origin_visit_get_latest instead of snapshot_get_latest..
Feb 28 2020, 5:30 PM
vlorentz committed rDLDBASE43728c596498: Use swh-model objects in base VCS loader. (authored by vlorentz).
Use swh-model objects in base VCS loader.
Feb 28 2020, 5:04 PM
vlorentz closed D2730: Use swh-model objects in base VCS loader..
Feb 28 2020, 5:04 PM
vlorentz accepted D2657: code scanner prototype.
Feb 28 2020, 3:01 PM
vlorentz added inline comments to D2730: Use swh-model objects in base VCS loader..
Feb 28 2020, 3:00 PM
vlorentz committed rDSTO522235252687: Use Content.hashes() instead of Content.to_dict() where it makes sense. (authored by vlorentz).
Use Content.hashes() instead of Content.to_dict() where it makes sense.
Feb 28 2020, 2:43 PM
vlorentz closed D2724: Use Content.hashes() instead of Content.to_dict() where it makes sense..
Feb 28 2020, 2:43 PM
vlorentz committed rDSTOd096542f8fae: Make the RPC client and objstorage helper fetch Content.data. (authored by vlorentz).
Make the RPC client and objstorage helper fetch Content.data.
Feb 28 2020, 2:43 PM
vlorentz closed D2723: Make the RPC client and objstorage helper fetch Content.data..
Feb 28 2020, 2:43 PM
vlorentz committed rDSTO3996e5df147c: Move ctime out of the validation proxy. (authored by vlorentz).
Move ctime out of the validation proxy.
Feb 28 2020, 2:43 PM
vlorentz closed D2722: Move ctime out of the validation proxy..
Feb 28 2020, 2:43 PM
vlorentz committed rDCORE041728f8e4c9: Allow subclasses of RPCClient to override methods. (authored by vlorentz).
Allow subclasses of RPCClient to override methods.
Feb 28 2020, 2:27 PM
vlorentz closed D2727: Allow subclasses of RPCClient to override methods..
Feb 28 2020, 2:27 PM
vlorentz updated the diff for D2727: Allow subclasses of RPCClient to override methods..

add test

Feb 28 2020, 2:21 PM
vlorentz added a comment to D2685: test_storage: Fix some RPC tests after recent changes in swh-core.

Replaced by D2690

Feb 28 2020, 2:18 PM
vlorentz created D2731: Use swh-model objects instead of dicts..
Feb 28 2020, 1:42 PM
vlorentz created D2730: Use swh-model objects in base VCS loader..
Feb 28 2020, 1:41 PM
vlorentz created D2729: Use origin_visit_get_latest instead of snapshot_get_latest..
Feb 28 2020, 1:34 PM
vlorentz closed T2266: Use python-cassandra 3.21 as Resolved.

caf51a044377cf62f73a02cd6c641d94b4e32c95

Feb 28 2020, 12:03 PM · Storage manager
vlorentz created D2727: Allow subclasses of RPCClient to override methods..
Feb 28 2020, 11:52 AM
vlorentz accepted D2726: svn.converters: Clean up dead code.
Feb 28 2020, 11:44 AM
vlorentz accepted D2725: svn.loader: Fix latest swh.model.from_disk api change in loader.
Feb 28 2020, 11:43 AM

Feb 27 2020

vlorentz created D2724: Use Content.hashes() instead of Content.to_dict() where it makes sense..
Feb 27 2020, 5:00 PM
vlorentz created D2723: Make the RPC client and objstorage helper fetch Content.data..
Feb 27 2020, 4:58 PM
vlorentz created D2722: Move ctime out of the validation proxy..
Feb 27 2020, 4:56 PM
vlorentz committed rDLDBASE0c58f98ef1df: Use swh-model objects in package loader. (authored by vlorentz).
Use swh-model objects in package loader.
Feb 27 2020, 4:28 PM
vlorentz closed D2714: Use swh-model objects in package loader..
Feb 27 2020, 4:28 PM
vlorentz committed rDSTOcaf51a044377: Accept cassandra-driver >= 3.22. (authored by vlorentz).
Accept cassandra-driver >= 3.22.
Feb 27 2020, 4:04 PM
vlorentz updated the diff for D2714: Use swh-model objects in package loader..

remove prints

Feb 27 2020, 3:57 PM
vlorentz requested changes to D2657: code scanner prototype.

It's still missing a description of what it does (ie. check that files exist in swh), in the CLI help and/or README.

Feb 27 2020, 3:23 PM
vlorentz committed rDMODf7f18a3f2b71: Make attributes name and email of Person optional. (authored by vlorentz).
Make attributes name and email of Person optional.
Feb 27 2020, 3:14 PM
vlorentz committed rDMOD750d147131ba: Add from_datetime and from_iso8601 constructors for TimestampWithTimezone. (authored by vlorentz).
Add from_datetime and from_iso8601 constructors for TimestampWithTimezone.
Feb 27 2020, 3:14 PM
vlorentz closed D2721: Make attributes name and email of Person optional..
Feb 27 2020, 3:14 PM
vlorentz closed D2720: Add from_datetime and from_iso8601 constructors for TimestampWithTimezone..
Feb 27 2020, 3:14 PM
vlorentz committed rDMOD9cf7a04a3e0c: Add method MerkleNode.iter_tree, to visit all nodes in the subtree of a node. (authored by vlorentz).
Add method MerkleNode.iter_tree, to visit all nodes in the subtree of a node.
Feb 27 2020, 3:14 PM
vlorentz closed D2713: Add method MerkleNode.iter_tree, to visit all nodes in the subtree of a node..
Feb 27 2020, 3:14 PM
vlorentz committed rDMODc0ce38ed4948: Take the value of MerkleNode.data into account to compute equality. (authored by vlorentz).
Take the value of MerkleNode.data into account to compute equality.
Feb 27 2020, 3:14 PM
vlorentz closed D2712: Take the value of MerkleNode.data into account to compute equality..
Feb 27 2020, 3:14 PM
vlorentz created D2721: Make attributes name and email of Person optional..
Feb 27 2020, 3:12 PM
vlorentz updated the diff for D2720: Add from_datetime and from_iso8601 constructors for TimestampWithTimezone..

fix base

Feb 27 2020, 3:12 PM
vlorentz updated the diff for D2720: Add from_datetime and from_iso8601 constructors for TimestampWithTimezone..

comments

Feb 27 2020, 3:10 PM
vlorentz updated the diff for D2714: Use swh-model objects in package loader..

Make build_revision return Revision objects instead of dicts.

Feb 27 2020, 3:08 PM
vlorentz updated the diff for D2720: Add from_datetime and from_iso8601 constructors for TimestampWithTimezone..

add test + negative utc

Feb 27 2020, 2:54 PM
vlorentz updated the test plan for D2714: Use swh-model objects in package loader..
Feb 27 2020, 2:34 PM
vlorentz created D2720: Add from_datetime and from_iso8601 constructors for TimestampWithTimezone..
Feb 27 2020, 2:33 PM
vlorentz updated the diff for D2713: Add method MerkleNode.iter_tree, to visit all nodes in the subtree of a node..

apply comments

Feb 27 2020, 2:26 PM
vlorentz added a comment to D2714: Use swh-model objects in package loader..

Also, compute_hash is a staticmethod that takes a dict as argument.

Feb 27 2020, 10:48 AM
vlorentz added a comment to D2714: Use swh-model objects in package loader..

Oh, I forgot about compute_hash. And also that the id is "optional" (well not optional, but can be set to b'')

Feb 27 2020, 10:45 AM

Feb 26 2020

vlorentz accepted D2718: JournalClient: add a stop_at_eof boolean to read the log only once.
Feb 26 2020, 4:17 PM
vlorentz requested changes to D2718: JournalClient: add a stop_at_eof boolean to read the log only once.
Feb 26 2020, 1:48 PM

Feb 25 2020

vlorentz added a comment to D2715: Reintroduce support for decoding legacy msgpack encoding.

although you should change the commit message: "The full contents of the journal" -> "The existing contents of the journal"

Feb 25 2020, 12:59 PM
vlorentz accepted D2715: Reintroduce support for decoding legacy msgpack encoding.

Perfect, thanks!

Feb 25 2020, 12:59 PM
vlorentz accepted D2709: idx.storage.db: Improve content range queries to actually finish.
Feb 25 2020, 11:07 AM · Indexer

Feb 24 2020

vlorentz updated the diff for D2714: Use swh-model objects in package loader..

remove print

Feb 24 2020, 4:43 PM
vlorentz created D2714: Use swh-model objects in package loader..
Feb 24 2020, 4:36 PM
vlorentz created D2713: Add method MerkleNode.iter_tree, to visit all nodes in the subtree of a node..
Feb 24 2020, 4:09 PM
vlorentz created D2712: Take the value of MerkleNode.data into account to compute equality..
Feb 24 2020, 4:07 PM
vlorentz committed rDMOD6da524cb2bd8: Add to_model() method to from_disk.{Content,Directory}, to convert to canonical… (authored by vlorentz).
Add to_model() method to from_disk.{Content,Directory}, to convert to canonical…
Feb 24 2020, 4:06 PM
vlorentz closed D2703: Add to_model() method to from_disk.{Content,Directory}, to convert to canonical model objects..
Feb 24 2020, 4:06 PM
vlorentz updated the diff for D2703: Add to_model() method to from_disk.{Content,Directory}, to convert to canonical model objects..

apply comment

Feb 24 2020, 4:06 PM
vlorentz accepted D2710: loaders: Add validation proxy setup.
Feb 24 2020, 4:03 PM
vlorentz closed D2706: Fix tests of special devices..
Feb 24 2020, 12:19 PM
vlorentz committed rDMODad6a0302c904: Fix tests of special devices. (authored by vlorentz).
Fix tests of special devices.
Feb 24 2020, 12:19 PM
vlorentz committed rDLDBASE384f1d302f95: Move revision loading logic to its own function. (authored by vlorentz).
Move revision loading logic to its own function.
Feb 24 2020, 12:18 PM
vlorentz closed D2697: Move revision loading logic to its own function..
Feb 24 2020, 12:18 PM