Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update lifecycle package command to support more types #39

Open
jt-nti opened this issue Jul 5, 2022 · 0 comments
Open

Update lifecycle package command to support more types #39

jt-nti opened this issue Jul 5, 2022 · 0 comments

Comments

@jt-nti
Copy link
Member

jt-nti commented Jul 5, 2022

It is possible to create external builders and launchers for Fabric, however there is no easy way to package chaincode for those builders and launchers. For example, Fabric now includes a chaincode as a service builder, and other builders and launchers are available.

The current fabric lifecycle package command relies on positional parameters, so as part of this issue I would like to make improvements as follows...

Package a chaincode

Usage:
  fabric lifecycle package <chaincode-path> [flags]

Flags:
  -a, --archive string   name of the output tgz file
  -h, --help             help for package
  -i, --indexes string   path containing state database index definitions for CouchDB
  -l, --label string     human-readable description of the package
  -t, --type string      the chaincode type (e.g. GOLANG, JAVA, NODE)

The packaging code currently depends on fabric-sdk-go, however rather than update copies of packaging code from the Fabric peer command in that repo, I would like to either take a more up-to-date cut of the Fabric code, or investigate making use of the fabric-admin-sdk project instead... hyperledger/fabric-admin-sdk#15

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

No branches or pull requests

1 participant