Skip to content

Commit 6a3caba

Browse files
Update patching guidelines for installer->sdk merge and UB schedule (#4512)
1 parent c647c27 commit 6a3caba

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

Documentation/patching-guidelines.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,14 @@ a patch file inside the repo:
2121
git format-patch --zero-commit --no-signature -1
2222
```
2323

24-
Then, move the patch file into the [installer repo](https://github.com/dotnet/installer/tree/main/src/SourceBuild/patches),
25-
at `src/SourceBuild/patches/<repo>`. If an existing directory for the repo does
26-
not already exist, you will need to create one.
24+
Then, move the patch file into the `src/SourceBuild/patches/<repo>` directory of the
25+
following repo:
26+
27+
* [.NET 9.0+] [sdk](https://github.com/dotnet/sdk/tree/main/src/SourceBuild/patches)
28+
* [.NET 8.0] [installer](https://github.com/dotnet/installer/tree/main/src/SourceBuild/patches)
29+
30+
If an existing directory for the repo does not already exist, you will need to
31+
create one.
2732

2833
> If you define `PATCH_DIR` to point at the `patches` directory, you can use
2934
> `-o` to place the patch file directly in the right directory:
@@ -103,8 +108,6 @@ by re-applying the changes to the repo and recreating the patch.
103108
## Unified Build Plans
104109
105110
The [Unified Build](https://github.com/dotnet/arcade/blob/main/Documentation/UnifiedBuild/README.md)
106-
project will eliminate the need for patches. During .NET 9.0, edit support will be
107-
added to the [VMR](https://github.com/dotnet/dotnet). In .NET 8.0
108-
the VMR is readonly. When the VMR supports edits, there is no need for patches as
109-
the required changes can be directly made in the VMR. All changes made to the VMR
110-
will automatically flow to the associated repos.
111+
project will add support for source edits in the [VMR](https://github.com/dotnet/dotnet).
112+
This will eliminate the need for patches as the required changes can be directly made in
113+
the VMR. All changes made to the VMR will automatically flow to the associated repos.

0 commit comments

Comments
 (0)