diff options
author | Joel Challis <[email protected]> | 2024-05-28 02:48:48 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-28 11:48:48 +1000 |
commit | c9f9cb25103817aa05da494a4551ed235a750d4c (patch) | |
tree | a265c39a06db00b0cef116edd5e110ce5a1688d5 /util | |
parent | 249f1706f16a118e05b597614a85435153308056 (diff) | |
download | qmk_firmware-c9f9cb25103817aa05da494a4551ed235a750d4c.tar.gz qmk_firmware-c9f9cb25103817aa05da494a4551ed235a750d4c.zip |
2024 Q2 changelog (#23794)
Co-authored-by: James Young <[email protected]>
Co-authored-by: Nick Brassel <[email protected]>
Diffstat (limited to 'util')
-rwxr-xr-x | util/list-moved-keyboards.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/util/list-moved-keyboards.sh b/util/list-moved-keyboards.sh new file mode 100755 index 0000000000..1a39f512a2 --- /dev/null +++ b/util/list-moved-keyboards.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +echo "This might take a while... let it sit." >&2 + +git cherry upstream/master upstream/develop | awk '{print $2}' | while read sha1; do + git diff --name-status -M25 ${sha1}^..${sha1} | grep 'keyboards/' | grep '^R' | grep -E '(info|keyboard).json' +done | sed -e 's@keyboards/@@g' -e 's@/info.json@@g' -e 's@/keyboard.json@@g' | sort -k+2 | while IFS=$'\n' read line; do + if [[ $(echo $line | awk '{print $2}') != $(echo $line | awk '{print $3}') ]]; then + echo $line + fi +done | sort -k+2 | awk '{printf "| %s | %s |\n", $2, $3}' | column -t | sort |