Skip to content

lookout-sdk binary should expose SDK library version #237

@bzz

Description

@bzz

The idea is that any client using lookout-sdk binary should be able to make sure that he uses the right binary, supporting his exact SDK library version.

As client already knows an SDK version he uses, it should be enough to just expose the SDK version that lookout-sdk binary was build across i.e though CLI of lookout-sdk version.

That way the client could check if it matches his desired version and fail fast, avoiding possible tricky gRPC compatibility errors at later runtime stages.

E.g. this would allow for caching lookout-sdk binary on CI and only downloading it from Github in case version does not match.

Motivated by discussion in src-d/style-analyzer#95 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp neededFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions