Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
84 lines (50 loc) · 2.6 KB

File metadata and controls

84 lines (50 loc) · 2.6 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

Contributing to Cosign

Thank you for considering contributing to Cosign! We welcome any contributions, whether it's bug fixes, new features, or improvements to the existing codebase.

Your First Pull Request

Review Sigstore's contribution guidelines which includes some high level information on how to contribute to Sigstore projects.

To help you get familiar with our contribution process, we have a list of good first issues which are relatively limited in scope.

Before working on an issue, please:

  1. Check the comments to see if someone is already working on it.
  2. If it's unassigned, comment that you're working on it to avoid duplication.

Contribution Prerequisites

Before running Cosign, ensure that you have Go installed.

Sending a Pull Request

You can find a step by step guide to submit your contribution on Sigstore's contribution guidelines.

The following steps describe the build, unit testing, linting, and documentation processes:

Building Cosign

To build cosign locally, run this command:

make cosign

Running Unit Tests

To run the unit tests, execute the following command:

make test

Make sure all tests pass without any failures or errors.

Conformance tests

To run the conformance tests, first install the conformance test runner:

make conformance-runner

Then build cosign and conformance (the executable that adapts conformance tests to the cosign command), and run the tests:

make cosign conformance
make conformance-tests

Running Lint

To run the linting checks, use the following command:

make lint

Address any linting warnings or errors before submitting your PR.

Document Generation

If your changes require updates to project documentation, run the following:

make docgen

Ensure that the documentation is up-to-date and reflects your changes accurately.

Sign DCO

Make sure to sign the Developer Certificate of Origin.

Additional Documentation

In addition to the README file, documentation for Cosign exists in the repository's doc folder and consists of one markdown file for each command. If you add, delete or modify a Cosign command you must also add, delete, or edit the appropriate file in the doc folder.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.