Page MenuHomeSoftware Heritage
Feed Advanced Search

Jun 14 2022

jayeshv committed rDGQL736748edd277: Remove unnecessary base exception (authored by jayeshv).
Remove unnecessary base exception
Jun 14 2022, 12:42 PM
jayeshv added inline comments to D7984: Add error handling for pagination input arguments.
Jun 14 2022, 12:35 PM
jayeshv requested review of D7986: Remove unnecessary base exception.
Jun 14 2022, 12:34 PM
jayeshv closed D7984: Add error handling for pagination input arguments.
Jun 14 2022, 11:24 AM
jayeshv committed rDGQL67f1ae16f549: Add error handling for pagination input arguments (authored by jayeshv).
Add error handling for pagination input arguments
Jun 14 2022, 11:24 AM
jayeshv added inline comments to D7984: Add error handling for pagination input arguments.
Jun 14 2022, 11:22 AM
jayeshv updated the diff for D7984: Add error handling for pagination input arguments.

review comments

Jun 14 2022, 11:19 AM
jayeshv updated the diff for D7984: Add error handling for pagination input arguments.

snapshot branch updates

Jun 14 2022, 10:39 AM
jayeshv requested review of D7984: Add error handling for pagination input arguments.
Jun 14 2022, 10:22 AM
jayeshv added a revision to T4261: Swh-graphql Code cleanup: D7984: Add error handling for pagination input arguments.
Jun 14 2022, 10:20 AM · GraphQL API

Jun 13 2022

jayeshv added a comment to D7980: Return origin object for analogues URLs.

Why should this be implemented by the API (as opposed to UIs)?

Jun 13 2022, 3:52 PM
jayeshv added a comment to D7980: Return origin object for analogues URLs.

Why should this be impleme

Jun 13 2022, 3:51 PM
jayeshv added a comment to D7980: Return origin object for analogues URLs.

I think it would be better to handle that process directly in the Archive.get_origin function, adding an utility function for a small set of instructions seems a bit overkill.

This is how it is done in swh-web for instance (with some extra processing that should not be needed for the graphql case).

This makes me think that we should start moving storage object conversion code out of swh-web as basically you will end up re-implementing
a lot of features we already have. I think adding a new storage proxy that will do object conversion to JSON on the fly while keeping the storage
API could be a nice solution. This is a subject we should talk about during the code review sprint of that week.

Also could you add a functional test for this ?

Thanks. I will add functional tests for this.
I agree that it is a good idea to have a shared storage proxy.
good idea that we can discuss about the shared layer in the upcoming sprint.

But I don't think adding this logic to that layer (archive layer) is a good idea at least in this case. What
I'm trying to do is to make a utility function to identify all the analogous URLs
as we define in SWH. Maybe this can be a core function as well. (I forgot to add the logic for ://" character sequencemangled into ":,
fixing it now).

I kept a separate stub in origin_node to add any specific
logic that we may have to add for just origin URLs (on top of analogous URLs).

Jun 13 2022, 3:23 PM
jayeshv added a comment to D7980: Return origin object for analogues URLs.

I think it would be better to handle that process directly in the Archive.get_origin function, adding an utility function for a small set of instructions seems a bit overkill.

This is how it is done in swh-web for instance (with some extra processing that should not be needed for the graphql case).

This makes me think that we should start moving storage object conversion code out of swh-web as basically you will end up re-implementing
a lot of features we already have. I think adding a new storage proxy that will do object conversion to JSON on the fly while keeping the storage
API could be a nice solution. This is a subject we should talk about during the code review sprint of that week.

Also could you add a functional test for this ?

Jun 13 2022, 3:18 PM
jayeshv requested review of D7980: Return origin object for analogues URLs.
Jun 13 2022, 2:21 PM

Jun 10 2022

jayeshv triaged T4321: GraphQL: Add metadata to the schema as Normal priority.
Jun 10 2022, 9:41 AM · GraphQL API

Jun 9 2022

jayeshv closed D7975: Add functional tests for the release node.
Jun 9 2022, 1:20 PM
jayeshv committed rDGQLf32d98cd1541: Add functional tests for the release node (authored by jayeshv).
Add functional tests for the release node
Jun 9 2022, 1:20 PM
jayeshv updated the diff for D7975: Add functional tests for the release node.

Review change

Jun 9 2022, 1:16 PM
jayeshv updated the diff for D7975: Add functional tests for the release node.

remove wrong file

Jun 9 2022, 12:50 PM
jayeshv requested review of D7975: Add functional tests for the release node.
Jun 9 2022, 12:48 PM

Jun 8 2022

jayeshv closed D7969: Add Snapshot, Content and Directory objects as target in branch.
Jun 8 2022, 1:28 PM
jayeshv committed rDGQLa3df4ec60f33: Add Snapshot, Content and Directory objects as target in branch (authored by jayeshv).
Add Snapshot, Content and Directory objects as target in branch
Jun 8 2022, 1:28 PM
jayeshv added a comment to D7969: Add Snapshot, Content and Directory objects as target in branch.

why percent-substitution instead of f-strings in new tests? is it in preparation for T4306?

Jun 8 2022, 1:23 PM
jayeshv updated the diff for D7969: Add Snapshot, Content and Directory objects as target in branch.

Remove unnecessary comment

Jun 8 2022, 12:19 PM
jayeshv requested review of D7969: Add Snapshot, Content and Directory objects as target in branch.
Jun 8 2022, 12:15 PM
jayeshv added a revision to T4309: GraphQL: Add missing target types in snapshot branch: D7969: Add Snapshot, Content and Directory objects as target in branch.
Jun 8 2022, 12:12 PM · GraphQL API

Jun 7 2022

jayeshv committed rDGQLce6095a3e098: Set connection object as the parent of all its item nodes (authored by jayeshv).
Set connection object as the parent of all its item nodes
Jun 7 2022, 5:11 PM
jayeshv triaged T4310: GraphQL: Add missing fields in the content object as Normal priority.
Jun 7 2022, 9:51 AM · GraphQL API
jayeshv triaged T4309: GraphQL: Add missing target types in snapshot branch as Normal priority.
Jun 7 2022, 9:50 AM · GraphQL API

Jun 3 2022

jayeshv triaged T4308: GraphQL: Fix missing fields in Content object as Normal priority.
Jun 3 2022, 4:44 PM · GraphQL API
jayeshv triaged T4307: GraphQL: Implement totalCount in connections as Normal priority.
Jun 3 2022, 3:09 PM · GraphQL API
jayeshv committed rDGQL9c9c590dd9f5: Remove the unnecessary comment (authored by jayeshv).
Remove the unnecessary comment
Jun 3 2022, 2:15 PM
jayeshv closed D7957: Add an item cursor to the connection edge.
Jun 3 2022, 1:27 PM
jayeshv closed T4291: Add item cursor for connection edges., a subtask of T4083: New public API (GraphQL + thin layer), as Resolved.
Jun 3 2022, 1:27 PM · GraphQL API, Roadmap 2022
jayeshv closed T4291: Add item cursor for connection edges. as Resolved by committing rDGQLb7395eff481b: Add an item cursor to the connection edge.
Jun 3 2022, 1:27 PM · GraphQL API
jayeshv committed rDGQLb7395eff481b: Add an item cursor to the connection edge (authored by jayeshv).
Add an item cursor to the connection edge
Jun 3 2022, 1:27 PM
jayeshv added inline comments to D7957: Add an item cursor to the connection edge.
Jun 3 2022, 12:46 PM
jayeshv updated the diff for D7957: Add an item cursor to the connection edge.

Extra test for item cursor

Jun 3 2022, 12:45 PM
jayeshv claimed T4306: Use query variables instead of f-strings in swh-graphql tests.
Jun 3 2022, 12:24 PM · GraphQL API
jayeshv requested review of D7957: Add an item cursor to the connection edge.
Jun 3 2022, 12:18 PM
jayeshv added a revision to T4291: Add item cursor for connection edges.: D7957: Add an item cursor to the connection edge.
Jun 3 2022, 12:16 PM · GraphQL API
jayeshv committed rDGQLe22537ef01a7: Remove the unnecessary comment (authored by jayeshv).
Remove the unnecessary comment
Jun 3 2022, 9:46 AM

Jun 2 2022

jayeshv closed D7942: Improve doc strings and inline documentation.
Jun 2 2022, 3:58 PM
jayeshv committed rDGQL267732ffffef: Improve doc strings and inline documentation (authored by jayeshv).
Improve doc strings and inline documentation
Jun 2 2022, 3:58 PM
jayeshv updated the diff for D7942: Improve doc strings and inline documentation.

Remove unnecessary comments

Jun 2 2022, 3:55 PM
jayeshv added a project to T4301: GraphQL: Add user identification and advanced rate limiting: GraphQL API.
Jun 2 2022, 2:49 PM · GraphQL API
jayeshv claimed T4300: GraphQL: Collect code metric and add logging.
Jun 2 2022, 2:49 PM · GraphQL API
jayeshv added a project to T4299: GraphQL: Static query validation and max cost limiting: GraphQL API.
Jun 2 2022, 2:49 PM · GraphQL API
jayeshv claimed T4295: Support existing REST APIs in GraphQL.
Jun 2 2022, 2:48 PM · GraphQL API
jayeshv claimed T4293: Add generic filters and sort order on GraphQL connections.
Jun 2 2022, 2:48 PM · GraphQL API
jayeshv claimed T4292: Add missing functional tests for GraphQL APIs.
Jun 2 2022, 2:47 PM · GraphQL API
jayeshv claimed T4291: Add item cursor for connection edges..
Jun 2 2022, 2:47 PM · GraphQL API
jayeshv added a project to T4263: Add a search entrypoint to the GraphQL schema: GraphQL API.
Jun 2 2022, 2:46 PM · GraphQL API
jayeshv added a project to T4261: Swh-graphql Code cleanup: GraphQL API.
Jun 2 2022, 2:46 PM · GraphQL API
jayeshv claimed T4083: New public API (GraphQL + thin layer).
Jun 2 2022, 2:19 PM · GraphQL API, Roadmap 2022
jayeshv triaged T4301: GraphQL: Add user identification and advanced rate limiting as Low priority.
Jun 2 2022, 10:01 AM · GraphQL API
jayeshv triaged T4300: GraphQL: Collect code metric and add logging as Normal priority.
Jun 2 2022, 9:29 AM · GraphQL API
jayeshv triaged T4299: GraphQL: Static query validation and max cost limiting as Normal priority.
Jun 2 2022, 9:27 AM · GraphQL API
jayeshv updated the task description for T4261: Swh-graphql Code cleanup.
Jun 2 2022, 9:24 AM · GraphQL API

Jun 1 2022

jayeshv updated the diff for D7942: Improve doc strings and inline documentation.

Type hint update

Jun 1 2022, 9:11 PM
jayeshv updated the diff for D7942: Improve doc strings and inline documentation.

review comments

Jun 1 2022, 9:07 PM
jayeshv updated the diff for D7942: Improve doc strings and inline documentation.

format changes

Jun 1 2022, 6:00 PM
jayeshv requested review of D7942: Improve doc strings and inline documentation.
Jun 1 2022, 5:54 PM
jayeshv added a revision to T4261: Swh-graphql Code cleanup: D7942: Improve doc strings and inline documentation.
Jun 1 2022, 5:51 PM · GraphQL API
jayeshv added inline comments to D7938: mypy: Fix errors after django*-stubs upgrade.
Jun 1 2022, 5:09 PM
jayeshv accepted D7939: tests: Simplify definition of ORIGINS list.
Jun 1 2022, 3:44 PM
jayeshv triaged T4295: Support existing REST APIs in GraphQL as Normal priority.
Jun 1 2022, 9:59 AM · GraphQL API

May 31 2022

jayeshv triaged T4293: Add generic filters and sort order on GraphQL connections as Normal priority.
May 31 2022, 5:54 PM · GraphQL API
jayeshv triaged T4292: Add missing functional tests for GraphQL APIs as Normal priority.
May 31 2022, 5:51 PM · GraphQL API
jayeshv closed T3556: Implement a generic pagination support for the GraphQL response., a subtask of T3405: GraphQL apis for SWH, as Resolved.
May 31 2022, 5:48 PM · GraphQL API
jayeshv closed T3556: Implement a generic pagination support for the GraphQL response. as Resolved.
May 31 2022, 5:48 PM · GraphQL API
jayeshv closed T3556: Implement a generic pagination support for the GraphQL response., a subtask of T4083: New public API (GraphQL + thin layer), as Resolved.
May 31 2022, 5:48 PM · GraphQL API, Roadmap 2022
jayeshv closed T3932: Define a GraphQL schema, a subtask of T4083: New public API (GraphQL + thin layer), as Resolved.
May 31 2022, 5:48 PM · GraphQL API, Roadmap 2022
jayeshv closed T3932: Define a GraphQL schema, a subtask of T3405: GraphQL apis for SWH, as Resolved.
May 31 2022, 5:48 PM · GraphQL API
jayeshv closed T3932: Define a GraphQL schema as Resolved.
May 31 2022, 5:48 PM · GraphQL API
jayeshv closed T3984: Structure and design for swh-graphql, a subtask of T3405: GraphQL apis for SWH, as Resolved.
May 31 2022, 5:47 PM · GraphQL API
jayeshv closed T3984: Structure and design for swh-graphql, a subtask of T4083: New public API (GraphQL + thin layer), as Resolved.
May 31 2022, 5:47 PM · GraphQL API, Roadmap 2022
jayeshv closed T3984: Structure and design for swh-graphql as Resolved.
May 31 2022, 5:47 PM · GraphQL API
jayeshv triaged T4291: Add item cursor for connection edges. as Normal priority.
May 31 2022, 5:40 PM · GraphQL API
jayeshv closed D7924: Add functional tests for the snapshot type.
May 31 2022, 3:39 PM
jayeshv committed rDGQLc8ef46e7604f: Add functional tests for the snapshot type (authored by jayeshv).
Add functional tests for the snapshot type
May 31 2022, 3:39 PM
jayeshv requested review of D7924: Add functional tests for the snapshot type.
May 31 2022, 3:35 PM
jayeshv closed D7908: Refactor functional tests to use existing dataset.
May 31 2022, 3:19 PM
jayeshv committed rDGQL00768c2e9eb2: Refactor functional tests to use existing dataset (authored by jayeshv).
Refactor functional tests to use existing dataset
May 31 2022, 3:19 PM
jayeshv updated the diff for D7908: Refactor functional tests to use existing dataset.

Rebase and Review changes

May 31 2022, 3:14 PM
jayeshv added inline comments to D7908: Refactor functional tests to use existing dataset.
May 31 2022, 2:20 PM
jayeshv closed D7916: Cleanup requirements.
May 31 2022, 2:05 PM
jayeshv committed rDGQLb312a60fad87: Cleanup requirements (authored by jayeshv).
Cleanup requirements
May 31 2022, 2:05 PM
jayeshv requested review of D7916: Cleanup requirements.
May 31 2022, 12:35 PM
jayeshv added a revision to T4261: Swh-graphql Code cleanup: D7916: Cleanup requirements.
May 31 2022, 12:33 PM · GraphQL API

May 30 2022

jayeshv requested review of D7908: Refactor functional tests to use existing dataset.
May 30 2022, 4:48 PM

May 25 2022

jayeshv closed D7862: Add functional tests for visit object.
May 25 2022, 4:32 PM
jayeshv committed rDGQL6ee8e01f5228: Add functional tests for the visit object (authored by jayeshv).
Add functional tests for the visit object
May 25 2022, 4:32 PM
jayeshv updated the diff for D7862: Add functional tests for visit object.

Review comments

May 25 2022, 4:23 PM
jayeshv added inline comments to D7862: Add functional tests for visit object.
May 25 2022, 4:20 PM
jayeshv closed D7898: Fix the bug while running wsgi app.
May 25 2022, 4:16 PM
jayeshv committed rDGQL70b9fe0e3d19: Fix the bug while running wsgi app (authored by jayeshv).
Fix the bug while running wsgi app
May 25 2022, 4:16 PM
jayeshv updated the diff for D7898: Fix the bug while running wsgi app.

update the commit mesage

May 25 2022, 4:02 PM
jayeshv requested review of D7898: Fix the bug while running wsgi app.
May 25 2022, 3:36 PM