-
Notifications
You must be signed in to change notification settings - Fork 366
Bug 1949264 - Add git migration compatibility for ./mach try perf #8611
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
base: master
Are you sure you want to change the base?
Bug 1949264 - Add git migration compatibility for ./mach try perf #8611
Conversation
As we are migrating to github away from mercurial we will not be able to see the try revision when we run ./mach try perf. This patch should allow us to be re-directed to the correct compareview links that ./mach try perf will output
As we are migrating to github away from mercurial we will not be able to see the try revision when we run ./mach try perf. This patch should allow us to be re-directed to the correct compareview links that ./mach try perf will output
…m/Andrej1198/treeherder into Bug1949264_UUID_for_mach_try_perf
…m/Andrej1198/treeherder into Bug1949264_UUID_for_mach_try_perf
…m/Andrej1198/treeherder into Bug1949264_UUID_for_mach_try_perf
…m/Andrej1198/treeherder into Bug1949264_UUID_for_mach_try_perf
…m/Andrej1198/treeherder into Bug1949264_UUID_for_mach_try_perf
…m/Andrej1198/treeherder into Bug1949264_UUID_for_mach_try_perf
…m/Andrej1198/treeherder into Bug1949264_UUID_for_mach_try_perf
…m/Andrej1198/treeherder into Bug1949264_UUID_for_mach_try_perf
…m/Andrej1198/treeherder into Bug1949264_UUID_for_mach_try_perf
…m/Andrej1198/treeherder into Bug1949264_UUID_for_mach_try_perf
…m/Andrej1198/treeherder into Bug1949264_UUID_for_mach_try_perf
…m/Andrej1198/treeherder into Bug1949264_UUID_for_mach_try_perf
Hi @beatrice-acasandrei, Background: Currently we use mercurial locally as a version contral system for developers, as mozilla-central will move away from mercurial and move to github repos we must adjust certain parts of our codebase that will rely exclusively on mercurial, this is one of those things. The problem: When using The solution: Treeherder has APIs with an ability to search commit messages for keywords. So when we push the changes to try we will attach a hash consisting of time, author and local commit to generate a unique identifier we can search to find commits and to generate immediate perma-links developers can access when they push to ./mach try perf. The perma link will consist of newHash and baseHash instead of newRev and baseRev. The api we create here will only be used for perfcompare(and potentially for compareview if we decide to keep it after our work wek discussions) to lookup what the revision is for each of the hashes we provide it. |
As we are migrating to github away from mercurial we will not be able to see the try revision when we run ./mach try perf. This patch should allow us to be re-directed to the correct compareview links that ./mach try perf will output
Should be used in conjunction with this patch to test locally: https://phabricator.services.mozilla.com/D244392