mesa/bin
Eric Engestrom 7f61f4180b introduce `commit_in_branch.py` script to help devs figure this out
It's been pointed out to me that determining whether a commit is present
in a stable branch is non-trivial (cherry-picks are a pain to search for)
and the commands are hard to remember, making it too much to ask.

This script aims to solve that problem; at its simplest form, it only
takes a commit and a branch and tells the user whether that commit
predates the branch, was cherry-picked to it, or is not present in any
form in the branch.

    $ bin/commit_in_branch.py e58a10af64 fdo/20.1
    Commit e58a10af64 is in branch 20.1
    $ echo $?
    0

    $ bin/commit_in_branch.py dd2bd68fa6 fdo/20.1
    Commit dd2bd68fa6 was backported to branch 20.1 as commit d043d24654c851f0be57dbbf48274b5373dea42b
    $ echo $?
    0

    $ bin/commit_in_branch.py master fdo/20.1
    Commit 2fbcfe170bf50fcbcd2fc70a564a4d69096d968c is NOT in branch 20.1
    $ echo $?
    1

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5306>
2020-07-10 20:01:32 +00:00
..
pick tree-wide: fix deprecated GitLab URLs 2020-05-23 15:33:50 +00:00
.editorconfig bin: use tabs for coding style on *.sh files 2017-05-09 14:05:00 +03:00
__init__.py scripts: Add a gen_release_notes.py script 2019-10-03 20:15:19 +00:00
commit_in_branch.py introduce `commit_in_branch.py` script to help devs figure this out 2020-07-10 20:01:32 +00:00
commit_in_branch_test.py introduce `commit_in_branch.py` script to help devs figure this out 2020-07-10 20:01:32 +00:00
gen_release_notes.py gen_release_notes.py: update script to the new rST way of things 2020-06-13 10:42:01 +00:00
gen_release_notes_test.py scripts: remove unittest.mock dependency when not used 2020-05-01 15:01:51 +03:00
get-extra-pick-list.sh bin/get-{extra,fixes}-pick-list.sh: improve output 2017-04-20 10:28:54 +02:00
get-pick-list.sh bin/get-pick-list: use --oneline=pretty instead of --oneline 2019-09-25 17:50:19 +00:00
git_sha1_gen.py git_sha1_gen.py: fix whitespace 2020-05-20 22:05:41 +00:00
install_megadrivers.py meson: simplify install_megadrivers.py invocation 2019-12-27 22:43:34 +00:00
khronos-update.py khronos-update.py: add script to simplify update of Khronos headers & xml files 2020-06-18 00:38:12 +00:00
meson-cmd-extract.py bin/meson-cmd-extract: Also handle cross and native files 2019-01-18 09:37:01 -08:00
meson-options.py meson: add script to print the options before configuring a builddir 2019-02-07 13:22:41 +00:00
meson.build meson: simplify install_megadrivers.py invocation 2019-12-27 22:43:34 +00:00
meson_get_version.py meson: Add script to use VERSION file for getting version 2017-11-09 11:19:53 -08:00
perf-annotate-jit.py bin/perf-annotate-jit.py: update internal reference 2020-06-13 10:42:01 +00:00
pick-ui.py bin/pick-ui: Add a new maintainer script for picking patches 2020-04-20 19:40:55 +00:00
post_version.py post_version.py: update script to the new rST way of things 2020-06-13 10:42:01 +00:00
post_version_test.py bin/post_version.py: Make the git commit as well. 2020-03-05 15:14:56 -08:00
symbols-check.py bin/symbols-check.py: add --ignore-symbol argument 2020-07-10 11:57:11 +02:00