-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Use namespace varible for package folder instead of hardcoding it #4140
Conversation
Automation for azure-sdk-for-pythonThis PR contains more than 3 context, SDK generation is not enabled. Contexts found:
|
e3083b9
to
3c0faf6
Compare
@@ -114,7 +114,7 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s | |||
|
|||
``` yaml $(tag)=='package-skus-2017-09' && $(go) | |||
namespace: skus | |||
output-folder: $(go-sdk-folder)/services/compute/mgmt/2017-09-01/skus | |||
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2017-09-01/skus |
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.
This one is wrong. #Resolved
@@ -22,5 +22,5 @@ These settings apply only when `--tag=package-2018-03-preview --go` is specified | |||
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`. | |||
|
|||
``` yaml $(tag)=='package-2018-03-preview' && $(go) | |||
output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2018-03-01-preview/services | |||
output-folder: $(go-sdk-folder)/$(namespace)/preview/machinelearning/mgmt/2018-03-01-preview/$(namespace) |
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.
While the path is technically correct the /services/ should remain hard-coded. #Resolved
@@ -25,7 +25,7 @@ These settings apply only when `--tag=package-2015-10 --go` is specified on the | |||
Please also specify the `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`. | |||
|
|||
``` yaml $(tag) == 'package-2015-10' && $(go) | |||
output-folder: $(go-sdk-folder)/services/mediaservices/mgmt/2015-10-01/media | |||
output-folder: $(go-sdk-folder)/services/$(namespace)services/mgmt/2015-10-01/$(namespace) |
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.
Another "kinda right", applied to entire file. #Resolved
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.
Found a few bugs.
Automation for azure-sdk-for-jsThis PR contains more than 3 context, SDK generation is not enabled. Contexts found:
|
Can one of the admins verify this patch? |
@@ -22,5 +22,5 @@ These settings apply only when `--tag=package-2017-06 --go` is specified on the | |||
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`. | |||
|
|||
``` yaml $(tag) == 'package-2017-06' && $(go) | |||
output-folder: $(go-sdk-folder)/services/storsimple8000series/mgmt/2017-06-01/storsimple | |||
output-folder: $(go-sdk-folder)/services/$(namespace)8000series/mgmt/2017-06-01/$(namespace) |
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.
8000series [](start = 53, length = 10)
here also
@@ -22,5 +22,5 @@ These settings apply only when `--tag=package-2016-10 --go` is specified on the | |||
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`. | |||
|
|||
``` yaml $(tag) == 'package-2016-10' && $(go) | |||
output-folder: $(go-sdk-folder)/services/storsimple1200series/mgmt/2016-10-01/storsimple | |||
output-folder: $(go-sdk-folder)/services/$(namespace)1200series/mgmt/2016-10-01/$(namespace) |
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.
And here.
``` yaml $(tag) == 'package-2016-10' && $(go) | ||
output-folder: $(go-sdk-folder)/services/$(namespace)1200series/mgmt/2016-10-01/$(namespace) | ||
```yaml $(tag) == 'package-2016-10' && $(go) | ||
output-folder: $(go-sdk-folder)/services/$storsimple1200series/mgmt/2016-10-01/$(namespace) |
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.
Extra '$' character.
Automation for azure-sdk-for-rubyThis PR contains more than 3 context, SDK generation is not enabled. Contexts found:
|
Automation for azure-sdk-for-nodeThis PR contains more than 3 context, SDK generation is not enabled. Contexts found:
|
Automation for azure-sdk-for-javaThis PR contains more than 3 context, SDK generation is not enabled. Contexts found:
|
f459952
to
c5b903c
Compare
@fearthecowboy can you merge? the tools choke on the large number of commits :( |
No description provided.