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
Some bugfixes on master might have been missed for cherry-picking to 1.1.1 #7397
Comments
You should add the script to the tools repository. |
I thought about that already. Let me finetune it a little more and then I'll make a pull request. |
See openssl/tools#32. |
This seems helpful, and thank you for putting it together. |
I also experimented also with the
My experiments indeed showed that the output of
is essentially equivalent to the output of
(except for formatting). After experimenting I chose the symmetric variant
which shows commits on either side which do not have a patch-equivalent commit on the other side. The advantage of the symmetric approach is that it also show for example bug fixes which are only applied to 1.1.1 but not to master. In contrast the two commands
|
The todo list from the initial post has been completed. For the future, use cherry-checker ;-). |
In #7363 (comment) ff., Kurt and I more or less agreed that practically all bugfixes (including doc-fixes and typos) which apply to 1.1.1 should be cherry-picked, because it is an LTS branch. This inspired me to write a short python script which helps to identify commits that might have been missed for cherry-picking.
The script prints all commits on
master
which have not (yet) been cherry-picked toOpenSSL_1_1_1-stable
, together with their pull request number. It does not attempt to apply any artificial intelligence to distinguish features from bugfixes, it simply lists them all. You will have to check the list yourself.Fixes which might have been missed
A brief scan of the output yields the following candidates which might have been missed:
crypto/rand: fix some style nit's("dirty" cherry-pick; detected by improved script in openssl/tools#32)Fix no-engine(@paulidale merged to 1.1.1)Indentation fixes.(@paulidale merged to 1.1.1)Remove useless check. Hash can be longer than EC group degree and it will be truncated.(@paulidale merged to 1.1.1)Fix the drbgtest with randomized ordering(false positive)Change DRBG's to DRBGs(false positive)Fix no-tls1_2(done)Fix no-psk(done)The Python Script
Here is the listing of the
cherry-pick-checker
script. The major part of the task is achieved by callinggit log
with some fancy options. Only the pull request number needs special treatment, it is retrieved from the commit message.The Output
The output is not only optimized for the terminal, it also has the nice property that it's a valid github markdown table. You can copy & paste it into an issue, switch to preview mode and then jump to the pull requests and the commits for inspection. (See issue description above)
The text was updated successfully, but these errors were encountered: