Runtime: Upgrade mirror to Run for multiple branches (Release and Master branches)

Created on 20 Apr 2018  路  17Comments  路  Source: dotnet/runtime

We have noticed there are several commits missing in the coreclr release/2.1 branch that exists in corefx release/2.1 branch.

This means the mirror is not running on the release/2.1 branch and only runs on master.

This could lead to unexpected bugs in the product. For example, this PR just got opened for master, but corefx/2.1 and coreclr/2.1 are out of sync: https://github.com/dotnet/coreclr/pull/17709

cc @weshaggard, @RussKeldorph, @joshfree, @Anipik, @safern

area-Infrastructure-libraries

All 17 comments

The mirror's code will need to be updated to be able to specify branches we want to mirror across repos and then the mirror will have to listen to all branches that it has in the settings file to update them if needed. Shouldn't be hard, but it is still a code change. Currently I don't have bandwidth to do it, but maybe @Anipik could do it.

cc: @danmosemsft

@safern @danmosemsft I can take a look at the mirror code to do that

@danmosemsft ran the mirror manually for the 2.1 branches: https://github.com/dotnet/corefx/pull/29256 / https://github.com/dotnet/coreclr/pull/17713

Changing to blocking-release rather than blocking-RC1.

@ahsonkhan @Anipik whats the status here? We are running out of time in 2.1.

@Petermarcu The changes are in testing phase.
During my last conversation with @danmosemsft we were not sure if we want to start running the new mirror for 2.1

Are we out of sync or are we fine for 2.1? @danmosemsft

We should be manually syncing for 2.1 release. This is essentially only relevant to Span and Path. @anipik please manually diff and confirm they are in sync.

@danmosemsft they are not in sync.
https://github.com/dotnet/coreclr/commit/df6249119586492a77a17a0218760c40bd1d4caf is missing from the corefx. Rest all is good. should i add it manually ?

dotnet/coreclr@df62491 is missing from the corefx

https://github.com/dotnet/corefx/pull/29611 shouldn't have any impact, as it's mirrored as part of the common folder but it's not built into anything in corefx, e.g.

d:\repos\corefx\src>findstr /s /c:"Number.Parsing.cs" *.csproj

d:\repos\corefx\src>

Even though it's not built I suggest sending mail to shiproom @anipik with the usual template so we can get the ok to merge this as theres value in a consistent state.
@anipik please check the diff each day from now until we ship or you have the mirror working.

Can we close this one now? We did the manual merge?

shouldnt we just move the milestone to the future as we are currently working to run the mirror for multiple branches ?

That would be fine too. We'd have to change the title as well then and remove the "blocking-release" tag. My goal is to get it off the radar of things blocking 2.1.

please check the diff each day from now until we ship or you have the mirror working.

What about this? Or do we except no more changes now.

What about this? Or do we except no more changes now.

I will be checking it regularly until the mirror is set up (Its in the pipeline)

@danmosemsft the PR for this issue has been merged. Should we start using the new mirror ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

noahfalk picture noahfalk  路  3Comments

nalywa picture nalywa  路  3Comments

btecu picture btecu  路  3Comments

jkotas picture jkotas  路  3Comments

bencz picture bencz  路  3Comments