{"id":27890215,"url":"https://github.com/tibcosoftware/dovetail-cli","last_synced_at":"2025-05-05T10:45:32.298Z","repository":{"id":96633913,"uuid":"141734415","full_name":"TIBCOSoftware/dovetail-cli","owner":"TIBCOSoftware","description":"Client for the generation and deployment of smart contracts","archived":false,"fork":false,"pushed_at":"2023-12-18T21:40:34.000Z","size":11456,"stargazers_count":3,"open_issues_count":11,"forks_count":6,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-06-20T17:34:39.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TIBCOSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-20T16:27:38.000Z","updated_at":"2023-03-13T03:37:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"8da43448-b17d-4c1e-b47a-8b9d70ce4816","html_url":"https://github.com/TIBCOSoftware/dovetail-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2Fdovetail-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2Fdovetail-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2Fdovetail-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TIBCOSoftware%2Fdovetail-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TIBCOSoftware","download_url":"https://codeload.github.com/TIBCOSoftware/dovetail-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252485585,"owners_count":21755817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-05T10:45:31.543Z","updated_at":"2025-05-05T10:45:32.291Z","avatar_url":"https://github.com/TIBCOSoftware.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dovetail cli\n\n[![Build Status](https://travis-ci.org/TIBCOSoftware/dovetail-cli.svg?branch=master)](https://travis-ci.org/TIBCOSoftware/dovetail-cli)\n\n## What is dovetail cli?\n\nDovetail cli is a command line tool that enables smart contract generation for different blockchain technologies from the same model.\n\nThis allows definition of your smart contracts on a model driven approach and abstraction of your smart contract logic from the low level code, improving visibility, auditability and reduce errors.\n\n## Installation\n\nFor step by step instructions on how to setup Project Dovetail™ cli environment, please go to the installation section on the [documentation page](https://tibcosoftware.github.io/dovetail/getting-started/getting-started-cli/)\n\n## Build dovetail cli from source\n\nInstall [Go version 1.11.x](https://golang.org/doc/install) and [set GOPATH environment variable](https://golang.org/doc/code.html#GOPATH).  Then install and test it as follows:\n\n```\nexport PATH=${GOPATH}/bin:${PATH}\ngo get -u -d github.com/TIBCOSoftware/dovetail-cli\ncd ${GOPATH}/src/github.com/TIBCOSoftware/dovetail-cli\nmake\n```\n\nIf you want to just install the cli and not run any tests use \"make install\" command instead of \"make\".\n\nIf you see test errors, please refer the Troubleshooting or Support section below.\n\n### Note on third party dependencies\n\nOnce you install the cli, [these](./go.sum) third party dependencies will be downloaded to your machine. Please note that these third party dependencies are subject to their own license terms.\n\n### Contributing\n\nNew contributions are welcome. If you would like to submit one, follow the instructions in the contributions section on the [documentation page](https://tibcosoftware.github.io/dovetail/contributing/contributing/)\n\n## License\ndovetail-cli is licensed under a BSD-type license. See [LICENSE](https://github.com/TIBCOSoftware/dovetail-cli/blob/master/LICENSE) for license text.\n\n### Support\nFor Q\u0026A you can contact us at tibcolabs@tibco.com.\n\n## Troubleshooting\n\n### Fabric admin test fails on Ubuntu\n\nThe current version of Fabric SDK requires Go 1.11.0-1.11.4. Thus, if the installation failed to download Go dependencies for Fabric SDK, you will need to download Go 1.11.4 and change the `$GOROOT` and `$PATH` environment variables to point to this version. If you have installed a later version of Go, e.g., 1.11.6, you can edit the file `/path/to/fabric-sdk-go/ci.properties` and set `GO_MAX_VER=1.11.6`, and then use the following steps to install dependencies.\n\nIf the `fabric admin tests` failed with the following error:\n```\nhyperledger/fabric/core/operations/system.go:227:23: not enough arguments in call to s.statsd.SendLoop\n```\nYou may resolve dependency issues for the Fabric SDK as follows.\n```\ncd ${GOPATH}/src/github.com/hyperledger/fabric-sdk-go\nmake depend\n```\nEdit the `Makefile` to turn off `gometalinter` for the target `.PHONY: unit-test`, i.e., in the command under this target, update the variable to use `TEST_WITH_LINTER=false`, and then execute the unit tests\n```\nmake unit-test\n```\nYou may also run the integration tests of the Fabric SDK to make sure that all dependencies are updated correctly, i.e.,\n```\nmake integration-tests-stable-local\n```\nIf the Fabric SDK tests complete successfully, you can clean up the docker containers from the tests as follows:\n```\ndocker kill $(docker ps | egrep \"fabsdkgo|hyperledger\" | awk '{print $1}')\ndocker rm $(docker ps -a | egrep \"fabsdkgo|hyperledger\" | awk '{print $1}')\ndocker rmi $(docker images | grep fabsdkgo | awk '{print $3}')\n```\nYou can then try to build and test the dovetail-cli again, i.e.,\n```\ncd ${GOPATH}/src/github.com/TIBCOSoftware/dovetail-cli\nmake\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftibcosoftware%2Fdovetail-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftibcosoftware%2Fdovetail-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftibcosoftware%2Fdovetail-cli/lists"}