Welcome to our contributing guide! We are eager to receive contributions of all types. Here are some ways to contribute:
Active development happens in the root directory (v2). Code under v1/ is deprecated. Please do not submit changes there.
Development workflow:
make build # compile the oc-mirror binary (do not use `go build` directly)
make test-unit # run unit tests
make test-integration # run integration tests
make verify # run golangci-lint
make sanity # run tidy, format, and vet checks
make clean # clean build artifactsAlways run make sanity before committing.
Please submit bug reports as GitHub Issues using our template. Include:
- A concise title
- Log snippets
- The command used to execute the task
- The imageset-config used in the execution (if applicable)
Please submit enhancement requests as GitHub Issues. Note that prioritization happens in the RFE project in Jira.
- A concise title and description of the modification
- The conditions under which the modification would be relevant
- The desired outcome and how it differs from current functionality
- Use cases for the enhancement
- Current workaround/alternatives without the enhancement
When submitting pull requests, please ensure the following:
- Make sure all commits are signed, otherwise github will refuse to merge
- Include unit tests if applicable
- Update
./docsif applicable - Use our template
See our testing strategy for guidelines on testing levels and principles.
We welcome improvements to our ./docs:
- Markdown-formatted tutorials for using
oc-mirrorin different scenarios - Enhanced developer/hacking docs