Skip to content

Commit 963c7f7

Browse files
authored
Merge branch 'MicrosoftDocs:main' into update-docker-agent-pipeline
2 parents 5398699 + e0a240e commit 963c7f7

29 files changed

+910
-140
lines changed
51.4 KB
Loading
35.1 KB
Loading

docs/artifacts/concepts/upstream-behavior.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: Configure upstream behavior
3-
description: Allow or block the consumption of package versions from public registries.
3+
description: How to allow external package versions.
44
ms.technology: devops-artifacts
55
ms.topic: conceptual
6-
ms.date: 02/23/2022
6+
ms.date: 05/26/2022
77
ms.author: rabououn
88
author: ramiMSFT
99
monikerRange: '<= azure-devops'
@@ -13,15 +13,15 @@ monikerRange: '<= azure-devops'
1313

1414
[!INCLUDE [version-lt-eq-azure-devops](../../includes/version-lt-eq-azure-devops.md)]
1515

16-
Upstream sources enables developers to use a single feed to publish and consume packages from Artifact feeds and public registries such as NuGet.org or npmjs.com. To set up upstream sources for your feed, check the box to **include packages from common public sources**. This will allow your feed to use packages from the common public registries.
16+
With upstream sources, developers can use a single feed to publish and consume packages from Artifact feeds and public registries such as NuGet.org or npmjs.com. To set up upstream sources for your feed, check the box to **include packages from common public sources**. This will allow your feed to use packages from the common public registries.
1717

1818
:::image type="content" source="media/include-upstream-sources.png" alt-text="Include packages from common public sources checkbox":::
1919

2020
Previously, Artifact feeds combined a list of available package versions from the feed and all the upstream sources.
2121

2222
:::image type="content" source="media/previous-behavior.svg" alt-text="Previous upstream sources behavior":::
2323

24-
Upstream behavior is a feature that enables developers to choose if they want to consume externally-sourced package versions. Upstream behavior dictates which packages will be made available from the public registries for individual packages.
24+
Upstream behavior is a feature that enables developers to choose if they want to consume externally sourced package versions. Upstream behavior dictates which packages will be made available from the public registries for individual packages.
2525

2626
When the upstream behavior is enabled, when a package is published to your Azure Artifacts feed, any version from the public registry will be blocked and not made available for download.
2727

@@ -38,7 +38,7 @@ The next section shows a few common scenarios where the upstream behavior is tri
3838

3939
## Public versions will be blocked
4040

41-
- **Private package version made public**: in this scenario, a team has a private package that was made public. The upstream behavior in this case will be triggered to block any new public versions (untrusted packages).
41+
- **Private package version made public**: in this scenario, a team has a private package that was made public. The upstream behavior in this case will be triggered to block any new public versions (untrusted packages).
4242

4343
:::image type="content" source="media\internal-to-public.svg" alt-text="Internal package version made public":::
4444

@@ -49,7 +49,7 @@ The next section shows a few common scenarios where the upstream behavior is tri
4949
## Public versions will not be blocked
5050

5151
- **All packages are private**: if all existing packages are private and the team won't be consuming any public packages, the new upstream behavior will have no effect on the team's workflow in this scenario.
52-
52+
5353
:::image type="content" source="media\only-private-packages.svg" alt-text="private packages only":::
5454

5555
- **All packages are public**: if all the packages consumed are public, whether it's from the public registry or any other open-source repositories, the new upstream behavior will have no effect on the team's workflow in this scenario.
@@ -63,11 +63,17 @@ The next section shows a few common scenarios where the upstream behavior is tri
6363
## Allow external versions
6464

6565
> [!NOTE]
66-
> Only feed owners are allowed to configure the upstream behavior. See [Feed permissions](../feeds/feed-permissions.md) for more details.
66+
> You must be a feed **Owner** or a feed **Administrator** to allow externally sourced versions. See [Feed permissions](../feeds/feed-permissions.md) for more details.
67+
68+
1. Select **Artifacts**, and then select your feed.
69+
70+
1. Select your package, and then select the ellipsis button for more options. Select **Allow externally-sourced versions**.
6771

68-
To configure the new upstream behavior, select a package from within your feed then select the toggle button to **Allow external sourced versions**.
72+
:::image type="content" source="media\external-versions.png" alt-text="A screenshot showing how to set up external versions.":::
6973

70-
:::image type="content" source="media\allow-external-sourced-versions.png" alt-text="Allow external sourced versions toggle button":::
74+
1. Select the toggle button to allow external versions. Select **Close** when you're done.
75+
76+
:::image type="content" source="media\allow-external-versions.png" alt-text="A screenshot showing how to allow external versions.":::
7177

7278
## Allow external versions using the REST API
7379

@@ -77,7 +83,7 @@ Aside from using the feed's user interface, you can also configure the upstream
7783

7884
- [Get upstreaming behavior](/rest/api/azure/devops/artifactspackagetypes/nuget/get-upstreaming-behavior)
7985
- [Set upstreaming behavior](/rest/api/azure/devops/artifactspackagetypes/nuget/set-upstreaming-behavior)
80-
86+
8187
#### [npm](#tab/npm/)
8288

8389
- [Get upstreaming behavior](/rest/api/azure/devops/artifactspackagetypes/npm/get-package-upstreaming-behavior)
@@ -95,12 +101,11 @@ Aside from using the feed's user interface, you can also configure the upstream
95101
- [Get upstreaming behavior](/rest/api/azure/devops/artifactspackagetypes/maven/get-upstreaming-behavior)
96102
- [Set upstreaming behavior](/rest/api/azure/devops/artifactspackagetypes/maven/set-upstreaming-behavior)
97103

98-
* * *
104+
* * *
99105

100106
## Allow external versions with PowerShell
101107

102-
To successfully execute the next steps in this section, you will need to create a personal access token with packaging **Read, write, & manage** permissions. See [Use personal access tokens](../../organizations/accounts/use-personal-access-tokens-to-authenticate.md) to learn how to create your personal access token.
103-
108+
To successfully execute the next steps in this section, you will need to [create a personal access token](../../organizations/accounts/use-personal-access-tokens-to-authenticate.md#create-a-pat) with **Packaging** > **Read, write, & manage** permissions.
104109

105110
:::image type="content" source="media\packaging-permissions.png" alt-text="select packaging permissions":::
106111

@@ -116,7 +121,6 @@ The following commands will convert your personal access token to baser64 encode
116121
$token = [Convert]::ToBase64String(([Text.Encoding]::ASCII.GetBytes("username:$env:PatVar")))
117122
$headers = @{
118123
Authorization = "Basic $token"
119-
}
120124
```
121125

122126
Invoking the REST method requires an endpoint url. Enter your `OrganizationName`, `ProjectName`, `FeedName`, `Protocol`, and your `PackageName` to construct the `$Url` variable. (Project-scoped feed example: /pkgs.dev.azure.com/MyOrg/MyProject/_apis/packaging/feeds/MyFeed/nuget/packages/Myapp1.0.nupkg/upstreaming?api-version=6.1-preview.1)
@@ -133,8 +137,6 @@ $url = "https://pkgs.dev.azure.com/{OrganizationName}/{ProjectName}/_apis/packag
133137
$url = "https://pkgs.dev.azure.com/{OrganizationName}/_apis/packaging/feeds/{FeedName}/{Protocol}/packages/{PackageName}/upstreaming?api-version=6.1-preview.1"
134138
```
135139

136-
Now that we have both the header and the endpoint URL set up, we can start sending HTTP requests to get, set, and clear upstreaming for any specific package.
137-
138140
### Get upstreaming behavior
139141

140142
Run the following command to retrieve the upstream behavior state of your package. `$url` and `$headers` are the same variables we used in the previous section.
@@ -153,6 +155,9 @@ $body = '{"versionsFromExternalUpstreams": "AllowExternalVersions"}'
153155
Invoke-RestMethod -Uri $url -Headers $headers -Body $body -Method Patch -ContentType "application/json"
154156
```
155157

158+
> [!NOTE]
159+
> In some cases, setting up the upstream behavior can take time to propagate across the service. If your package is not available after updating the settings, please allow up to 3 hours for the new settings to take effect.
160+
156161
### Clear upstreaming behavior
157162

158163
To clear the upstream behavior for your package, run the following commands to set `versionsFromExternalUpstreams` to `Auto` and query the REST API.
@@ -163,9 +168,6 @@ $body = '{"versionsFromExternalUpstreams": "Auto"}'
163168
Invoke-RestMethod -Uri $url -Headers $headers -Body $body -Method Patch -ContentType "application/json"
164169
```
165170

166-
> [!NOTE]
167-
> In some cases, configuring the upstream behavior can take time to propagate across the service. If your package is not available after updating the settings, please allow up to 3 hours for the new settings to take effect.
168-
169171
## Related articles
170172

171173
- [Understand upstream sources](upstream-sources.md)

docs/boards/queries/linking-attachments.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,8 @@ The following table describes fields associated with links and attachments. Most
352352
:::column span="3":::
353353
When included as a column option in a backlog or query results list, the **Title** of the parent work item is displayed. Internally, the system stores the ID of the work item within an Integer field.
354354
> [!NOTE]
355-
> The **Parent** field is available from Azure DevOps Server 2020 and later versions. You can't specify this field within a query clause.
355+
> The **Parent** field is available from Azure DevOps Server 2020 and later versions. You can't specify this field within a query clause.
356+
356357
Reference Name=System.Parent, Data type=Integer
357358
:::column-end:::
358359
:::column span="1":::

docs/boards/queries/planning-ranking-priorities.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ The following table describes the fields that you can use to plan and prioritize
115115
**Blocked**
116116
:::column-end:::
117117
:::column span="2":::
118-
Indicates that no further work can be performed on the work item. If an issue has been opened to track a blocking problem, a link should be made to the issue.
118+
Indicates that no further work can be performed on the work item. If an issue has been opened to track a blocking problem, a link should be made to the issue.
119+
- For the Scrum process, task work items: You can specify **Yes** or clear the field.
120+
- For the CMMI process work items: You can specify **Yes** or **No**.
119121

120-
You can specify **Yes** or **No**.
121-
122-
Reference name=Microsoft.VSTS.CMMI.Blocked, Data type=String
122+
Reference name=Microsoft.VSTS.CMMI.Blocked, Data type=String
123123
:::column-end:::
124124
:::column span="1":::
125125
Bug, Change Request, Requirement, Risk, Task (CMMI, Scrum)

docs/boards/queries/query-by-date-or-current-iteration.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,11 @@ You can use date fields to filter your queries. Some of these fields are populat
512512
:::column-end:::
513513
:::column span="2":::
514514
The date and time when the schedule indicates that the task will start.
515-
Reference name=Microsoft.VSTS.Scheduling.StartDate, Data type=DateTime
515+
::: moniker range="azure-devops"
516+
> [!NOTE]
517+
> [Delivery Plans](../plans/review-team-plans.md) uses the **Start Date** and **Target Date** to show the span of Features, Epics, and other portfolio backlog items.
518+
::: moniker-end
519+
Reference name=Microsoft.VSTS.Scheduling.StartDate, Data type=DateTime
516520
:::column-end:::
517521
:::column span="1":::
518522
Epic, Feature, Requirement, Task, Test Plan, User Story
@@ -535,15 +539,15 @@ You can use date fields to filter your queries. Some of these fields are populat
535539
Target Date
536540
:::column-end:::
537541
:::column span="2":::
538-
The date by which a feature or work item is to be completed.
542+
The date by which a feature, work item, or issue is to be completed or resolved.
539543
::: moniker range="azure-devops"
540544
> [!NOTE]
541-
> [Delivery Plans](../plans/review-team-plans.md) uses the Start Date and Target Date to show the span of Features, Epics, and other portfolio backlog items.
545+
> [Delivery Plans](../plans/review-team-plans.md) uses the **Start Date** and **Target Date** to show the span of Features, Epics, and other portfolio backlog items.
542546
::: moniker-end
543547
Reference name=Microsoft.VSTS.Scheduling.TargetDate, Data type=DateTime
544548
:::column-end:::
545549
:::column span="1":::
546-
Epic, Feature
550+
Epic, Feature
547551
:::column-end:::
548552
:::row-end:::
549553

docs/pipelines/apps/windows/cpp.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ This guidance explains how to automatically build C++ projects for Windows.
2323
This example shows how to build a C++ project. To start, import (into Azure Repos or TFS) or fork (into GitHub) this repo:
2424

2525
```
26-
https://github.com/adventworks/cpp-sample
26+
https://github.com/MicrosoftDocs/pipelines-cpp
2727
```
2828

2929
::: moniker range="< azure-devops"
30+
3031
> [!NOTE]
3132
> This scenario works on TFS, but some of the following instructions might not exactly match the version of TFS that you are using. Also, you'll need to set up a self-hosted agent, possibly also installing software. If you are a new user, you might have a better learning experience by trying this procedure out first using a free Azure DevOps organization. Then change the selector in the upper-left corner of this page from Team Foundation Server to **Azure DevOps**.
33+
3234
::: moniker-end
3335

3436
* After you have the sample code in your own repository, create a pipeline using the instructions in [Create your first pipeline](../../create-first-pipeline.md) and select the **.NET Desktop** template. This automatically adds the tasks required to build the code in the sample repository.
@@ -45,13 +47,13 @@ It is often required to build your app in multiple configurations. The following
4547

4648
* `BuildPlatform` = `x86, x64`
4749

48-
2. Select **Tasks** and click on the **agent job**. From the **Execution plan** section, select **Multi-configuration** to change the options for the job:
50+
1. Select **Tasks** and click on the **agent job**. From the **Execution plan** section, select **Multi-configuration** to change the options for the job:
4951

5052
* Specify **Multipliers:** `BuildConfiguration, BuildPlatform`
5153

5254
* Specify **Maximum number of agents**
5355

54-
3. Select **Parallel** if you have multiple build agents and want to build your configuration/platform pairings in parallel.
56+
1. Select **Parallel** if you have multiple build agents and want to build your configuration/platform pairings in parallel.
5557

5658
## Copy output
5759

@@ -60,4 +62,3 @@ To copy the results of the build to Azure Pipelines, perform these steps:
6062
1. Click the [Copy Files task](../../tasks/utility/copy-files.md). Specify the following arguments:
6163

6264
* **Contents:** `**\$(BuildConfiguration)\**\?(*.exe|*.dll|*.pdb)`
63-

docs/report/dashboards/analytics-widgets.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Analytics widgets
33
titleSuffix: Azure DevOps
44
description: Learn about the widgets based on Analytics data that you can add to a dashboard in Azure DevOps.
55
ms.technology: devops-analytics
6-
ms.reviewer: romik
76
ms.author: kaelli
87
author: KathrynEE
98
ms.topic: conceptual

docs/report/extend-analytics/analytics-metadata.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
title: Explore the OData metadata for Analytics
33
titleSuffix: Azure DevOps
44
description: Learn about the entity model OData metadata defined for Analytics in Azure DevOps.
5-
ms.technology: devops-analytics
6-
ms.reviewer: angurusw
5+
ms.technology: devops-analytics
76
ms.author: kaelli
87
author: KathrynEE
98
ms.topic: tutorial

docs/report/extend-analytics/data-model-analytics-service.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,24 @@ ms.author: kaelli
88
author: KathrynEE
99
ms.topic: conceptual
1010
monikerRange: '>= azure-devops-2019'
11-
ms.date: 09/30/2020
11+
ms.date: 05/25/2022
1212
---
1313

1414
# Data model for Analytics
1515

1616
[!INCLUDE [version-gt-eq-2019](../../includes/version-gt-eq-2019.md)]
1717

18-
Analytics data model for Azure DevOps consists of entity sets, whose members (entities) contain properties that can be filtered, aggregated, and summarized. Additionally, they contain [navigation properties](https://www.odata.org/getting-started/basic-tutorial/#relationship) that relate entities to one other, providing access to other properties for selecting, filtering, and grouping.
18+
The Analytics data model for Azure DevOps consists of entity sets, whose members (entities) contain properties that can be filtered, aggregated, and summarized. Additionally, they contain [navigation properties](https://www.odata.org/getting-started/basic-tutorial/#relationship) that relate entities to one other, providing access to other properties for selecting, filtering, and grouping.
1919

2020
[!INCLUDE [temp](../includes/analytics-preview.md)]
2121

2222

23+
## Schema namespaces
24+
25+
The Analytics data model is based on two schema namespaces:
26+
- `Microsoft.VisualStudio.Services.Analytics.Model`
27+
- `Microsoft.VisualStudio.Services.Analytics`.
28+
2329
<a id="entities" />
2430

2531
## EntityTypes and EntitySets
@@ -60,11 +66,11 @@ The following **EntitySets** are supported with the indicated API versions. For
6066
> |----------------------|-------------|------|------|--------------|--------------|
6167
> |**Area**/<br/>**Areas** |The work item **Area Paths**, with properties for grouping and filtering by area hierarchy. | ✔️|✔️|✔️ | ✔️ |
6268
> |**Iteration**/<br/>**Iterations** | The work item **Iteration Paths**, with properties for grouping and filtering by iteration hierarchy. |✔️|✔️|✔️ | ✔️ |
63-
> |**BoardLocation**/<br/>**BoardLocations** |The Kanban board cell locations, as identified by board column, lane, and split, includes historic board settings. For a description of each Kanban board field, see [Workflow and Kanban board fields](../../boards/queries/query-by-workflow-changes.md#workflow-and-kanban-board-fields).| ✔️|✔️|✔️ | ✔️ |
69+
> |**BoardLocation**/<br/>**BoardLocations** |The Kanban board cell locations, as identified by board column, swimlane, and split, includes historic board settings. For a description of each Kanban board field, see [Workflow and Kanban board fields](../../boards/queries/query-by-workflow-changes.md#workflow-and-kanban-board-fields).| ✔️|✔️|✔️ | ✔️ |
6470
> |**CalendarDate**/<br/>**Dates** | The dates used to filter and group other entities using relationships. | ✔️|✔️|✔️ | ✔️ |
65-
> |**Project**/<br/>**Projects** |All projects defined for an organization. |✔️|✔️|✔️ | ✔️ |
71+
> |**Project**/<br/>**Projects** |All projects defined for an organization (cloud) or project collection (on-premises). |✔️|✔️|✔️ | ✔️ |
6672
> |**Process**/<br/>**Processes** |Backlog information used to expand or filter work items and work item types. For an example that uses **Processes** to filter a report, see [Requirements tracking sample report](../powerbi/sample-stories-overview.md). | |✔️|✔️ | ✔️ |
67-
> |**Tag**/<br/>**Tags** | All work item tags for each project. For an example that uses **Tags** to filter a report, see [Release burndown sample report](../powerbi/sample-boards-releaseburndown.md). | ✔️|✔️|✔️ |
73+
> |**Tag**/<br/>**Tags** | All work item tags for each project. For an example that uses **Tags** to filter a report, see [Release burndown sample report](../powerbi/sample-boards-releaseburndown.md). | ✔️|✔️|✔️ | ✔️ |
6874
> |**Team**/<br/>**Teams** | All teams defined for the project. For an example that uses **Teams** to filter a report, see [Add a Team slicer to a Power BI report](../powerbi/sample-boards-teamslicer.md). | ✔️|✔️|✔️ | ✔️ |
6975
> |**User**/<br/>**Users** |User information that is used to expand or filter various work item properties, for example **Assigned To**, **Created By**. | ✔️|✔️|✔️ | ✔️ |
7076
> |**WorkItemBoardSnapshot**/<br/>**WorkItemBoardSnapshot** |(Composite) The state of each work item on each calendar date, including Kanban board location, used to generate trend reports. For a sample report, see [Cumulative Flow Diagram (CFD) sample report](../powerbi/sample-boards-cfd.md). | ✔️|✔️|✔️ | ✔️ |

0 commit comments

Comments
 (0)