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

Added optional parameter in API Call #13640

Merged
merged 4 commits into from
Oct 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"loc.input.help.downloadPath": "Path on the agent machine where the package will be downloaded",
"loc.messages.FailedToGetPackageMetadata": "Failed to get package metadata with error %s",
"loc.messages.FailedToDownloadNugetPackage": "Failed to download NuGet package from %s got the following error: %s",
"loc.messages.Info_ResolvedToolFromCache": "Resolved from tool cache: %s",
"loc.messages.PackageDownloadSuccessful": "Package download successful",
"loc.messages.CredentialsNotFound": "Could not determine credentials to connect to Azure Artifacts service.",
"loc.messages.StartingDownloadOfPackage": "Starting download of NuGet package %s to location %s",
Expand All @@ -22,5 +21,6 @@
"loc.messages.ExtractionFailed": "Failed to extract package with error %s",
"loc.messages.RetryingOperation": "Error: in %s, so retrying => retries pending: %s",
"loc.messages.OperationFailed": "Failed in %s with error: %s",
"loc.messages.Info_ResolvedToolFromCache": "Resolved from tool cache: %s",
"loc.messages.UnsupportedProjectScopedFeeds": "Project-scoped feeds are not supported by this version of the \"Download Package\" task. Please use version 1 or higher."
}
4 changes: 2 additions & 2 deletions Tasks/DownloadPackageV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "ms-vscs-rm",
"version": {
"Major": 0,
"Minor": 175,
"Minor": 177,
"Patch": 0
},
"demands": [],
Expand Down Expand Up @@ -61,7 +61,7 @@
{
"target": "feed",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.id}}}{{/if}}\\/{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
},
Expand Down
7 changes: 4 additions & 3 deletions Tasks/DownloadPackageV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "ms-vscs-rm",
"version": {
"Major": 0,
"Minor": 175,
"Minor": 177,
"Patch": 0
},
"demands": [],
Expand Down Expand Up @@ -61,7 +61,7 @@
{
"target": "feed",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.id}}}{{/if}}\\/{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
},
Expand Down Expand Up @@ -105,6 +105,7 @@
"ExtractionFailed": "ms-resource:loc.messages.ExtractionFailed",
"RetryingOperation": "ms-resource:loc.messages.RetryingOperation",
"OperationFailed": "ms-resource:loc.messages.OperationFailed",
"Info_ResolvedToolFromCache": "ms-resource:loc.messages.Info_ResolvedToolFromCache",
"UnsupportedProjectScopedFeeds": "ms-resource:loc.messages.UnsupportedProjectScopedFeeds"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"loc.input.label.definition": "Package",
"loc.input.help.definition": "If you don't find the package in the list, you can provide the package ID, which you can find using the instructions [here](https://go.microsoft.com/fwlink/?linkid=2086778).",
"loc.input.label.version": "Version",
"loc.input.help.version": "Version of the package",
"loc.input.help.version": "Version of the package. Use `latest` to download the latest version of the package at runtime.",
"loc.input.label.files": "Files",
"loc.input.help.files": "Specify which files to download using [file matching patterns](https://go.microsoft.com/fwlink/?linkid=2086953).",
"loc.input.label.extract": "Extract package contents",
Expand Down
4 changes: 2 additions & 2 deletions Tasks/DownloadPackageV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "ms-vscs-rm",
"version": {
"Major": 1,
"Minor": 176,
"Minor": 177,
"Patch": 0
},
"demands": [],
Expand Down Expand Up @@ -119,7 +119,7 @@
{
"target": "feed",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.id}}}{{/if}}\\/{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
},
Expand Down
7 changes: 4 additions & 3 deletions Tasks/DownloadPackageV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "ms-vscs-rm",
"version": {
"Major": 1,
"Minor": 176,
"Minor": 177,
"Patch": 0
},
"demands": [],
Expand Down Expand Up @@ -119,7 +119,7 @@
{
"target": "feed",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.id}}}{{/if}}\\/{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
},
Expand Down Expand Up @@ -182,8 +182,9 @@
"RedirectUrlError": "ms-resource:loc.messages.RedirectUrlError",
"UnsupportedArchiveType": "ms-resource:loc.messages.UnsupportedArchiveType",
"Error_UnexpectedErrorArtifactToolDownload": "ms-resource:loc.messages.Error_UnexpectedErrorArtifactToolDownload",
"Info_ResolvedToolFromCache": "ms-resource:loc.messages.Info_ResolvedToolFromCache",
"Info_DownloadingArtifactTool": "ms-resource:loc.messages.Info_DownloadingArtifactTool",
"Info_Downloading": "ms-resource:loc.messages.Info_Downloading",
"Info_UsingArtifactToolDownload": "ms-resource:loc.messages.Info_UsingArtifactToolDownload"
}
}
}
6 changes: 3 additions & 3 deletions Tasks/MavenAuthenticateV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 175,
"Patch": 1
"Minor": 177,
"Patch": 0
},
"runsOn": [
"Agent",
Expand Down Expand Up @@ -44,7 +44,7 @@
{
"target": "artifactsFeeds",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{{name}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
Expand Down
6 changes: 3 additions & 3 deletions Tasks/MavenAuthenticateV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 0,
"Minor": 175,
"Patch": 1
"Minor": 177,
"Patch": 0
},
"runsOn": [
"Agent",
Expand Down Expand Up @@ -44,7 +44,7 @@
{
"target": "artifactsFeeds",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{{name}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
Expand Down
8 changes: 4 additions & 4 deletions Tasks/NuGetCommandV2/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 2,
"Minor": 175,
"Patch": 1
"Minor": 177,
"Patch": 0
},
"runsOn": [
"Agent",
Expand Down Expand Up @@ -459,14 +459,14 @@
{
"target": "feedRestore",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.id}}}\\/{{/if}}{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
},
{
"target": "feedPublish",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.id}}}\\/{{/if}}{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
Expand Down
8 changes: 4 additions & 4 deletions Tasks/NuGetCommandV2/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 2,
"Minor": 175,
"Patch": 1
"Minor": 177,
"Patch": 0
},
"runsOn": [
"Agent",
Expand Down Expand Up @@ -459,14 +459,14 @@
{
"target": "feedRestore",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.id}}}\\/{{/if}}{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
},
{
"target": "feedPublish",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.id}}}\\/{{/if}}{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"loc.friendlyName": "NuGet Restore",
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?LinkID=613747) or [see the NuGet documentation](https://docs.microsoft.com/nuget/)",
aasim marked this conversation as resolved.
Show resolved Hide resolved
"loc.helpMarkDown": "[Learn more about this task](https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget) or [see the NuGet documentation](https://docs.microsoft.com/nuget/)",
"loc.description": "Restores NuGet packages in preparation for a Visual Studio Build step.",
"loc.instanceNameFormat": "NuGet restore $(solution)",
"loc.group.displayName.advanced": "Advanced",
Expand Down
6 changes: 3 additions & 3 deletions Tasks/NuGetRestoreV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 154,
"Patch": 1
"Minor": 177,
"Patch": 0
},
"runsOn": [
"Agent",
Expand Down Expand Up @@ -114,7 +114,7 @@
{
"target": "feed",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.id}}}\\/{{/if}}{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
Expand Down
8 changes: 4 additions & 4 deletions Tasks/NuGetRestoreV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"name": "NuGetRestore",
"friendlyName": "ms-resource:loc.friendlyName",
"description": "ms-resource:loc.description",
"helpUrl": "https://go.microsoft.com/fwlink/?LinkID=613747",
"helpUrl": "https://docs.microsoft.com/azure/devops/pipelines/tasks/package/nuget",
"helpMarkDown": "ms-resource:loc.helpMarkDown",
"category": "Package",
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 154,
"Patch": 1
"Minor": 177,
"Patch": 0
},
"runsOn": [
"Agent",
Expand Down Expand Up @@ -114,7 +114,7 @@
{
"target": "feed",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.id}}}\\/{{/if}}{{{id}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
Expand Down
4 changes: 2 additions & 2 deletions Tasks/PipAuthenticateV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"category": "Package",
"version": {
"Major": 0,
"Minor": 175,
"Minor": 177,
"Patch": 0
},
"runsOn": [
Expand Down Expand Up @@ -62,7 +62,7 @@
{
"target": "feedList",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.name}}}\\/{{/if}}{{{name}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
Expand Down
6 changes: 3 additions & 3 deletions Tasks/PipAuthenticateV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"category": "Package",
"version": {
"Major": 0,
"Minor": 175,
"Minor": 177,
"Patch": 0
},
"runsOn": [
Expand Down Expand Up @@ -62,7 +62,7 @@
{
"target": "feedList",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.name}}}\\/{{/if}}{{{name}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
Expand All @@ -86,4 +86,4 @@
"Warn_TooManyFeedEntries": "ms-resource:loc.messages.Warn_TooManyFeedEntries",
"Warning_SessionCreationFailed": "ms-resource:loc.messages.Warning_SessionCreationFailed"
}
}
}
4 changes: 2 additions & 2 deletions Tasks/PipAuthenticateV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"category": "Package",
"version": {
"Major": 1,
"Minor": 175,
"Minor": 177,
"Patch": 0
},
"runsOn": [
Expand Down Expand Up @@ -71,7 +71,7 @@
{
"target": "artifactFeeds",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.name}}}\\/{{/if}}{{{name}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
Expand Down
4 changes: 2 additions & 2 deletions Tasks/PipAuthenticateV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"category": "Package",
"version": {
"Major": 1,
"Minor": 175,
"Minor": 177,
"Patch": 0
},
"runsOn": [
Expand Down Expand Up @@ -71,7 +71,7 @@
{
"target": "artifactFeeds",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.name}}}\\/{{/if}}{{{name}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
Expand Down
4 changes: 2 additions & 2 deletions Tasks/TwineAuthenticateV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"category": "Package",
"version": {
"Major": 0,
"Minor": 175,
"Minor": 177,
"Patch": 0
},
"runsOn": [
Expand Down Expand Up @@ -75,7 +75,7 @@
{
"target": "feedList",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.name}}}\\/{{/if}}{{{name}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
Expand Down
6 changes: 3 additions & 3 deletions Tasks/TwineAuthenticateV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"category": "Package",
"version": {
"Major": 0,
"Minor": 175,
"Minor": 177,
"Patch": 0
},
"runsOn": [
Expand Down Expand Up @@ -75,7 +75,7 @@
{
"target": "feedList",
"endpointId": "tfs:feed",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds",
"endpointUrl": "{{endpoint.url}}/_apis/packaging/feeds?excludeUrls=True",
"resultSelector": "jsonpath:$.value[*]",
"resultTemplate": "{ \"Value\" : \"{{#if project}}{{{project.name}}}\\/{{/if}}{{{name}}}\", \"DisplayValue\" : \"{{{name}}}\" }"
}
Expand Down Expand Up @@ -111,4 +111,4 @@
"argumentFormat": ""
}
}
}
}
Loading