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

Parse the cpu.hyper-threading hardware requirement #2949

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

skycastlelily
Copy link
Collaborator

@skycastlelily skycastlelily commented May 21, 2024

Pull Request Checklist

  • implement the feature
  • write the documentation
  • extend the test coverage
  • update the specification
  • adjust plugin docstring
  • modify the json schema
  • mention the version
  • include a release note

@@ -55,6 +55,9 @@ description: |
- "!= flag4"
...

# Boolean, whether the cpu supports hyper-threading.
hyper: true| false
Copy link
Collaborator

Choose a reason for hiding this comment

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

My two cents: 'hyper' is one of the sooo overloaded buzzwords that I for one would rather see full form rather than "hyper". hyperthreading or hyper-threading would be way more readable to me, I wouldn't have to worry some CPU vendor comes up with yet another "hyper" technology :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

One extra space left, it'd be nice to remove it.

@skycastlelily
Copy link
Collaborator Author

skycastlelily commented May 21, 2024 via email

@@ -97,6 +100,11 @@ example:
cpu:
cores: ">= 4"

- |
# Request a CPU supports hyper-threading.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Request a CPU supports hyper-threading.
# Request a CPU with hyper-threading enabled.

Small nuance shouldn't it be with hyper-threading enabled rather than just supported?

@@ -97,6 +97,8 @@ definitions:
anyOf:
- type: string
- type: integer
hyper:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
hyper:
hyper-threading:

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for your review,updated:)

@skycastlelily
Copy link
Collaborator Author

skycastlelily commented May 22, 2024 via email

@skycastlelily skycastlelily changed the title Parse the cpu.hyper hardware requirement Parse the cpu.hyper-threading hardware requirement May 22, 2024
@happz happz added this to the 1.35 milestone Jun 5, 2024
@happz
Copy link
Collaborator

happz commented Jun 15, 2024

@skycastlelily when you have some spare time, rebase on top of the recent main, please, and resolve conflicts.

@skycastlelily
Copy link
Collaborator Author

skycastlelily commented Jun 17, 2024 via email

@happz happz added the provision Provision step label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants