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

Add support for kickstart to mrack plugin #3064

Merged
merged 4 commits into from
Oct 1, 2024
Merged

Add support for kickstart to mrack plugin #3064

merged 4 commits into from
Oct 1, 2024

Conversation

skycastlelily
Copy link
Collaborator

@skycastlelily skycastlelily commented Jul 1, 2024

Pull Request Checklist

  • implement the feature
  • update the specification
  • modify the json schema
  • mention the version
  • include a release note

tmt/utils/__init__.py Outdated Show resolved Hide resolved
@skycastlelily
Copy link
Collaborator Author

skycastlelily commented Sep 2, 2024 via email

@happz happz added area | hardware Implementation of hardware requirements plugin | mrack The beaker provision plugin step | provision Stuff related to the provision step labels Sep 2, 2024
@happz happz added this to the 1.37 milestone Sep 2, 2024
@happz
Copy link
Collaborator

happz commented Sep 2, 2024

I would suggest finding a different name and adding a docstring
Thanks for your mentor,How about"normalize_dict"? :)

Still way too generic, I'm afraid, it can mean anything, any input, any type of keys and values, who knows, it's very open. We need a name that reflects it is normalizing key=value inputs, and strings on both sides, sometimes the value would be optional...

@skycastlelily
Copy link
Collaborator Author

Updated^^

@happz
Copy link
Collaborator

happz commented Sep 30, 2024

@skycastlelily I tried to polish it a bit, I was not very happy about beaker field, that leaks Mrack's weird API into our code, so to_mrack() now exists. Check 466b568, WDYT?

I also change the name of that normalization callback, to normalize_string_dict, and I'm pretty happy about it, because it's what it does, normalizes two different forms of key/value inputs into a dict[str, str] :)

@skycastlelily
Copy link
Collaborator Author

skycastlelily commented Sep 30, 2024 via email

Copy link
Collaborator

@psss psss left a comment

Choose a reason for hiding this comment

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

Nice, thanks for implementing this!

@psss psss added status | ready for merge The only missing piece is to do the rebase the current 'main' and let the CI finish. ci | full test Pull request is ready for the full test execution labels Oct 1, 2024
@psss psss self-assigned this Oct 1, 2024
happz and others added 2 commits October 1, 2024 22:06
* better formatting when logging kickstart
* `normalize_string_dict` - no "user data" relicts, generalized
  docstring
* use `kickstart` field in our code, translate for mrack when passing
  the barrier
@psss
Copy link
Collaborator

psss commented Oct 1, 2024

Updated spec and added a release note in 5220d37.

@psss psss merged commit c001920 into main Oct 1, 2024
6 of 22 checks passed
@psss psss deleted the kickstart-mrack branch October 1, 2024 20:10
@skycastlelily
Copy link
Collaborator Author

skycastlelily commented Oct 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area | hardware Implementation of hardware requirements ci | full test Pull request is ready for the full test execution plugin | mrack The beaker provision plugin status | ready for merge The only missing piece is to do the rebase the current 'main' and let the CI finish. step | provision Stuff related to the provision step
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants