abbey
December 18, 2019, 3:50pm
1
Over the last two weeks, weβve been focused on integrating radicle-surf
with our app client upstream
. You can find where most of the integration is going down in this PR
radicle-dev:master
β radicle-dev:xla/surf-integration
opened 12:59PM - 09 Dec 19 UTC
This change introduces an implementation of the API drafted for #55 powered by r⦠adicle-dev/radicle-surf. A couple of adjustments had to be made to surf along the way. Most notably we needed to reexport git2 to have access to some lower level types. We track types and their info we depend on in radicle-dev/radicle-surf#41 to remedy that. We also settled on git-platinum as the body of fixtures to be used in our tests. The infrastructure to test GraphQL queries has been drastically improved in this patch and is expected to be more exhaustive with additions, as well as the discovery of edge cases.
At the time of this writing there is a incosnistency in how `last_commit` behaves, it is tracked in radicle-dev/radicle-surf#40. This means the API will always return the latest commit for the current history, indiscriminate if it touched the path in question - Resulting in errors in the ui integration tests.
* implement branches query
* implement tags query
* implement commit query
* implement blob query
* implement tree query
* integrate API in the UI
* use radicle-dev/git-platinum for test fixtures
* use latest compatible toolchain (dictated by radicle-dev/radicle-registry)
* pull in radicle-dev/radicle-surf as dependency
Resolver MON-10
Weβre learning a lot about the surf
library throughout the process and are capturing our findings here .
Thoughts, comments, feedback welcome
3 Likes