[SERVER-50401] Handle patches applied as commits Created: 20/Aug/20  Updated: 29/Oct/23  Resolved: 26/Aug/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0, 4.4.2

Type: Improvement Priority: Major - P3
Reporter: Jonathan Brill Assignee: David Bradford (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2
Sprint: DAG 2020-09-07
Participants:
Story Points: 3

 Description   

Motivation for Request

Tests need to be able to extract diffs from Evergreen patches applied as commits.

Context

Evergreen would like to apply most regular patches as commits, breaking tests which rely on the previous behavior where Evergreen applied changes to the index without committing.

Description

We should look for a command that will get the diff no matter whether the changes have been committed, applied to the index, or exist only in the working tree.



 Comments   
Comment by Githook User [ 05/Oct/20 ]

Author:

{'name': 'David Bradford', 'email': 'david.bradford@mongodb.com', 'username': 'dbradf'}

Message: SERVER-50401: Use evergreen manifest to determine revisions to compare against

(cherry picked from commit ac966012c5f16925226d0d42b43bd6ab92c7f59d)
Branch: v4.4
https://github.com/mongodb/mongo/commit/ce8b75a06ca10acf559211c1c0576287818a5c90

Comment by Githook User [ 26/Aug/20 ]

Author:

{'name': 'David Bradford', 'email': 'david.bradford@mongodb.com', 'username': 'dbradf'}

Message: SERVER-50401: Use evergreen manifest to determine revisions to compare against
Branch: master
https://github.com/mongodb/mongo/commit/ac966012c5f16925226d0d42b43bd6ab92c7f59d

Comment by Jonathan Brill [ 24/Aug/20 ]

I opened EVG-12845 for Evergreen to provide an API for getting the patch. It seems to me that it would be a better way to get the patch so as to isolate the tests against changes in how Evergreen applies the patch.

Generated at Thu Feb 08 05:22:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.