xamarin-android/eng
dotnet-maestro[bot] 795cc57bfd
Bump to dotnet/installer/release/8.0.1xx@e1fd7d9649 8.0.100-rc.2.23468.1 (#8330)
Changes: a6b9030047...e1fd7d9649
Changes: 3c48925a6c...287c10d253
Changes: 66dbaefff0...1999c8c8ab
Changes: fa5acbd2cc...a112f15aa0

Updates:

* Microsoft.Dotnet.Sdk.Internal: from 8.0.100-rc.2.23462.1 to 8.0.100-rc.2.23468.1
* Microsoft.NETCore.App.Ref: from 8.0.0-rc.2.23431.9 to 8.0.0-rc.2.23466.4
* Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport: from 8.0.0-rc.1.23415.5 to 8.0.0-rc.2.23463.1
* Microsoft.NET.ILLink.Tasks: from 8.0.0-rc.2.23431.9 to 8.0.0-rc.2.23466.4
* Microsoft.DotNet.Cecil: from 0.11.4-alpha.23428.2 to 0.11.4-alpha.23461.1
2023-09-18 10:19:50 -05:00
..
README.md [ci] Upload build asset data to darc/maestro (#5808) 2021-04-14 18:50:38 -04:00
Version.Details.xml Bump to dotnet/installer/release/8.0.1xx@e1fd7d9649 8.0.100-rc.2.23468.1 (#8330) 2023-09-18 10:19:50 -05:00
Versions.props Bump to dotnet/installer/release/8.0.1xx@e1fd7d9649 8.0.100-rc.2.23468.1 (#8330) 2023-09-18 10:19:50 -05: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.NetCore.App.Runtime.android-arm64 -t product -v 6.0.0-preview.2.21154.6 -r https://github.com/dotnet/runtime

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/xamarin/xamarin-android --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.

Build Asset Manifest Promotion

Builds from main and release branches will push NuGet package metadata to the darc/maestro Build Asset Registry. This build information will also be promoted to a default darc/maestro channel if one is configured. Default channels are manually managed at this time. To configure a new default repo+branch <-> channel association, run the darc add-default-channel command:

darc add-default-channel --channel ".NET 6" --branch "main" --repo https://github.com/xamarin/xamarin-android

When a new release branch is created, this command should look something like this:

darc add-default-channel --channel ".NET 6.0.1xx SDK Preview 4" --branch "release/6.0.1xx-preview4" --repo https://github.com/xamarin/xamarin-android

Other products/tools can consume our package version info in the following way:

darc add-dependency -n Microsoft.Android.Sdk.Windows -t product -r https://github.com/xamarin/xamarin-android -v 1.2.3