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

[RHELC-1532] Require username and password to be specified #1209

Merged
merged 1 commit into from
May 8, 2024

Conversation

Venefilyn
Copy link
Member

@Venefilyn Venefilyn commented May 6, 2024

We didn't require username and password to be specified when one was
provided but not the other. Such as username being provided but without
a password, or vice versa. Due to that convert2rhel fails much later
in the process than other warnings.

This addresses that with warning messages and aligns with other cases
like activation_key and org

Jira Issues:

Checklist

  • PR has been tested manually in a VM (either author or reviewer)
  • Jira issue has been made public if possible
  • [RHELC-] is part of the PR title
  • GitHub label has been added to help with Release notes
  • PR title explains the change from the user's point of view
  • Code and tests are documented properly
  • The commits are squashed to as few commits as possible (without losing data)
  • When merged: Jira issue has been updated to Release Pending if relevant

We didn't require username and password to be specified when one was
provided but not the other. Such as username being provided but without
a password, or vice versa. Due to that convert2rhel fails much later
in the process than other warnings.

This addresses that with warning messages and aligns with other cases
like activation_key and org
@Venefilyn Venefilyn force-pushed the fix/userpass-without-one-half branch from 0e9d5cc to 2ec5a8c Compare May 6, 2024 13:42
@Venefilyn Venefilyn added the kind/bug-fix A bug has been fixed label May 6, 2024
@Venefilyn Venefilyn changed the title fix: require username and password to be specified [RHELC-1532] Require username and password to be specified May 8, 2024
@Venefilyn Venefilyn added tests/sanity PR ready to run the sanity test suit. Equivalent to `/packit test --labels sanity`. merge-after-tests-ok labels May 8, 2024
@has-bot
Copy link
Member

has-bot commented May 8, 2024

/packit test --labels sanity


Comment generated by an automation.

@r0x0d
Copy link
Member

r0x0d commented May 8, 2024

Codecov is misbehaving again. I'm merging this as the sanity tests are all green and the results from the unit tests doesn't include any errors.

@r0x0d r0x0d merged commit 8f7d95f into oamg:main May 8, 2024
28 of 36 checks passed
@Venefilyn Venefilyn deleted the fix/userpass-without-one-half branch May 8, 2024 19:34
@hosekadam hosekadam mentioned this pull request May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix A bug has been fixed merge-after-tests-ok tests/sanity PR ready to run the sanity test suit. Equivalent to `/packit test --labels sanity`.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants