Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Arcade auto-update normalization; explain MICROSOFT_UPSTREAM #129

Merged
merged 2 commits into from
Jul 16, 2021
Merged

Fix Arcade auto-update normalization; explain MICROSOFT_UPSTREAM #129

merged 2 commits into from
Jul 16, 2021

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 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