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

Adding ssh and url check for ansible repository form #8164

Merged
merged 1 commit into from
Mar 18, 2022

Conversation

MelsHyrule
Copy link
Member

@MelsHyrule MelsHyrule commented Mar 8, 2022

Fixes ManageIQ/manageiq#21700

Related to ManageIQ/manageiq#21700 and #8157

Before

Screen Shot 2022-03-17 at 5 27 16 PM

After

Screen Shot 2022-03-17 at 5 26 16 PM

@Fryguy
Copy link
Member

Fryguy commented Mar 8, 2022

At a minimum, let's ressurect the tests for all of the good cases, and probably some made up "bad" cases. Don't think we need every bad case that was presented in the old PR.

@@ -38,15 +39,10 @@ function createSchema(repositoryId) {
id: 'scm_url',
name: 'scm_url',
isRequired: true,
validate: [{
type: validatorTypes.REQUIRED,
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to keep required?

Copy link
Member Author

Choose a reason for hiding this comment

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

Likely yes, I don't know of a case when the url wont be required.

@kavyanekkalapu kavyanekkalapu changed the title [WIP] Adding ssh [WIP] Adding ssh and url check for ansible repository form Mar 8, 2022
@MelsHyrule MelsHyrule force-pushed the adding_ssh branch 2 times, most recently from d1e7413 to 338a0a9 Compare March 15, 2022 19:06
@MelsHyrule MelsHyrule requested a review from Fryguy March 17, 2022 14:26
@MelsHyrule MelsHyrule closed this Mar 17, 2022
@MelsHyrule MelsHyrule reopened this Mar 17, 2022
@MelsHyrule MelsHyrule changed the title [WIP] Adding ssh and url check for ansible repository form Adding ssh and url check for ansible repository form Mar 17, 2022
@MelsHyrule MelsHyrule requested a review from Fryguy March 17, 2022 20:05
@miq-bot
Copy link
Member

miq-bot commented Mar 17, 2022

Checked commit MelsHyrule@a1ff431 with ruby 2.6.7, rubocop 1.19.1, haml-lint 0.35.0, and yamllint
0 files checked, 0 offenses detected
Everything looks fine. 👍

@miq-bot miq-bot removed the wip label Mar 17, 2022
@Fryguy
Copy link
Member

Fryguy commented Mar 17, 2022

LGTM, but I helped. @kavyanekkalapu Please review. @MelsHyrule Can you add some updated screenshots?

@Fryguy
Copy link
Member

Fryguy commented Mar 17, 2022

@MelsHyrule Can you also verify in Safari? 😉

@MelsHyrule
Copy link
Member Author

@Fryguy can confirm works in safari 😆 and updated screenshots

@kavyanekkalapu
Copy link
Member

Screen Shot 2022-03-17 at 6 22 56 PM

Screen Shot 2022-03-17 at 6 24 08 PM

I am not able to find any failed case here

@MelsHyrule
Copy link
Member Author

@kavyanekkalapu I am not seeing that bug, when i type ^^^^^^^^^$$$$$$$$$&&&& or hello I still get the error message.

@kavyanekkalapu
Copy link
Member

@kavyanekkalapu I am not seeing that bug, when i type ^^^^^^^^^$$$$$$$$$&&&& or hello I still get the error message.

Ok i will check again

@kavyanekkalapu
Copy link
Member

kavyanekkalapu commented Mar 18, 2022

@MelsHyrule Looks like i didn't have your latest code before. i tested it again and ui looks good to me.

@kavyanekkalapu kavyanekkalapu merged commit 18f61c3 into ManageIQ:master Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to add SSH GitHub Repo in Embedded Ansible
4 participants