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

CONTRIBUTING.md: init contributing file #69

Merged
merged 1 commit into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
## How to contribute to kci-dev

#### **Did you find a bug?**

* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/kernelci/kci-dev/issues).
* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/kernelci/kci-dev/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.

#### **Did you write a patch that fixes a bug?**

* Open a new GitHub pull request with the patch.
* Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
* Ensure that the PR code pass the GitHub automatic checks, you can use the following suggested [workflow](#make-your-code-pass-automated-code-checks) for be sure everything pass.

#### **Make your code pass automated code checks**

The best way for developing kci-dev is by using [virtualenv](https://virtualenv.pypa.io/en/latest/) and [poetry](https://python-poetry.org/)

```shell
virtualenv .venv
source .venv/bin/activate
pip install poetry
poetry install
```

For executing the automated code checks

```shell
poe check
```

This checks can be automated during git commit
Just append `poe check` to your pre-commit file
```shell
echo "poe check" >> .git/hooks/pre-commit
```
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Stand alone tool for Linux Kernel developers and maintainers to interact with Ke

## Quickstart

Using PyPI and virtualenv
Using [PyPI](https://pypi.org/project/kci-dev/) and virtualenv
```sh
virtualenv .venv
source .venv/bin/activate
Expand All @@ -21,12 +21,14 @@ pip install kci-dev

## Configuration

You can see a example configuration file [here](docs/_index.md#configuration)
Without a auth token kci-dev can be used in results view only mode
You can see a example configuration file [here](docs/_index.md#configuration).
Without a auth token kci-dev can be used in results view only mode.

## Contributing to kci-dev

The kci-dev project welcomes, and depends on, contribution from developers and users in the open source community.
The kci-dev project welcomes, and depends on, contribution from developers and users in the open source community.
The [Contributor Guide](CONTRIBUTING.md) should guide you on how to contribute to kci-dev project.


## License

Expand Down
Loading