Skip to content

Add getting started and contributing guide#81

Open
alicefr wants to merge 1 commit into
bootc-dev:mainfrom
alicefr:contributing
Open

Add getting started and contributing guide#81
alicefr wants to merge 1 commit into
bootc-dev:mainfrom
alicefr:contributing

Conversation

@alicefr

@alicefr alicefr commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Add the started and contributing guide for newcomers.

The get starting guide is still missing a good example. I think it will be easier to add one once we merge #75. So we can reference by tag and it gets a bit easier to reference the images

Fixes: #54

Comment thread docs/GETTING_STARTED.md Outdated
Comment thread docs/GETTING_STARTED.md Outdated
Comment thread docs/GETTING_STARTED.md Outdated
@jlebon

jlebon commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Hmm, do we need both a GETTING_STARTED and a CONTRIBUTING?

@jlebon jlebon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks for writing this up!

Yeah, I would ideally merge the two docs to avoid some of the duplication and to reduce confusion.

Comment thread docs/GETTING_STARTED.md Outdated
Comment thread docs/GETTING_STARTED.md Outdated
Comment thread docs/GETTING_STARTED.md Outdated
Comment on lines +125 to +148
## Investigating CI Failures

CI runs on [GitHub Actions](https://github.com/bootc-dev/bootc-operator/actions)
and consists of three jobs: `unit`, `build-bink`, and `e2e`. When a run fails,
you can inspect it using the `gh` CLI.

View a run summary:

```shell
gh run view <run-id> --repo bootc-dev/bootc-operator
```

### Downloading E2E Logs

The e2e job uploads diagnostic logs as a GitHub Actions artifact named
`e2e-logs`. These contain the same logs collected by `make gather-bink`
(operator pod logs, node journals, event dumps, etc.). Download them with:

```shell
gh run download <run-id> --repo bootc-dev/bootc-operator
```

This creates a local `e2e-logs/` directory with per-test subdirectories
matching the structure described in [Finding Test Logs](#finding-test-logs).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, unsure whether this belongs here. This seems like more general advice.

Not against it though!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to keep it. I always find it helpful to know how and where to find the logs, especially for people that open pull requests for the first time.

@alicefr alicefr force-pushed the contributing branch 2 times, most recently from 48b01f3 to f1082ab Compare July 1, 2026 06:37
@alicefr

alicefr commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

I merged the 2 document and addressed the comments. Additionally, I also included an AI generated code section referring to the infra document and some additional useful links

@jlebon jlebon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nits but LGTM as is!

Comment thread CONTRIBUTING.md
Comment thread CONTRIBUTING.md
jlebon
jlebon previously approved these changes Jul 3, 2026

@jlebon jlebon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Will let @HarshwardhanPatil07 or @ptalgulk01 do a final pass.

@HarshwardhanPatil07 HarshwardhanPatil07 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I think Contributing.md will help contributors out a lot. Just left few comments. Thank you very much!

Comment thread CONTRIBUTING.md
Comment on lines +51 to +56
Before diving into the code, familiarize yourself with the project from a user
perspective by reading the [README](README.md) and the
[Architecture](docs/ARCHITECTURE.md) document. We also recommend getting
familiar with [bink](https://github.com/bootc-dev/bink), which is used to
create lightweight Kubernetes clusters backed by bootc nodes for development
and testing.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems more of a prerequisite section

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me add it a subsection

Comment thread CONTRIBUTING.md
Comment on lines +256 to +263
### Code Review

All submissions require review before merging. Reviewers look for:

- Correctness and test coverage
- Consistency with existing patterns
- Clear commit messages
- Generated files kept in sync

@HarshwardhanPatil07 HarshwardhanPatil07 Jul 5, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure about this but I was taking a look at bootc, are we planning to have REVIEW.md? If Yes, then probably we can include it there.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes see #87, but I haven't added yet, so we can add a reference to it later. The REVIW doc is one of the files that it sync automatically by #83 .

This includes how to setup a development environment using bink, the
building and testing setup, how to interact and debug CI failure and how
to submit PRs.

Assisted-by: AI
Signed-off-by: Alice Frosi <afrosi@redhat.com>
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

Successfully merging this pull request may close these issues.

Add a CONTRIBUTING.md

4 participants