maui/eng
Rui Marinho 5254a8de4b
Sign release branches by default (#921)
2021-05-03 14:20:53 +01:00
..
automation Add build/signing details for BlazorWebView control (#803) 2021-04-21 19:17:21 -04:00
devices Clean up iOS simulators (#545) 2021-03-18 15:13:30 +02:00
docs Project restructure (#12238) 2020-09-30 11:31:20 -05:00
pipelines Sign release branches by default (#921) 2021-05-03 14:20:53 +01:00
provisioning Merge branch 'main' into main-handler 2021-02-08 19:09:38 -06:00
scripts [Handlers] Register handlers and use Microsoft.Extensions for Hosting and Dependency Injection (#12460) 2021-02-23 20:05:46 +00:00
AndroidX.targets Backport Navigation to Preview 4 (#861) 2021-04-27 15:41:36 +01:00
Environment.Build.props Csharp9 (#640) 2021-04-05 09:34:03 -04:00
Git.Build.targets [Build] Fix GitInfo usage to calculate version (#501) 2021-03-12 23:37:31 +00:00
Microsoft.Extensions.targets Use Maui for the essentials sample (#786) 2021-04-20 16:21:30 -04:00
Nuget.targets Project restructure (#12238) 2020-09-30 11:31:20 -05:00
README.md [build] Use arcade dependency management (#729) 2021-04-15 19:49:21 +01:00
SourceLink.Build.props Project restructure (#12238) 2020-09-30 11:31:20 -05:00
UWP.Build.props Convert UAP Platform Head to use WinUI 3 Desktop (#13584) 2021-02-11 18:09:28 +00:00
UWP.Build.targets Convert UAP Platform Head to use WinUI 3 Desktop (#13584) 2021-02-11 18:09:28 +00:00
Version.Details.xml Update dependencies from https://github.com/xamarin/xamarin-macios build 20210501.3 (#909) 2021-05-01 09:48:51 -04:00
Versions.props Update dependencies from https://github.com/xamarin/xamarin-macios build 20210501.3 (#909) 2021-05-01 09:48:51 -04:00
Versions.targets [build] Use arcade dependency management (#729) 2021-04-15 19:49:21 +01:00
debug.keystore Fix readme language and Remove non functional bits (#12333) 2020-10-02 10:33:09 -05:00
dogfood.ps1 [build] Use arcade dependency management (#729) 2021-04-15 19:49:21 +01:00
microsoft.maui.controls.snk Rename all of the things... All of them. (#13847) 2021-02-24 23:50:31 +00:00
package.ps1 Copy all upstream XBF files downstream (#870) 2021-04-27 21:18:50 -04:00

README.md

The eng folder contains and is used by parts of the https://github.com/dotnet/arcade SDK.

Dependency Management

The Arcade SDK contains a tool known as darc, which can be used to manage and query the relationships between repositories in the dotnet ecosystem.

The eng/Version.Details.xml and eng/Versions.props files contain information about the products and tooling that this repository depends on.

Many dotnet repositories use a publishing workflow that will push build artifact data to a central location known as the "Build Asset Registry". This data includes a "channel" association, which is used to determine when an update for a particular product or tool is available. Local updates and automatic update "subscriptions" compare the version files in the repository against the versions avalable in the channel that you are interested in. The darc tool is used facilitate these updates.

To work with darc locally, see the setting up your darc client docs. You'll need to run a script in the dotnet/arcade repo to install the dotnet global tool, join the arcade-contrib GitHub team, and run the darc authenticate command to add the PATs required by the tool.

The GitHub PAT that you add must have the full repo scope enabled if you want to work with any of the subcription commands. Subscriptions control the automated creation of dependency update pull requests.

To add a new dependency, run the darc add-dependency command at the root of the repository:

darc add-dependency -n Microsoft.Dotnet.Sdk.Internal -t product -v 6.0.0-preview.2.21154.6 -r https://github.com/dotnet/installer

To update all dependencies, use the darc update-dependencies command:

darc update-dependencies --channel ".NET 6"

To configure automatic updates, use the darc add-subscription command to enroll a target repo/branch into updates from a particular channel:

darc add-subscription --channel ".NET 6" --source-repo https://github.com/dotnet/installer --target-repo https://github.com/dotnet/maui --target-branch main --update-frequency everyWeek --standard-automerge

Once a subscription is configured, pull requests will be created automatically by the dotnet Maestro bot whenever dependency updates are available.

Subscriptions need to be manually managed at this time. For example, when a release branch is created, someone with darc installed locally will need to run the add-subscription command to configure updates against that new branch.