You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ReferenceResolution.md
+61-13Lines changed: 61 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -100,16 +100,64 @@ is changing to `Microsoft.AspNetCore.BetterThanOrange`, you would need to make t
100
100
</ItemGroup>
101
101
```
102
102
103
-
## Updating dependencies manually
104
-
105
-
If the `dotnet-maestro` bot has not correctly updated the dependencies, it may be worthwhile running `darc` manually:
106
-
107
-
1. Install `darc` as described in <https://github.com/dotnet/arcade/blob/master/Documentation/Darc.md#setting-up-your-darc-client>
108
-
2. Run `darc update-dependencies --channel '.NET Core 3.1 Release'`
109
-
* Use `'trigger-subscriptions'` to prod the bot to create a PR if you do not want to make local changes
110
-
* Use `'.NET 3 Eng''` to update dependencies from dotnet/arcade
111
-
* Use `'.NET Eng - Latest'` to update dependencies from dotnet/arcade in the `master` branch
112
-
* Use `'VS Master'` to update dependencies from dotnet/roslyn in the `master` branch
113
-
* Use `'.NET 5 Dev'` to update dependencies from dotnet/efcore or dotnet/runtime in the `master` branch
114
-
3.`git diff` to confirm the tool's changes
115
-
4. Proceed with usual commit and PR
103
+
## A darc cheatsheet
104
+
105
+
`darc` is a command-line tool that is used for dependency management in the dotnet ecosystem of repos. `darc` can be installed using the `darc-init` scripts located inside the `eng/common` directory. Once `darc` is installed, you'll need to set up the appropriate access tokens as outlined [in the official Darc docs](https://github.com/dotnet/arcade/blob/master/Documentation/Darc.md#setting-up-your-darc-client).
106
+
107
+
Once `darc` is installed and set-up, it can be used to modify the subscriptions and dependencies in a project.
108
+
109
+
**Getting the list of subscriptions in a repo**
110
+
111
+
Subscriptions are objects that define the ecosystem repos we are listening for updates to, the frequency we are looking for updates, and more.
If the `dotnet-maestro` bot has not correctly updated the dependencies, `darc update-dependencies` may be used to update the dependencies manually. Note, you'll need to run the commands below in a separate branch and submit a PR with the changes. These are the things that the bot should do for you if you use `trigger-subscriptions` or automatically (when the subscription fires e.g. about 15 minutes after a dependency's build completes if `Update Frequency: EveryBuild`).
Generally, using `trigger-subscriptions` is preferred for creating dependency updates instead of manually updating dependencies in your own PR.
142
+
143
+
**Toggling batchability of subscription**
144
+
145
+
Subscriptions can be batched. When a dependency update is detected, `darc` will bundle the commits for that update with existing dependency PRs. To toggle whether a subscription is batched or not, you will need to use the `update-subscription` command.
0 commit comments