Skip to content

Add version command to cryptol-remote-api#1547

Merged
m-yac merged 7 commits intomasterfrom
version-python-cmd
Jul 10, 2023
Merged

Add version command to cryptol-remote-api#1547
m-yac merged 7 commits intomasterfrom
version-python-cmd

Conversation

@m-yac
Copy link
Contributor

@m-yac m-yac commented Jul 6, 2023

This PR adds a version command to the cryptol-remote-api and its Python interface. For example:

>>> connection.version()
CryptolVersionInfo(
  rpc_version='3.0.1.99',
  version='3.0.0.99',
  commit_hash='8c811b06a435f5009e8b75b36ecc8fc220e4d6bd',
  commit_branch='version-python-cmd',
  commit_dirty=True,
  ffi_enabled=True)

See the docs for the command in Version.hs or the docstring of CryptolVersionInfo in the Python API for descriptions of these fields.

Resolves #1544

@m-yac m-yac requested review from RyanGlScott and weaversa July 6, 2023 20:50
@m-yac m-yac temporarily deployed to github-pages July 6, 2023 20:50 — with GitHub Actions Inactive
@m-yac m-yac temporarily deployed to github-pages July 6, 2023 20:57 — with GitHub Actions Inactive
@m-yac m-yac force-pushed the version-python-cmd branch from 9156da1 to a090354 Compare July 10, 2023 17:29
@m-yac m-yac temporarily deployed to github-pages July 10, 2023 17:29 — with GitHub Actions Inactive
@m-yac m-yac force-pushed the version-python-cmd branch from a090354 to 9e86c0f Compare July 10, 2023 17:47
@m-yac m-yac temporarily deployed to github-pages July 10, 2023 17:47 — with GitHub Actions Inactive
@m-yac m-yac merged commit 2064a38 into master Jul 10, 2023
@m-yac m-yac deleted the version-python-cmd branch July 10, 2023 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cryptol-remote-api version info

2 participants