Skip to content
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

Remove obvious user keymaps, keyboards/{v,x,y,z}* edition. #23083

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

zvecr
Copy link
Member

@zvecr zvecr commented Feb 15, 2024

Description

Using script:

the_list() {
find keyboards/{v,x,y,z}* -type d -name keymaps -prune 2>/dev/null \
    | while read keymap_dir; do \
        find $keymap_dir -type d \( -mindepth 1 -and -maxdepth 1 -and -not -path '*/onekey/*' \) -prune; \
    done \
    | rev | cut -d / -f 1 | rev \
    | sort \
    | uniq \
    | grep -vE '^(.*default.*|via|via_.*|.*ansi.*|.*iso.*|.*tkl.*|.*wkl.*|.*tsangan.*|split_.*|.*test.*|.*ortho.*|.*dvorak.*|.*colemak.*|.*workman.*|.*hhkb.*|.*jis.*|.*rgb.*|1U|2u.*|2x.*|3x.*|5_2.*|5x6|600u.*|6u|700u.*|7u)$' \
    | grep -vE '^(all|factory|volume|64key|ydm40)$'
}

the_list

the_list | while read keymap ; do \
    find keyboards -type d -path '*'"/keymaps/$keymap" -and -name $keymap -and -not -path '*/onekey/*' \
        | while read keymap_path; do \
            git rm -rf $keymap_path; \
        done; \
    done

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@zvecr
Copy link
Member Author

zvecr commented Feb 15, 2024

Keymaps:

andys8
AnthonyWharton
birkir
caterpillar
cheshire_cat
crilith
daed
dormouse
edulpn64
ellicose
epx
f12
finnish
followingghosts
fvolpe83
hgoel89
Jos
longtap
mac_underglow
melka
minila
minkezhang
petesmom
phlop
pingjunior
queen
rooski
sakura
semicolonsnet
stanleylai
styr
supercoffee
suryanisaac
system_and_media
thinxer
traditional
uuupah
vimouse
vitavim
walston
yuuki
zunger

@zvecr zvecr merged commit f8123c2 into develop Feb 15, 2024
3 checks passed
@zvecr zvecr deleted the prune_keymaps2 branch February 15, 2024 09:14
nuess0r pushed a commit to nuess0r/qmk_firmware that referenced this pull request Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants