Skip to content

Commit

Permalink
suppressing batch messages when message format is json or yaml (Azure…
Browse files Browse the repository at this point in the history
…#3069)

* suppressing batch messages when message format is json or yaml

* remove deprecated

* tweaking

* fix script more
  • Loading branch information
fearthecowboy authored Jan 24, 2019
1 parent df3ac1d commit adcffa6
Show file tree
Hide file tree
Showing 124 changed files with 49 additions and 416 deletions.
4 changes: 3 additions & 1 deletion .gulp/regeneration.iced
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ task 'regenerate', 'regenerate samples', (done) ->
)

(find path.join(each.path, ".."))
.filter((file) -> file.match(/\.(yaml)$/))
.filter((file) -> file.match(/\.(yaml)$/) && ! file.match(/deprecated/) )
.forEach((file) ->
# sed "-i", /.*deprecated.*\n/gi, "", file #
(cat file).replace(/.*deprecated.*\n/g, "").to(file) # remove deprecated from outputs
sed "-i", /.*autorest[a-zA-Z0-9]*.src.*/gi, "", file # source file names
sed "-i", /^version:.*autorest-core["']?/gi , "", file # autorest-core path as reported by bootstrapper again!
sed "-i", /file\:\/\/\/.*Custom transformations.*/gi, "", file # fix path in file
Expand Down
21 changes: 0 additions & 21 deletions Samples/1b-code-generation-multilang/Azure.NodeJS/LICENSE.txt

This file was deleted.

21 changes: 0 additions & 21 deletions Samples/1b-code-generation-multilang/NodeJS/LICENSE.txt

This file was deleted.

4 changes: 4 additions & 0 deletions Samples/1b-code-generation-multilang/shell/stdout.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
https://aka.ms/autorest
INFORMATION: Getting the package version from the pre-existing package.json file in the output folder.
INFORMATION: Getting the package version from the pre-existing package.json file in the output folder.
INFORMATION: Pre-existing package.json file in the output folder didn't contain a non-empty version property.
INFORMATION: Pre-existing package.json file in the output folder didn't contain a non-empty version property.
4 changes: 2 additions & 2 deletions Samples/1f-output-to-stdout/shell/stdout.txt

Large diffs are not rendered by default.

21 changes: 0 additions & 21 deletions Samples/2a-validation/NodeJS/LICENSE.txt

This file was deleted.

2 changes: 2 additions & 0 deletions Samples/2a-validation/shell/stdout.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/d374d03801e97737ddb32e01f20513e7b2bbd9c3/arm-storage/2015-06-15/swagger/storage.json:74:6 ($.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}"].put)
- https://raw.githubusercontent.com/Azure/azure-rest-api-specs/d374d03801e97737ddb32e01f20513e7b2bbd9c3/arm-storage/2015-06-15/swagger/storage.json:800:4 ($.definitions.Resource)
https://aka.ms/autorest
INFORMATION: Getting the package version from the pre-existing package.json file in the output folder.
INFORMATION: Pre-existing package.json file in the output folder didn't contain a non-empty version property.
WARNING (DescriptionAndTitleMissing/R4000/SDKViolation): 'keyName' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
WARNING (DescriptionAndTitleMissing/R4000/SDKViolation): 'name' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
WARNING (DescriptionAndTitleMissing/R4000/SDKViolation): 'properties' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
Expand Down
Loading

0 comments on commit adcffa6

Please sign in to comment.