-
Notifications
You must be signed in to change notification settings - Fork 15
Added LXC documentation #9
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
Conversation
WalkthroughThis pull request replaces placeholder content in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
Signed-off-by: pintop9 <idan.pinto12296@gmail.com>
Signed-off-by: pintop9 <idan.pinto12296@gmail.com>
Signed-off-by: pintop9 <idan.pinto12296@gmail.com>
Signed-off-by: pintop9 <idan.pinto12296@gmail.com>
Signed-off-by: pintop9 <idan.pinto12296@gmail.com>
Signed-off-by: pintop9 <idan.pinto12296@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
🧹 Nitpick comments (1)
tools/LXC-LXD/README.md (1)
32-32: Hyphenate compound adjective.Line 32 uses "high performance" as a compound adjective modifying "isolation". When a multi-word adjective precedes a noun, it should be hyphenated.
-LXD can run both lightweight Linux system containers and full virtual machines, allowing you to choose between high performance or full hardware isolation depending on your use case. +LXD can run both lightweight Linux system containers and full virtual machines, allowing you to choose between high-performance or full-hardware isolation depending on your use case.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
logos/lxc.svgis excluded by!**/*.svg
📒 Files selected for processing (1)
tools/LXC-LXD/README.md(1 hunks)
🧰 Additional context used
🪛 LanguageTool
tools/LXC-LXD/README.md
[grammar] ~13-~13: Ensure spelling is correct
Context: ...itable for production environments. ## Differnce between LXC and LXD LXC and LXD are cl...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
[style] ~17-~17: Consider using a shorter alternative to avoid wordiness.
Context: ...agement, and a VM-like user experience, making it better suited for larger-scale environments an...
(MADE_IT_JJR)
[uncategorized] ~32-~32: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...achines, allowing you to choose between high performance or full hardware isolation depending on...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[grammar] ~49-~49: Ensure spelling is correct
Context: ...lable, all its templates as well as the python3 binding should you want to script LXC. ...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
🪛 markdownlint-cli2 (0.18.1)
tools/LXC-LXD/README.md
73-73: Emphasis used instead of a heading
(MD036, no-emphasis-as-heading)
75-75: Link text should be descriptive
(MD059, descriptive-link-text)
79-79: Emphasis used instead of a heading
(MD036, no-emphasis-as-heading)
92-92: Emphasis used instead of a heading
(MD036, no-emphasis-as-heading)
🔇 Additional comments (2)
tools/LXC-LXD/README.md (2)
2-2: Verify image path and availability.Line 2 references
../../logos/lxc.svg. Per the PR objectives, logos should be added tologos/and mapped inlogos/mapping.csv. Confirm that the image file exists at the correct relative path and displays properly.
1-119: Documentation structure and content look solid.The expanded documentation provides clear explanations of LXC and LXD, practical installation steps, and useful resources. The distinction between the two tools is well-articulated, and the Getting Started section includes actionable commands. Once the markdown linting issues (headings and link text) and the spelling error are corrected, this should be ready for merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
♻️ Duplicate comments (3)
tools/LXC-LXD/README.md (3)
13-13: Fix typo in section heading.The heading still contains the spelling error "Differnce" which should be "Difference".
-## Differnce between LXC and LXD +## Difference between LXC and LXD
73-73: Convert emphasis-formatted subheadings to proper markdown headings.Lines 73, 79, and 92 use bold text (
**text**) for what should be markdown headings. This violates markdown linting standards (MD036) and breaks semantic document structure. Convert them to proper heading syntax.-**LXD Installation-** +### LXD Installation -**Requirements-** +### Requirements -**Configure LXD -** +### Configure LXDAlso applies to: 79-79, 92-92
75-75: Use descriptive link text.The anchor text "link" is non-descriptive and violates markdown best practices (MD059). Replace it with text that describes the destination, such as "supported distributions" or "Snapd distribution compatibility".
-more information inside this [link](https://snapcraft.io/lxd?_gl=1*1f0ig8*_ga*MTEzNDgxMTkzOC4xNzYzODUxMDQ1*_ga_5LTL1CNEJM*czE3NjM4NTEwNDQkbzEkZzEkdDE3NjM4NTEwNTAkajU0JGwwJGgw#distros) ). +more information in the [supported distributions list](https://snapcraft.io/lxd?_gl=1*1f0ig8*_ga*MTEzNDgxMTkzOC4xNzYzODUxMDQ1*_ga_5LTL1CNEJM*czE3NjM4NTEwNDQkbzEkZzEkdDE3NjM4NTEwNTAkajU0JGwwJGgw#distros).
🧹 Nitpick comments (1)
tools/LXC-LXD/README.md (1)
105-105: Improve note formatting and punctuation.The note on line 105 lacks proper formatting and punctuation. Add a colon after "Note" and capitalize the following word to create a proper callout.
-**Note** append --vm to this command if you wish to run it in a virtual machine +**Note:** Append --vm to this command if you wish to run it in a virtual machine
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
logos/lxc.svgis excluded by!**/*.svg
📒 Files selected for processing (1)
tools/LXC-LXD/README.md(1 hunks)
🧰 Additional context used
🪛 LanguageTool
tools/LXC-LXD/README.md
[grammar] ~13-~13: Ensure spelling is correct
Context: ...itable for production environments. ## Differnce between LXC and LXD LXC and LXD are cl...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
[style] ~17-~17: Consider using a shorter alternative to avoid wordiness.
Context: ...agement, and a VM-like user experience, making it better suited for larger-scale environments an...
(MADE_IT_JJR)
[uncategorized] ~32-~32: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...achines, allowing you to choose between high performance or full hardware isolation depending on...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[grammar] ~49-~49: Ensure spelling is correct
Context: ...lable, all its templates as well as the python3 binding should you want to script LXC. ...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
🪛 markdownlint-cli2 (0.18.1)
tools/LXC-LXD/README.md
73-73: Emphasis used instead of a heading
(MD036, no-emphasis-as-heading)
75-75: Link text should be descriptive
(MD059, descriptive-link-text)
79-79: Emphasis used instead of a heading
(MD036, no-emphasis-as-heading)
92-92: Emphasis used instead of a heading
(MD036, no-emphasis-as-heading)
🔇 Additional comments (1)
tools/LXC-LXD/README.md (1)
1-119: Strong documentation content overall, but previous review items remain unresolved.The documentation provides comprehensive and accurate information about LXC and LXD, with clear explanations of their differences, practical installation steps, and useful resource links. The structure is logical and helpful for users getting started.
However, the three categories of issues flagged in the previous review (typo on line 13, markdown heading format violations on lines 73/79/92, and non-descriptive link text on line 75) remain unaddressed. Please resolve these before merging to ensure the documentation passes linting standards and follows markdown best practices.
nirgeier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix spelling mistake :-)
Signed-off-by: pintop9 <idan.pinto12296@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
♻️ Duplicate comments (2)
tools/LXC-LXD/README.md (2)
73-73: Fix markdown linting violations: convert bold text to proper headings.Lines 73, 79, and 92 use bold emphasis (
**text**) for section subheadings instead of markdown heading syntax. This violates MD036 (no-emphasis-as-heading) and breaks semantic document structure. These were flagged in the prior review but remain unfixed.Apply this diff to convert emphasis to proper markdown headings:
-**LXD Installation-** +### LXD Installation ... -**Requirements-** +### Requirements ... -**Configure LXD -** +### Configure LXDAlso applies to: 79-79, 92-92
75-75: Use descriptive link text instead of generic "link".Line 75 contains non-descriptive anchor text ("link"), violating MD059 (descriptive-link-text). This was flagged in the prior review but remains unfixed.
Replace generic link text with something descriptive:
-more information inside this [link](https://snapcraft.io/lxd?_gl=1*1f0ig8*_ga*MTEzNDgxMTkzOC4xNzYzODUxMDQ1*_ga_5LTL1CNEJM*czE3NjM4NTEwNDQkbzEkZzEkdDE3NjM4NTEwNTAkajU0JGwwJGgw#distros) ). +for more information see the [supported distributions list](https://snapcraft.io/lxd?_gl=1*1f0ig8*_ga*MTEzNDgxMTkzOC4xNzYzODUxMDQ1*_ga_5LTL1CNEJM*czE3NjM4NTEwNDQkbzEkZzEkdDE3NjM4NTEwNTAkajU0JGwwJGgw#distros).
🧹 Nitpick comments (1)
tools/LXC-LXD/README.md (1)
32-32: Hyphenate compound adjectives.Line 32: "high performance" should be "high-performance" when used as a compound adjective modifying a noun.
-LXD can run both lightweight Linux system containers and full virtual machines, allowing you to choose between high performance or full hardware isolation depending on your use case. +LXD can run both lightweight Linux system containers and full virtual machines, allowing you to choose between high-performance or full-hardware isolation depending on your use case.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
tools/LXC-LXD/README.md(1 hunks)
🧰 Additional context used
🪛 LanguageTool
tools/LXC-LXD/README.md
[style] ~17-~17: Consider using a shorter alternative to avoid wordiness.
Context: ...agement, and a VM-like user experience, making it better suited for larger-scale environments an...
(MADE_IT_JJR)
[uncategorized] ~32-~32: If this is a compound adjective that modifies the following noun, use a hyphen.
Context: ...achines, allowing you to choose between high performance or full hardware isolation depending on...
(EN_COMPOUND_ADJECTIVE_INTERNAL)
[grammar] ~49-~49: Ensure spelling is correct
Context: ...lable, all its templates as well as the python3 binding should you want to script LXC. ...
(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)
🪛 markdownlint-cli2 (0.18.1)
tools/LXC-LXD/README.md
73-73: Emphasis used instead of a heading
(MD036, no-emphasis-as-heading)
75-75: Link text should be descriptive
(MD059, descriptive-link-text)
79-79: Emphasis used instead of a heading
(MD036, no-emphasis-as-heading)
92-92: Emphasis used instead of a heading
(MD036, no-emphasis-as-heading)
🔇 Additional comments (2)
tools/LXC-LXD/README.md (2)
49-49: No action needed on line 49.The static analysis flag for "python3 binding" is a false positive. "python3" is the correct contemporary reference to Python 3 and how this binding is commonly named.
1-119: Good documentation structure; prior review feedback needs incorporation.The documentation provides clear, comprehensive coverage of LXC and LXD with well-organized sections. However, two markdown linting issues flagged in the prior review remain unfixed (bold text as headings on lines 73/79/92, and non-descriptive link text on line 75). Please address these before merge to maintain documentation quality standards.
Pull Request Template
Description
Please describe the changes you are proposing and why they are needed.
Type of Change
Checklist
tools/scripts/create_readmes.shlogos/and mapped inlogos/mapping.csv(if applicable)Additional Information
Add any other context or screenshots about the pull request here.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.