-
Notifications
You must be signed in to change notification settings - Fork 54
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
Handle legacy SC CLI options #232
base: master
Are you sure you want to change the base?
Conversation
|
||
if (optionsValue) { | ||
isDeprecated = true; | ||
deprecationText = "Legacy SC4 CLI commands are deprecated. Please update to SC5 style CLI flags." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use field names, something like:
"Sauce Connect Legacy Options" is deprecated. Please use "Sauce Connect Options".
<f:entry title="${%Sauce Connect Options}" field="sauceConnectOptions"> | ||
<hr/> | ||
<div id="validationMessage" style="color: red;"></div> | ||
<div id="deprecationMessage" style="color: orange;"></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to have the deprecation message right above the Sauce Connect Legacy Options text box?
@@ -10,9 +10,9 @@ | |||
<select name="restEndpoint"> | |||
<option value="https://saucelabs.com/" selected="${instance.restEndpoint.equals('https://saucelabs.com/') ? 'true' : null}">US</option> | |||
<option value="https://eu-central-1.saucelabs.com/" selected="${instance.restEndpoint.equals('https://eu-central-1.saucelabs.com/') ? 'true' : null}">EU</option> | |||
<option value="https://us-east-1.saucelabs.com/" selected="${instance.restEndpoint.equals('https://us-east-1.saucelabs.com/') ? 'true' : null}">US_EAST</option> | |||
<option value="https://us-east-1.saucelabs.com/" selected="${instance.restEndpoint.equals('https://us-east-1.saucelabs.com/') ? 'true' : null}">US_EAST 1 (deprecated)</option> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if deprecated notice fits it well. We might support it in the future, right?
This depends on changes in saucelabs/ci-sauce#312