Welcome to the Cloud Native AI Model Format Specification project! We are excited to have you contribute. Here are some steps to help you get started.
- Clone the repository:
git clone https://github.com/CloudNativeAI/model-spec.git
cd model-spec
- Install dependencies: Ensure you have Go installed, as the current spec implementation is written in Go. Follow the official instructions to install Go.
Right now, we have a simple directory structure:
docs
: All detailed documents about the model spec.docs/img
: Any referenced images in the documents should be put here.specs-go
: A Go implementation of the model specification.
- Create a new branch:
git checkout -b your-branch-name
- Make your changes and commit them:
git add .
git commit -s -m "Your descriptive commit message"
- Push your changes to your fork:
git push your-fork-repo your-branch-name
- Open a pull request: Go to the GitHub repository, compare your branch, and submit a pull request with a detailed description of your changes.
Please check the CI status in your pull request and fix anything that fails. Here are some simple instructions to validate CI locally.
-
Install golangci-lint: follow the official installation guide to install golangci-lint.
-
Check for linting issues:
golangci-lint run --verbose
We appreciate your contributions and look forward to working with you!