Re: [Wikitech-l] Github: WMFGerrit closing pull requests

2019-08-06 Thread Joe Walsh
It’s worth mentioning that branches were deleted even if they weren’t a part of 
an open pull request. For example, on the wikipedia-ios repo, every branch 
created in the last three years was deleted. If you had work on a branch on 
GitHub that you don’t have locally, you should verify that it’s still available.

> On Aug 5, 2019, at 5:51 PM, Tyler Cipriani  wrote:
> 
> tl;dr: If your team doesn't do any development on GitHub then this email 
> likely doesn't affect you.
> 
> As you may or may not know there is now a read-only replica of Gerrit 
> available at https://gerrit-replica.wikimedia.org/ (hooray); however, over 
> the weekend we noticed some missing tags from that mirror (boo).
> 
> To fix the missing tags for the replica I forced replication to run for all 
> repos in Gerrit today as part of a configuration restart. After a replication 
> sync I was able to ensure that all repos on the new replica were now 
> up-to-date; however, it also closed all the pull requests that were made via 
> pushing branches to wikimedia-org GitHub repos (which is the work flow of 
> several apps teams and possibly others).
> 
> Apologies for the inconvenience and thanks to Dmitry Brant and Joe Walsh for 
> pinging me about the problem.
> 
> I've since removed GitHub as a "mirror" -- meaning Gerrit will not delete 
> branches there. Paladox has filed a task upstream to allow us to specify a 
> full replication for a particular remote (i.e., gerrit-replica but not 
> GitHub) instead of all remotes[0], and for added suspenders for our belt I've 
> made a patch set that should exclude these projects from replicating to from 
> Gerrit to GitHub in the future[1].
> 
> I think all of the fallout of this change is taken care of (judging from my 
> GitHub search): 
> 
> 
> But if your project was affected, please either reach out to me or add your 
> project to the GitHub exclusion list in Puppet like in my patchset[1] and add 
> me as a reviewer.
> 
> Thanks and sorry
> -- Tyler
> 
> [0]. 
> [1]. 
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Github: WMFGerrit closing pull requests

2019-08-05 Thread Tyler Cipriani
tl;dr: If your team doesn't do any development on GitHub then this email 
likely doesn't affect you.


As you may or may not know there is now a read-only replica of Gerrit 
available at https://gerrit-replica.wikimedia.org/ (hooray); however, 
over the weekend we noticed some missing tags from that mirror (boo).


To fix the missing tags for the replica I forced replication to run for 
all repos in Gerrit today as part of a configuration restart. After a 
replication sync I was able to ensure that all repos on the new replica 
were now up-to-date; however, it also closed all the pull requests that 
were made via pushing branches to wikimedia-org GitHub repos (which is 
the work flow of several apps teams and possibly others).


Apologies for the inconvenience and thanks to Dmitry Brant and Joe 
Walsh for pinging me about the problem.


I've since removed GitHub as a "mirror" -- meaning Gerrit will not 
delete branches there. Paladox has filed a task upstream to allow us to 
specify a full replication for a particular remote (i.e., gerrit-replica 
but not GitHub) instead of all remotes[0], and for added suspenders for 
our belt I've made a patch set that should exclude these projects from 
replicating to from Gerrit to GitHub in the future[1].


I think all of the fallout of this change is taken care of (judging from 
my GitHub search): 



But if your project was affected, please either reach out to me or add 
your project to the GitHub exclusion list in Puppet like in my 
patchset[1] and add me as a reviewer.


Thanks and sorry
-- Tyler

[0]. 
[1]. 


signature.asc
Description: PGP signature
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l