maui-linux/eng
Jonathan Dick 2ac61e5eb8
Update sourcelink, set deterministic builds in CI (#16127)
2023-07-13 12:12:57 +02:00
..
automation [vs-workload] Remove @(MultiTargetPackNames) (#14031) 2023-03-18 19:00:01 +00:00
cake [uitests] Run Control gallery tests with cake on iOS and Android (#15657) 2023-06-22 16:20:18 -05:00
common
devices [uitests] Run Control gallery tests with cake on iOS and Android (#15657) 2023-06-22 16:20:18 -05:00
docs
pipelines [uitests] Fix uitests pipelines triggers for Compatibility tests (#15830) 2023-06-26 20:48:28 +00:00
provisioning [Build] Clean up provisioning script (#11523) 2022-11-21 17:56:42 +00:00
scripts [uitests] Fix appium versions (#15453) 2023-06-05 19:57:37 +00:00
AndroidX.targets Android x nuget bumps (#15746) 2023-06-21 10:48:40 +01:00
BannedApis.targets
BannedSymbols.txt [android] remove ColorStateList(int[][],int[]) usage (#5654) 2022-07-18 11:46:25 -05:00
Environment.Build.props
Git.Build.targets Bump GitInfo from 2.1.2 to 2.2.0 (#8441) 2022-07-01 10:41:27 +01:00
ILRepack.exe Strong name the build tasks for the IDE (#14080) 2023-04-14 16:12:31 +02:00
ILRepack.targets Strong name the build tasks for the IDE (#14080) 2023-04-14 16:12:31 +02:00
Microsoft.Extensions.targets Bump WASDK and BuildTools (#13687) 2023-03-20 14:26:19 +01:00
Nuget.targets
PublicAPI.empty.txt [main] Fix up the Shipped/Unshipped APIs 2022-11-30 17:17:49 +02:00
README.md
ReplaceText.targets
SourceLink.Build.props Update sourcelink, set deterministic builds in CI (#16127) 2023-07-13 12:12:57 +02:00
UWP.Build.props
UWP.Build.targets
Version.Details.xml Update dependencies from https://github.com/dotnet/xharness build 20230626.1 (#15974) 2023-07-03 16:27:30 +01:00
Versions.dev.targets
Versions.props Update dependencies from https://github.com/dotnet/xharness build 20230626.1 (#15974) 2023-07-03 16:27:30 +01:00
Versions.targets
debug.keystore
microsoft.maui.controls.snk
package.ps1 Build MAUI with dotnet build (#8384) 2022-06-28 15:47:29 +02: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.