Commit graph

26 commits

Author SHA1 Message Date
Eberhard Beilharz
e47ff34587
chore(linux): Improve message when updating to a newer version
When trying to install a keyboard with `km-package-install` and
the same version was already installed or a newer version was
available and would be installed we now output a simple message
instead of an error.
2022-02-23 17:03:00 +01:00
Eberhard Beilharz
96ae4387ef
fix(linux): Properly compare versions in km-package-install
This change will fix a bug with comparing version numbers with more
than two sections (e.g. '1.2.3').

Fixes #6182.
2022-02-22 20:03:49 +01:00
Eberhard Beilharz
31170e8f94 fix(linux): Fix stray [-vv] in man pages
Additionally, don't print the date in the footer. This often overlaps
with the program name and version.

Also print usage in addition to error if wrong arguments are given.

Fixes #6240.
2022-02-18 14:15:17 +07:00
Eberhard Beilharz
0b8e628812
chore(linux): Improve robustness
Don't crash if we encounter a corrupt file.
2022-01-28 18:37:55 +01:00
Eberhard Beilharz
685eaa6ffc
fix(linux): Don't crash if we lack permissions
Also deal with other file I/O related exceptions and report them
as warnings.

This fixes #6171.
2022-01-28 18:37:54 +01:00
Eberhard Beilharz
58742b1a46
fix(linux): Check for valid zip file in km-package-install as well 2021-08-16 11:03:23 +02:00
Eberhard Beilharz
4d70382cbb
docs(linux): Improve help texts 2021-06-30 18:12:28 +02:00
Eberhard Beilharz
ba0a329cfd
feat(linux): Use staging URLs for alpha version 2020-07-17 19:22:51 +02:00
Eberhard Beilharz
89f9a13236
refactor(linux): cleanup code
Some more code cleanup of issues detected by linter.
2020-06-25 17:04:30 +02:00
Darcy
2beb0aa8f6 Save ico/bmp files to png 2019-09-11 10:06:44 +07:00
glasseyes
ac51b174b7 use search API to get list of keyboards
gets lists of all languages
then gets new keyboards from each language
2018-12-04 17:11:02 +07:00
glasseyes
a701eb3615 find either package or first keyboard icons
improve differentiating packageID and keyboardID in code
2018-11-23 11:18:43 +07:00
glasseyes
27caf56ed0 [linux] make jenkins happy: km-package-install -h 2018-10-12 10:09:44 +07:00
glasseyes
9cfb638e6b [linux] use long version of args variable names
as the short ones don't exist when there is a long one
2018-10-08 17:04:00 +07:00
glasseyes
fce8c0161f [linux] alternative --x options for km scripts
add completion for km-kvk2ldml options
2018-10-08 13:25:03 +07:00
glasseyes
be0443c593 [linux] cope with lack of network
create empty file if nothing in cache and no network
get the file if network comes back
2018-10-08 10:34:41 +07:00
glasseyes
af0b3c4f03 [linux] doc tab completion caveats 2018-10-08 10:13:22 +07:00
glasseyes
99206d4da9 [linux] tab completion for km-package-install
and km-package-list-installed
install the km-package.bash completion script
  in the Debian package to /etc/bash_completion.d

km-package-get: doc change of download location
2018-10-06 15:37:38 +07:00
glasseyes
3319bf5b96 [linux] try_install_kmp inline function 2018-10-04 16:33:55 +07:00
glasseyes
991651f7cd [linux] WIP: install error handling
and restarting ibus after attempting to install keyboard to it
2018-10-04 13:43:34 +07:00
glasseyes
8922a24b12 [linux] shared install check base dir and keyman dir
i.e. e.g check /usr/local/share/keyman and if it doesn't exist
check /usr/local/share before creating it

fix a bad logging formatting
2018-09-24 18:43:12 +07:00
glasseyes
9d83348357 [linux] WIP: install to ~/.local/share/keyman by default 2018-09-20 09:37:02 +07:00
glasseyes
671360915f keyman-config: move imports to after args parse
so that -h can be run without dependencies installed
2018-09-15 17:49:28 +07:00
glasseyes
71ba022bcd missing logging import 2018-09-14 09:34:32 +07:00
glasseyes
51dcd4a33b [linux] use python logging module to control cl output
for all scripts
add option -v for info messages
-vv for debug messages

remove creation of test ldml output file
2018-09-12 17:14:05 +07:00
glasseyes
b87e2da501 linux: rename scripts to km-* from PR 893
remove generated man pages, regenerate in 'make deb'
2018-09-10 14:29:10 +07:00
Renamed from linux/keyman-config/install_kmp (Browse further)