Skip to content

docs: add containers README and fix YAML formatting#7

Open
Rishi-k-s wants to merge 2 commits into
tinkerhub:mainfrom
Rishi-k-s:feat/docs
Open

docs: add containers README and fix YAML formatting#7
Rishi-k-s wants to merge 2 commits into
tinkerhub:mainfrom
Rishi-k-s:feat/docs

Conversation

@Rishi-k-s
Copy link
Copy Markdown

@Rishi-k-s Rishi-k-s commented Apr 12, 2026

  • Add comprehensive README for containers.yml with setup workflow

  • Fix YAML indentation error in Devadath entry

  • Resolve port collision (2224 -> 2225 for member-devadath)

  • Update root README with git workflow instructions

Summary by CodeRabbit

  • Documentation

    • Added a comprehensive guide for configuring LXC/Incus development containers: setup workflow, YAML template, parameter reference, SSH key instructions, formatting rules, and examples.
  • Configuration Updates

    • Fixed container list structure and standardized member entries.
    • Normalized usernames and connection settings.
    • Added a new development container entry with specified resource sizing and access details.

- Add comprehensive README for containers.yml with setup workflow
- Fix YAML indentation error in Devadath entry
- Resolve port collision (2224 -> 2225 for member-devadath)

- Update root README with git workflow instructions
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 12, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3a064916-a226-4927-bb79-24fead317d8c

📥 Commits

Reviewing files that changed from the base of the PR and between a7ea35f and c0b045e.

📒 Files selected for processing (1)
  • containers/containers.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • containers/containers.yml

📝 Walkthrough

Walkthrough

Adds README documentation for configuring LXC/Incus development containers via containers/containers.yml. Adjusts containers/containers.yml: fixes Devadath entry indentation, changes ssh_port to 2225, lowercases user to devadath, simplifies ssh_key, and adds a new tinkerspace member.

Changes

Cohort / File(s) Summary
Container Documentation
README.md
Added ~98 lines describing contribution workflow, containers/containers.yml YAML template, parameter table (name, bridge, cpu, memory, disk, ssh_port, user, ssh_key), SSH key guidance, formatting rules, and example entry.
Container Configuration
containers/containers.yml
Repaired Devadath entry indentation to be a top-level list item; updated ssh_port: 22242225; changed user: Devadathdevadath; replaced multi-line ssh_key with a single-line value. Added new top-level member tinkerspace (bridge: incusbr-members, cpu: 4, memory: 6GB, disk: 10GB, ssh_port: 2228, user: rishi, single-line ssh_key).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • Updated #2: Modifies container member definitions and SSH public key fields in containers/containers.yml, overlapping edits to member entries.
  • Add new container configuration for Devadath #5: Originally added the Devadath container entry that this PR adjusts (indentation, ssh_port, username casing, and ssh_key changes).

Poem

🐇 I hopped through YAML, tidy and bright,

Keys shortened, ports set right,
A new tinkerspace joins the den,
Docs guide each clever friend,
Hop on—deploy and delight!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main changes: adding documentation (README) for containers configuration and fixing YAML formatting issues in the containers.yml file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 5

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@containers/containers.yml`:
- Around line 21-27: The member-devadath container entry is missing the required
ssh_key field, preventing SSH authentication; update the containers.yml entry
for the resource identified by name: member-devadath to include the same ssh_key
property used by other entries (e.g., member-nihal or nihal2) and paste the
user's SSH public key string as its value so SSH access works correctly.

In `@README.md`:
- Line 63: The README sentence "if you dont have a ssh key pair, generate it
via, the command below and copy the **public key**:" has capitalization and
grammar errors; update it to properly capitalize the first word, use "don't",
"an SSH key pair", remove the stray comma after "via", and use clearer phrasing
such as: "If you don't have an SSH key pair, generate one using the command
below and copy the **public key**:" to replace the original sentence.
- Around line 52-53: Replace the unprofessional example container name
"member-sexy-jasim" with a neutral example like "member-jasim" in the table and
update the bridge description text for **bridge** (`incusbr-members`) to a
professional phrasing such as "incusbr-members (standard; do not change unless
you know what you are doing)" so the documentation uses neutral examples and
clear, formal language.
- Around line 83-95: The README example uses ssh_port: 2225 which conflicts with
the existing container entry for member-devadath; update the example YAML in
README (the member-jasi block) to use a different port (e.g., ssh_port: 2226) so
ports remain unique and avoid confusion—modify the ssh_port value in the example
member-jasi block accordingly.
- Around line 37-46: Update the YAML template's name field to use the
member-<username> pattern for consistency with the examples: change the
placeholder value for the name key (currently "username") to follow the
member-<username> naming convention (e.g., "member-username") while leaving
other keys (bridge, cpu, memory, disk, ssh_port, user, ssh_key) unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: aabd39c2-ef2e-49ad-9a90-9734f8ed7a4c

📥 Commits

Reviewing files that changed from the base of the PR and between 3523da2 and a7ea35f.

📒 Files selected for processing (2)
  • README.md
  • containers/containers.yml

Comment thread containers/containers.yml Outdated
Comment thread README.md
Comment on lines +37 to +46
```yaml
- name: username
bridge: incusbr-members
cpu: 4
memory: 4GB
disk: 5GB
ssh_port: 222X
user: username
ssh_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5... full_key"
```
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Template naming pattern inconsistent with examples.

The template shows name: username but actual entries and the example on lines 87-95 use the member-<username> pattern. Update the template for consistency.

📝 Proposed fix
 ```yaml
-- name: username
+- name: member-username
   bridge: incusbr-members
   cpu: 4
   memory: 4GB
   disk: 5GB
   ssh_port: 222X
   user: username
   ssh_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5... full_key"
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against the current code and only fix it if needed.

In @README.md around lines 37 - 46, Update the YAML template's name field to use
the member- pattern for consistency with the examples: change the
placeholder value for the name key (currently "username") to follow the
member- naming convention (e.g., "member-username") while leaving
other keys (bridge, cpu, memory, disk, ssh_port, user, ssh_key) unchanged.


</details>

<!-- fingerprinting:phantom:medusa:ocelot:74156e99-13f6-444e-b453-c5ddaa10f139 -->

<!-- This is an auto-generated comment by CodeRabbit -->

Comment thread README.md
Comment on lines +52 to +53
| **name** | Container identifier (unique) | `member-sexy-jasim` |
| **bridge** | Network bridge to connect | `incusbr-members` (standard, dont change unless uk what ur doing ) |
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Use professional language and examples in documentation.

  • Line 52: The example name member-sexy-jasim is inappropriate for official documentation. Use a neutral example like member-jasim.
  • Line 53: The phrase "dont change unless uk what ur doing" is too informal. Consider rephrasing.
📝 Proposed fix
-| **name** | Container identifier (unique) | `member-sexy-jasim` |
-| **bridge** | Network bridge to connect | `incusbr-members` (standard, dont change unless uk what ur doing ) |
+| **name** | Container identifier (unique) | `member-jasim` |
+| **bridge** | Network bridge to connect | `incusbr-members` (standard for members, do not change unless required) |
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
| **name** | Container identifier (unique) | `member-sexy-jasim` |
| **bridge** | Network bridge to connect | `incusbr-members` (standard, dont change unless uk what ur doing ) |
| **name** | Container identifier (unique) | `member-jasim` |
| **bridge** | Network bridge to connect | `incusbr-members` (standard for members, do not change unless required) |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 52 - 53, Replace the unprofessional example container
name "member-sexy-jasim" with a neutral example like "member-jasim" in the table
and update the bridge description text for **bridge** (`incusbr-members`) to a
professional phrasing such as "incusbr-members (standard; do not change unless
you know what you are doing)" so the documentation uses neutral examples and
clear, formal language.

Comment thread README.md

## Getting SSH Key

if you dont have a ssh key pair, generate it via, the command below and copy the **public key**:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Fix capitalization and grammar.

The sentence should start with a capital letter and include proper punctuation.

📝 Proposed fix
-if you dont have a ssh key pair, generate it via, the command below and copy the **public key**:
+If you don't have an SSH key pair, generate one using the command below and copy the **public key**:
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
if you dont have a ssh key pair, generate it via, the command below and copy the **public key**:
If you don't have an SSH key pair, generate one using the command below and copy the **public key**:
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 63, The README sentence "if you dont have a ssh key pair,
generate it via, the command below and copy the **public key**:" has
capitalization and grammar errors; update it to properly capitalize the first
word, use "don't", "an SSH key pair", remove the stray comma after "via", and
use clearer phrasing such as: "If you don't have an SSH key pair, generate one
using the command below and copy the **public key**:" to replace the original
sentence.

Comment thread README.md
Comment on lines +83 to +95
- Preferred port: `2225`

Add to `containers.yml`:
```yaml
- name: member-jasi
bridge: incusbr-members
cpu: 4
memory: 4GB
disk: 5GB
ssh_port: 2225
user: jasi
ssh_key: "ssh-ed25519 AAAAC3NzaC1lZDI1..."
```
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Example port conflicts with actual container entry.

The example uses port 2225, which is now assigned to member-devadath in containers/containers.yml. This could confuse contributors about port uniqueness. Consider using a different example port like 2226.

📝 Proposed fix
 User provides:
 - Name: `jasi`
 - SSH key: `ssh-ed25519 AAAAC3NzaC1lZDI1...`
-- Preferred port: `2225`
+- Preferred port: `2226`

 Add to `containers.yml`:
 ```yaml
 - name: member-jasi
   bridge: incusbr-members
   cpu: 4
   memory: 4GB
   disk: 5GB
-  ssh_port: 2225
+  ssh_port: 2226
   user: jasi
   ssh_key: "ssh-ed25519 AAAAC3NzaC1lZDI1..."
</details>

<details>
<summary>🤖 Prompt for AI Agents</summary>

Verify each finding against the current code and only fix it if needed.

In @README.md around lines 83 - 95, The README example uses ssh_port: 2225 which
conflicts with the existing container entry for member-devadath; update the
example YAML in README (the member-jasi block) to use a different port (e.g.,
ssh_port: 2226) so ports remain unique and avoid confusion—modify the ssh_port
value in the example member-jasi block accordingly.


</details>

<!-- fingerprinting:phantom:medusa:ocelot:74156e99-13f6-444e-b453-c5ddaa10f139 -->

<!-- This is an auto-generated comment by CodeRabbit -->

- Add tinkerspace container (rishi, 2228)
- Revert Devadath to original naming convention
- Allocate 6GB memory and 10GB disk for tinkerspace
@Rishi-k-s
Copy link
Copy Markdown
Author

@Nihalsaeed @alvinliju

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.

1 participant