Commit graph

9 commits

Author SHA1 Message Date
Eberhard Beilharz
12165d73bc
fix(linux): Fix logging
We can't initialize Sentry during module initialization because our
`initialize_sentry` logs some status info. Setting the logging level
later on is then a no-op, breaking verbose and very-verbose logging.

This change fixes this by putting Sentry initialization into a
separate method that gets called after we set the log level.

Also refactor some common code into methods that appear in all our
executables.
2023-07-19 19:47:28 +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
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
4ffe5b1fc7 [linux] separate into separate files
fix installation in deb package:
 add to MANIFEST.in to go into dist tarball
 there is a dh bash-completion so use it
add completion for km-package-get
2018-10-06 18:23:05 +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
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
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/get_kmp (Browse further)