Page MenuHomeSoftware Heritage
Feed Advanced Search

Aug 1 2019

haltode committed rDGRPHc57819ce34ae: client: add API endpoints integration tests (authored by haltode).
client: add API endpoints integration tests
Aug 1 2019, 2:49 PM
haltode closed D1787: Client: add API endpoints integration tests.
Aug 1 2019, 2:49 PM
haltode committed rDGRPHa098482cba3e: server: switch version numbering from 1.0 to 0.0.1 (authored by haltode).
server: switch version numbering from 1.0 to 0.0.1
Aug 1 2019, 2:49 PM
haltode committed rDGRPH293eb8a57c9f: server: add --port/-p flag option (authored by haltode).
server: add --port/-p flag option
Aug 1 2019, 2:49 PM
haltode updated the diff for D1787: Client: add API endpoints integration tests.

Rebasing on master.

Aug 1 2019, 2:48 PM
Herald added a reviewer for D1800: api: tests: use aiohttp unused_port(): Reviewers.
Aug 1 2019, 2:46 PM
haltode updated the diff for D1787: Client: add API endpoints integration tests.

Use aiohttp.test_utils.unused_port()

Aug 1 2019, 2:34 PM
haltode updated the diff for D1787: Client: add API endpoints integration tests.
  • Use any available port for server/client interaction
  • Add version constant in tests
Aug 1 2019, 11:36 AM
haltode created P484 Get available free port in the S1 Public space.
Aug 1 2019, 10:05 AM
haltode closed D1793: docs: fix formatting issues.
Aug 1 2019, 9:55 AM
haltode committed rDGRPH6c1186676c46: docs: fix formatting issues (authored by haltode).
docs: fix formatting issues
Aug 1 2019, 9:55 AM

Jul 31 2019

haltode updated the diff for D1787: Client: add API endpoints integration tests.
  • Use isinstance instead of type
  • Simplify pathlib paths
  • Use sets to compare stats json keys
Jul 31 2019, 5:04 PM
haltode created D1793: docs: fix formatting issues.
Jul 31 2019, 4:55 PM
haltode updated the diff for D1787: Client: add API endpoints integration tests.
  • Do not yield unused server internal variable
  • Use pathlib instead of os.path
  • Remove unittest test case
  • Stronger assertions on types and values in test_stats
Jul 31 2019, 4:34 PM
haltode added inline comments to D1787: Client: add API endpoints integration tests.
Jul 31 2019, 4:20 PM
haltode committed rDGRPH9353712815b9: docs: remove unnecessary :orphan: directive (authored by haltode).
docs: remove unnecessary :orphan: directive
Jul 31 2019, 3:27 PM
haltode raised the priority of T1930: swh-graph: ship swh-graph.jar in the docker container from Low to Normal.
Jul 31 2019, 3:03 PM · Compressed graph service
haltode added a comment to D1768: docker setup: simplify and uniform to SWH path conventions.
In D1768#41639, @zack wrote:

The mapping has always been a separate command but we can indeed add it to the generate_graph.sh script.

Oh, ok, that explains it.

That means that the README on how to recreate the testdata isn't correct at present (or at least it's incomplete).

Integrate this into generate_graph.sh is a good idea. When it's done, we can also further simplify docs/docker.rst.

Jul 31 2019, 3:03 PM
haltode triaged T1941: Automatically generate mapping files after compressing graph as Normal priority.
Jul 31 2019, 3:02 PM · Compressed graph service
haltode committed rDGRPH4ada70da1ead: docs: fix sphinx image linking problem (authored by haltode).
docs: fix sphinx image linking problem
Jul 31 2019, 2:58 PM
haltode created D1787: Client: add API endpoints integration tests.
Jul 31 2019, 2:01 PM
haltode added a revision to T1920: graph service: add tests for the python client: D1787: Client: add API endpoints integration tests.
Jul 31 2019, 2:01 PM · Compressed graph service
haltode committed rDGRPH981847b49725: client: use RPCClient instead of now deprecated SWHRemoteAPI (authored by haltode).
client: use RPCClient instead of now deprecated SWHRemoteAPI
Jul 31 2019, 1:50 PM
haltode committed rDGRPHe309e7f4f3f1: server: add missing files for the example compressed graph (authored by haltode).
server: add missing files for the example compressed graph
Jul 31 2019, 1:50 PM

Jul 30 2019

haltode accepted D1768: docker setup: simplify and uniform to SWH path conventions.
In D1768#41626, @zack wrote:

Note that this diff still makes the test fail after re-running generate_graph.sh, because apparently the mappings are no longer generated. (Although it doesn't seem compress_graph.sh has ever generated them, so I'm not sure it's related to this diff [?]).

Jul 30 2019, 4:12 PM
haltode committed rDGRPH442ef0846cb0: setup.py: update package description and url (authored by haltode).
setup.py: update package description and url
Jul 30 2019, 11:31 AM
haltode added a comment to T1920: graph service: add tests for the python client.

One test call per endpoint seems enough right now, the Python side relies entirely on swh custom REST API class for client <-> server interaction (which has tests on its own).

Jul 30 2019, 9:49 AM · Compressed graph service

Jul 29 2019

haltode closed T1939: Measure memory needs for a swh-graph Azure VM, a subtask of T1885: benchmark swh-graph use cases on the full graph, as Resolved.
Jul 29 2019, 6:40 PM · Compressed graph service
haltode closed T1939: Measure memory needs for a swh-graph Azure VM as Resolved.

Running swh-graph (with only the default graph not its transposed) requires ~125GB of RAM.

Jul 29 2019, 6:40 PM · Compressed graph service
haltode committed rDGRPHa769e313541d: Remove visit/ endpoint and keep only: visit/nodes visit/paths (authored by haltode).
Remove visit/ endpoint and keep only: visit/nodes visit/paths
Jul 29 2019, 5:10 PM
haltode closed D1782: Remove visit/ endpoint and keep only: visit/nodes visit/paths.
Jul 29 2019, 5:10 PM
haltode created D1782: Remove visit/ endpoint and keep only: visit/nodes visit/paths.
Jul 29 2019, 4:10 PM
haltode added a comment to T1920: graph service: add tests for the python client.

What kind of tests do we want for the client side code? Checking the resulting json format for each endpoints?

Jul 29 2019, 3:01 PM · Compressed graph service
haltode added a comment to D1780: REST API doc: drop heading /graph.

I'm not sure to understand why we cannot use like the others URL (https://docs.softwareheritage.org/devel/http-routingtable.html) a sub-endpoint /graph.

Jul 29 2019, 2:32 PM
haltode added a comment to D1768: docker setup: simplify and uniform to SWH path conventions.

Awesome, thanks a lot for this diff!

Jul 29 2019, 2:29 PM
haltode added a subtask for T1885: benchmark swh-graph use cases on the full graph: T1939: Measure memory needs for a swh-graph Azure VM.
Jul 29 2019, 2:12 PM · Compressed graph service
haltode added a parent task for T1939: Measure memory needs for a swh-graph Azure VM: T1885: benchmark swh-graph use cases on the full graph.
Jul 29 2019, 2:12 PM · Compressed graph service
haltode triaged T1939: Measure memory needs for a swh-graph Azure VM as High priority.
Jul 29 2019, 2:11 PM · Compressed graph service
haltode closed T1938: swh-graph: NullPointerException upon (wrong) /walk from cnt to snp as Resolved by committing rDGRPHb884ff82ee09: server: use constructor instead of null for default value.
Jul 29 2019, 1:28 PM · Compressed graph service
haltode committed rDGRPHb884ff82ee09: server: use constructor instead of null for default value (authored by haltode).
server: use constructor instead of null for default value
Jul 29 2019, 1:28 PM
haltode committed rDGRPH93f1fb8ed6b9: server: add 'origin' node type (authored by haltode).
server: add 'origin' node type
Jul 29 2019, 1:15 PM
haltode closed T1915: Add support for origin nodes in graph service API as Resolved by committing rDGRPH93f1fb8ed6b9: server: add 'origin' node type.
Jul 29 2019, 1:15 PM · Compressed graph service
haltode closed D1781: Add 'origin' node type.
Jul 29 2019, 1:15 PM
haltode closed T1915: Add support for origin nodes in graph service API, a subtask of T1867: compress Merkle DAG and origin nodes together, as Resolved.
Jul 29 2019, 1:15 PM · Compressed graph service
haltode created D1781: Add 'origin' node type.
Jul 29 2019, 12:35 PM
haltode added a revision to T1915: Add support for origin nodes in graph service API: D1781: Add 'origin' node type.
Jul 29 2019, 12:35 PM · Compressed graph service
haltode committed rDGRPHa8d4b625d917: server: bypass edge restriction checks when edges=* (authored by haltode).
server: bypass edge restriction checks when edges=*
Jul 29 2019, 10:43 AM
haltode closed T1922: swh-graph optimization: bypass edge restriction checks when edges=* as Resolved by committing rDGRPHa8d4b625d917: server: bypass edge restriction checks when edges=*.
Jul 29 2019, 10:43 AM · Compressed graph service
haltode closed D1753: Bypass edge restriction checks when edges=*.
Jul 29 2019, 10:43 AM
haltode closed T1922: swh-graph optimization: bypass edge restriction checks when edges=*, a subtask of T1885: benchmark swh-graph use cases on the full graph, as Resolved.
Jul 29 2019, 10:43 AM · Compressed graph service
haltode updated the diff for D1753: Bypass edge restriction checks when edges=*.

Rebasing on master

Jul 29 2019, 10:43 AM
haltode added a comment to T1915: Add support for origin nodes in graph service API.

Yes this is related, there are safe checks when creating a new SwhId from a string form, and right now the code for the type looks like:

Jul 29 2019, 10:36 AM · Compressed graph service
haltode closed D1755: Add logging of endpoint timing.

Closed by commit ebfa6310c5ab.

Jul 29 2019, 10:10 AM
haltode committed rDGRPHebfa6310c5ab: server: add logging of endpoint timing (authored by haltode).
server: add logging of endpoint timing
Jul 29 2019, 10:09 AM
haltode closed T1921: swh-graph: add logging of endpoint timing, a subtask of T1885: benchmark swh-graph use cases on the full graph, as Resolved.
Jul 29 2019, 10:09 AM · Compressed graph service
haltode closed T1921: swh-graph: add logging of endpoint timing as Resolved by committing rDGRPHebfa6310c5ab: server: add logging of endpoint timing.
Jul 29 2019, 10:09 AM · Compressed graph service
haltode updated the diff for D1753: Bypass edge restriction checks when edges=*.

Use special null value in boolean array to quickly bypass edge check when no
edge restriction is enforced.

Jul 29 2019, 10:06 AM
haltode updated the diff for D1755: Add logging of endpoint timing.

Use local variables instead of class variable (more functional and fix
multithreading issues).

Jul 29 2019, 9:37 AM
haltode claimed T1937: nicer landing page for the swh-graph REST API.
Jul 29 2019, 8:38 AM · Compressed graph service
haltode claimed T1933: bad invocation of o.s.graph.backend.Setup in docker doc.
Jul 29 2019, 8:37 AM · Compressed graph service
haltode claimed T1920: graph service: add tests for the python client.
Jul 29 2019, 8:36 AM · Compressed graph service

Jul 19 2019

haltode added inline comments to D1755: Add logging of endpoint timing.
Jul 19 2019, 4:47 PM
haltode updated the diff for D1755: Add logging of endpoint timing.

Remove code duplication.

Jul 19 2019, 4:46 PM
haltode updated the diff for D1753: Bypass edge restriction checks when edges=*.

Move bypass check to Neighbors iterator upper-level class.

Jul 19 2019, 4:20 PM
haltode added a revision to T1921: swh-graph: add logging of endpoint timing: D1755: Add logging of endpoint timing.
Jul 19 2019, 4:05 PM · Compressed graph service
haltode created D1755: Add logging of endpoint timing.
Jul 19 2019, 4:05 PM
haltode added a revision to T1922: swh-graph optimization: bypass edge restriction checks when edges=*: D1753: Bypass edge restriction checks when edges=*.
Jul 19 2019, 3:32 PM · Compressed graph service
haltode created D1753: Bypass edge restriction checks when edges=*.
Jul 19 2019, 3:32 PM

Jul 18 2019

haltode committed rDGRPH0a81a047cfe3: new structure for the git repo (authored by haltode).
new structure for the git repo
Jul 18 2019, 11:04 AM
haltode closed D1743: New structure for the git repo.
Jul 18 2019, 11:04 AM

Jul 17 2019

haltode created D1743: New structure for the git repo.
Jul 17 2019, 4:32 PM
haltode closed D1741: Add javadoc documentation in graph service.
Jul 17 2019, 4:12 PM
haltode committed rDGRPHfc9dd235c28b: server: add javadoc documentation (authored by haltode).
server: add javadoc documentation
Jul 17 2019, 4:12 PM
haltode updated the diff for D1741: Add javadoc documentation in graph service.

Rebasing on master.

Jul 17 2019, 4:12 PM
haltode updated the summary of D1741: Add javadoc documentation in graph service.
Jul 17 2019, 3:27 PM
haltode added a comment to D1741: Add javadoc documentation in graph service.

Concerning links to swh-graph/docs it needs to wait for integration with swh-docs and then add external html links.

Jul 17 2019, 3:15 PM
haltode updated the diff for D1741: Add javadoc documentation in graph service.

Fix grammar/style issues.

Jul 17 2019, 3:12 PM
haltode added a comment to D1741: Add javadoc documentation in graph service.
In D1741#40365, @zack wrote:

in addition to the comments below, a general issue is that all verbs are in the third person (e.g., "returns foo", "converts bla"), while it is more idiomatic to use the infinitive in API documentation (e.g., "return foo", "convert bla").

Jul 17 2019, 2:56 PM
haltode committed rDGRPHfc52d428ce14: remove third_party directory (patches are now merged upstream) (authored by haltode).
remove third_party directory (patches are now merged upstream)
Jul 17 2019, 11:46 AM
haltode committed rDGRPH9413a20afdf6: experiments: compact 'all' results table and add 'all-transposed' (authored by haltode).
experiments: compact 'all' results table and add 'all-transposed'
Jul 17 2019, 10:32 AM
haltode committed rDGRPH56dead50c511: reports: experiments: update compression steps names (authored by haltode).
reports: experiments: update compression steps names
Jul 17 2019, 9:55 AM

Jul 16 2019

haltode committed rDGRPH313eb76cd39e: server: WalkTest: fix non-uniqueness of expected solutions (authored by haltode).
server: WalkTest: fix non-uniqueness of expected solutions
Jul 16 2019, 4:37 PM
haltode added a comment to T1904: build developer documentation for swh-graph.

From the sphinx-maven plugin documentation :

Jul 16 2019, 3:58 PM · Documentation, Compressed graph service
haltode updated the summary of D1741: Add javadoc documentation in graph service.
Jul 16 2019, 3:48 PM
haltode created D1741: Add javadoc documentation in graph service.
Jul 16 2019, 3:47 PM
haltode accepted D1738: doc: add use cases and benchmark description.
Jul 16 2019, 11:52 AM
haltode closed T1901: refactor graph API to use integer IDs in the kernel and translate to/from SWH PIDs on outer layers, a subtask of T1884: python bindings for compressed graph access, as Resolved.
Jul 16 2019, 9:40 AM · Compressed graph service
haltode closed T1902: Use in-memory bitmap to store node->types relations in graph API, a subtask of T1901: refactor graph API to use integer IDs in the kernel and translate to/from SWH PIDs on outer layers, as Resolved.
Jul 16 2019, 9:40 AM · Compressed graph service
haltode closed T1898: swh-graph: refactor algo implementations to not forcibly memoize results as Resolved by committing rDGRPHd56bfa886d2e: server: separate id mapping from traversals using node2type map.
Jul 16 2019, 9:40 AM · Compressed graph service
haltode closed T1902: Use in-memory bitmap to store node->types relations in graph API as Resolved by committing rDGRPHd56bfa886d2e: server: separate id mapping from traversals using node2type map.
Jul 16 2019, 9:40 AM · Compressed graph service
haltode closed T1901: refactor graph API to use integer IDs in the kernel and translate to/from SWH PIDs on outer layers as Resolved by committing rDGRPHd56bfa886d2e: server: separate id mapping from traversals using node2type map.
Jul 16 2019, 9:40 AM · Compressed graph service
haltode committed rDGRPHd56bfa886d2e: server: separate id mapping from traversals using node2type map (authored by haltode).
server: separate id mapping from traversals using node2type map
Jul 16 2019, 9:40 AM
haltode closed D1736: Separate id mapping from traversals using node2type map.
Jul 16 2019, 9:40 AM
haltode updated the diff for D1736: Separate id mapping from traversals using node2type map.

Update commit message (one task per "close" line)

Jul 16 2019, 9:39 AM

Jul 15 2019

haltode added a comment to D1738: doc: add use cases and benchmark description.

Awesome doc, thanks! Here are a few quick comments.

Jul 15 2019, 4:41 PM
haltode added a revision to T1898: swh-graph: refactor algo implementations to not forcibly memoize results: D1736: Separate id mapping from traversals using node2type map.
Jul 15 2019, 3:20 PM · Compressed graph service
haltode added a task to D1736: Separate id mapping from traversals using node2type map: T1898: swh-graph: refactor algo implementations to not forcibly memoize results.
Jul 15 2019, 3:20 PM
haltode created D1736: Separate id mapping from traversals using node2type map.
Jul 15 2019, 2:42 PM
haltode added a revision to T1902: Use in-memory bitmap to store node->types relations in graph API: D1736: Separate id mapping from traversals using node2type map.
Jul 15 2019, 2:42 PM · Compressed graph service
haltode added a revision to T1901: refactor graph API to use integer IDs in the kernel and translate to/from SWH PIDs on outer layers: D1736: Separate id mapping from traversals using node2type map.
Jul 15 2019, 2:42 PM · Compressed graph service