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/{i,j,k}* edition #23102

Merged
merged 1 commit into from
Feb 18, 2024
Merged

Conversation

zvecr
Copy link
Member

@zvecr zvecr commented Feb 18, 2024

Description

Using script:

the_list() {
find keyboards/{i,j,k}* -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.*|.*numpad.*|left_.*|right_.*|1U|2u.*|2x.*|3x.*|5_2.*|5x6|600u.*|6u|700u.*|7u)$' \
    | grep -vE '^(all|factory|volume|64key|ydm40|advanced|all_keys|demo|idobao|inland|input_club|ws2812|underglow|halfkeyboard|keychron|alvicstep|extended|stapelberg|oled|hasu)$'
}

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 18, 2024

keymaps:

0x544d
34keys
abstractkb_gergomatch
adamdehaven
aek
an_achronism_106
andresteare
andrew
andrew-fahmy
annihilator6000
archetype
ardumont
ascii
ashpil
bakingpy
bitstarr
boss566y
buswerks
carlosala
coffee
coth
crispyy
ctrlaltdel
dan
dead_encryption
deadolus
deluxe
depariel
detrus
dnsnrk
eozaki
foobeard
forrcaho
forties
gam3cat
gardego5
greenshadowmaker
gtg465x
insertsnideremarks
ipetepete
iracing_replay
iw0rm3r
jbradforddillon
jdayton3
jesusvallejo
jorge
kemmeldev
kkokdae
kubahorak
kzar
ladduro
lickel
matt3o
mattrighetti
maxim
met
micros24
midi2vol
mjt6u
mkillewald
mousepad
msf
na7thana
nachie
nordic_ergo
oggi
othi
p4yne
pascalpfeil
peepeetee
planck
pngu
poker3
poweredbyporridge
rick
rick-complicated
roman
saph1s
simchee
slotthe
smooted
spx01
stefanopace
stevanmilic
teimor
thefoxcodes
thewerther
tiltowait
truefox
trulyergonomic
tuesdayjohn
tw1t611
vanagon
vega
victorsavu3
vinorodrigues
wigguno
x1
xeal

@zvecr zvecr merged commit 2eb9ff8 into develop Feb 18, 2024
2 of 3 checks passed
@zvecr zvecr deleted the prune_keymaps5 branch February 18, 2024 08:21
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