Skip to content

Conversation

@dagood
Copy link
Member

@dagood dagood commented Jul 13, 2021

Running darc update-dependencies on Windows changes some LF -> CRLF, and this thrashes with the darc update-dependencies results you get on Linux. This is because the Go repo explicitly disables autocrlf, but Arcade/dotnet repos enable it, and darc depends on that. To fix the thrash (and stick with LF), turn autocrlf back on for the files touched by auto-update.

A few of the auto-updated files are in the root, so we have to touch upstream's .gitattributes. 🙁 I added it to sync.go as an "always use our content" file so we won't hit a sync-breaking conflict if upstream changes it later.

I noticed that eng/README.md didn't have an explanation of MICROSOFT_UPSTREAM yet, so I added one.

Example auto-update: 4650c1e

I'm doing this as a stepping stone towards the SDL/Guardian work. That example auto-update includes the dotnet/arcade changes I made to make Arcade's SDL infra more flexible, and work for Go. (dotnet/arcade#7611)

@dagood dagood self-assigned this Jul 13, 2021
@dagood dagood requested a review from a user July 13, 2021 22:21
@dagood dagood requested a review from a team as a code owner July 13, 2021 22:21
@dagood dagood merged commit d897324 into microsoft:microsoft/main Jul 16, 2021
@dagood dagood deleted the arcade-update-norm branch July 16, 2021 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants