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

Support passing pubkeys to authorized_keys for mrack #3354

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

Conversation

skycastlelily
Copy link
Collaborator

@skycastlelily skycastlelily commented Nov 12, 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

tmt/utils/__init__.py Outdated Show resolved Hide resolved
@skycastlelily skycastlelily added this to the 1.39 milestone Nov 12, 2024
@skycastlelily skycastlelily added the ci | full test Pull request is ready for the full test execution label Nov 12, 2024
@skycastlelily skycastlelily modified the milestones: 1.39, 1.40 Nov 12, 2024
If set, Beaker jobs will be submitted on behalf of ``USERNAME``.
Submitting user must be a submission delegate for the ``USERNAME``.
""",
normalize=tmt.utils.normalize_string_list)
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • public_key + public-key + multiple=True. There is already key/--key key, a singular form, and on the command line I can use it multiple times (--key foo --key bar --public-key baz ...)
  • default_factory=list will be better: it's a list, and an empty list is as good indication of "no keys to install" as None, but it's simpler because it's still just a list. So, list[str] + default_factory=list should work perfectly.
  • help seems to be copy-pasted & deserves an update.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated^^ 83d8781

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci | full test Pull request is ready for the full test execution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants