Skip to content

Conversation

@seafoodfry
Copy link
Contributor

@seafoodfry seafoodfry commented Aug 22, 2024

Changes

  1. Added some extra commands to ensure the kvm linux group is configured.
  2. Added documentation detailing a way to make use of the ./tools/devctr poetry project for the pre-commit.
  3. Added a .python-version file to help the installation of the poetry project which supports python versions 3.10.*

Reason

Had to figure out these details while getting started.
Figured I should try contributing this info back into the project.

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md.

PR Checklist

  • If a specific issue led to this PR, this PR closes the issue.
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this
    PR.
  • API changes follow the Runbook for Firecracker API changes.
  • User-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.
  • New TODOs link to an issue.
  • Commits meet
    contribution quality standards.

  • This functionality cannot be added in rust-vmm.

@codecov
Copy link

codecov bot commented Aug 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.34%. Comparing base (e67b2be) to head (3cd0d1b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4744   +/-   ##
=======================================
  Coverage   84.34%   84.34%           
=======================================
  Files         249      249           
  Lines       27461    27461           
=======================================
  Hits        23162    23162           
  Misses       4299     4299           
Flag Coverage Δ
5.10-c5n.metal 84.57% <ø> (ø)
5.10-m5n.metal 84.55% <ø> (-0.01%) ⬇️
5.10-m6a.metal 83.84% <ø> (ø)
5.10-m6g.metal 80.91% <ø> (ø)
5.10-m6i.metal 84.54% <ø> (ø)
5.10-m7g.metal 80.91% <ø> (ø)
6.1-c5n.metal 84.57% <ø> (ø)
6.1-m5n.metal 84.55% <ø> (-0.01%) ⬇️
6.1-m6a.metal 83.84% <ø> (-0.01%) ⬇️
6.1-m6g.metal 80.91% <ø> (ø)
6.1-m6i.metal 84.54% <ø> (ø)
6.1-m7g.metal 80.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@seafoodfry seafoodfry requested a review from pb8o August 22, 2024 12:45
pb8o
pb8o previously approved these changes Aug 23, 2024
@seafoodfry seafoodfry force-pushed the docs/getting-started branch 3 times, most recently from 0c29b2d to 0d6ca38 Compare August 27, 2024 22:53
@seafoodfry
Copy link
Contributor Author

Forced push to rebase with the latest from upstream/main (and because I forgot to cleanup one of the github-style footnotes).

@seafoodfry seafoodfry requested review from pb8o and roypat August 27, 2024 23:01
Copy link
Contributor

@roypat roypat left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks :)

Since the `./tools/devctr` Python project is a poetry project, it made
more sense to actually add instructions that encouraged the use of
poetry as opposed to plain ol' python virtual environments.
Also, since the poetry project is using an old version of python,
`3.10.*`, we added a `.python-version` file so that people could use
pyenv - which is the recommended tool to manage python versions by
poetry, see https://python-poetry.org/docs/managing-environments/

Signed-off-by: seafoodfry <99568361+seafoodfry@users.noreply.github.com>
@seafoodfry seafoodfry force-pushed the docs/getting-started branch from 0d6ca38 to 3cd0d1b Compare August 28, 2024 22:35
@seafoodfry
Copy link
Contributor Author

Thank you again for the reviews @roypat and @pb8o !
I squashed the commits.

@roypat roypat merged commit bc9aa23 into firecracker-microvm:main Aug 29, 2024
@seafoodfry seafoodfry deleted the docs/getting-started branch August 29, 2024 12:40
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.

3 participants