keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
403 stars 112 forks source link

change(developer): update kmc-copy to use full GitHub URLs rather than `github:` prefix #12746

Open mcdurdin opened 2 hours ago

mcdurdin commented 2 hours ago

kmc-copy

kmc copy -o my_khmer cloud:khmer_angkor

# And longhand for cloud:
kmc copy https://keyman.com/keyboards/khmer_angkor -o my_khmer
kmc copy https://keyman.com/keyboards/khmer_angkor/ -o my_khmer

# Direct from GitHub:

kmc copy -o my_khmer https://github.com/keyman-keyboards/khmer_angkor 
kmc copy -o my_khmer https://github.com/keyman-keyboards/khmer_angkor/
kmc copy -o my_khmer https://github.com/keyman-keyboards/khmer_angkor/raw/main/khmer_angkor.kpj
kmc copy -o my_khmer https://github.com/keyman-keyboards/khmer_angkor/tree/main/khmer_angkor
kmc copy -o my_khmer https://github.com/keyman-keyboards/khmer_angkor/tree/main/khmer_angkor/

kmc copy -o my_khmer https://github.com/keymanapp/keyboards/tree/refs/heads/master/k/khmer_angkor
kmc copy -o my_khmer https://github.com/keymanapp/keyboards/tree/refs/heads/master/k/khmer_angkor/
kmc copy -o my_khmer https://github.com/keymanapp/keyboards/tree/master/release/k/khmer_angkor
kmc copy -o my_khmer https://github.com/keymanapp/keyboards/tree/master/release/k/khmer_angkor/
kmc copy -o my_khmer https://github.com/keymanapp/keyboards/raw/refs/heads/master/release/k/khmer_angkor/khmer_angkor.kpj
kmc copy -o my_khmer https://github.com/keymanapp/keyboards/raw/master/release/k/khmer_angkor/khmer_angkor.kpj 
kmc copy -o my_khmer https://github.com/keymanapp/keyboards/blob/refs/heads/master/release/k/khmer_angkor/khmer_angkor.kpj 
kmc copy -o my_khmer https://github.com/keymanapp/keyboards/blob/master/release/k/khmer_angkor/khmer_angkor.kpj
kmc copy -o my_khmer https://github.com/keymanapp/keyboards/blob/78b6f98e5db4a249cc4231f8744f5fe4e5fd29f2/release/k/khmer_angkor/khmer_angkor.kpj
kmc copy -o my_khmer https://github.com/keymanapp/keyboards/tree/78b6f98e5db4a249cc4231f8744f5fe4e5fd29f2/release/k/khmer_angkor
kmc copy -o my_khmer https://github.com/keymanapp/keyboards/tree/78b6f98e5db4a249cc4231f8744f5fe4e5fd29f2/release/k/khmer_angkor/

# And similar patterns for raw.githubusercontent.com
kmc copy -o my_khmer https://raw.githubusercontent.com/keymanapp/keyboards/refs/heads/master/release/k/khmer_angkor/khmer_angkor.kpj 
kmc copy -o my_khmer https://raw.githubusercontent.com/keymanapp/keyboards/master/release/k/khmer_angkor/khmer_angkor.kpj 
kmc copy -o my_khmer https://raw.githubusercontent.com/keymanapp/keyboards/78b6f98e5db4a249cc4231f8744f5fe4e5fd29f2/release/k/khmer_angkor/khmer_angkor.kpj 

See also https://github.com/keymanapp/keyman/issues/11236#issuecomment-2320244635

mcdurdin commented 2 hours ago

See also external references already in use on keymanapp/keyboards and keymanapp/lexical-models:

# Entire remote repo (i.e. project in root)
https://github.com/mcdurdin/external_experiment_1/tree/0619c3a12a0d48b3ead3d02e9a5b15b325213fcd

# Folder in a remote repo
https://github.com/mcdurdin/external_experiment_2/tree/ade06704300fe7a1fdd40e101c415f23dabc6839/e/external_experiment_2

https://github.com/keymanapp/keyboards/blob/master/docs/externally-hosted-keyboards.md