Carsten Grohmann
6ac0e86169
Remove trailing whitespaces
2022-11-19 11:47:27 +01:00
Carsten Grohmann
efa1facafd
Remove unused return code in OOMAnalyser._choose_kernel_config()
2022-11-19 11:45:51 +01:00
Carsten Grohmann
50103374e7
Fix Node.js warning about wrong module type
...
# rollup --config rollup.config.js
(node:2833) Warning: To load an ES module, set "type": "module" in the
package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
[!] RollupError: Node tried to load your configuration file as CommonJS
even though it is likely an ES module. To resolve this, change the
extension of your configuration to ".mjs", set "type": "module" in your
package.json file or pass the "--bundleConfigAsCjs" flag.
2022-11-19 09:39:06 +01:00
Carsten Grohmann
d65a04454c
Prevent commiting code thats initialise a debugger
...
Enable pre-commit check "debug-statements"
2022-11-11 21:01:26 +01:00
Carsten Grohmann
35a44a6eb7
Extend mock objects to satisfy code checker
2022-11-11 20:53:07 +01:00
Carsten Grohmann
272d6d269f
Extend build job with a code check with black
2022-11-11 20:45:25 +01:00
Carsten Grohmann
2d0ee1a69e
Add rules to run black to Makefile
...
Added:
black : Run source code formatter black
black-check : Run source code formatter black in check-only mode
2022-11-11 20:44:32 +01:00
Carsten Grohmann
32bdbdf317
Update pre-commit config after software update
2022-11-08 21:14:39 +01:00
Carsten Grohmann
bd9d4190f3
Add GFP flags for more kernel releases
2022-08-17 21:51:08 +02:00
Carsten Grohmann
fb0105e612
Typo
2022-08-17 21:47:37 +02:00
Carsten Grohmann
806d1e745e
Rework choosing the right kernel config
...
This change uses a tuple of major version, minor version, and suffix to
specify the kernel version to which the configuration matches.
This is simpler than the previously used regular expressions.
2022-08-17 21:47:37 +02:00
Carsten Grohmann
cdf4be58f9
Move RE to extract kversion to class variable
2022-08-17 21:47:37 +02:00
Carsten Grohmann
82c8af8842
Rework handling of GFP flags
2022-08-17 21:47:21 +02:00
Carsten Grohmann
84073ba0ce
Fix calculation of GFP flags
2022-07-03 21:41:12 +02:00
Carsten Grohmann
be9bda6536
Convert to int to satisfy Python for unit tests
2022-06-28 20:43:34 +02:00
Carsten Grohmann
5174b0a23a
Move extracting GPF flags to own function
2022-06-28 20:38:51 +02:00
Carsten Grohmann
2e3a58f4ee
Add pre-commit hook to increase sw quality
2022-06-27 21:19:31 +02:00
Carsten Grohmann
6d8851b1d6
Blackify source
...
Use Black "The uncompromising code formatter" to automatically format
the source code in a consistent manner.
2022-06-27 21:19:21 +02:00
Carsten Grohmann
20df3fa4f9
Add test for memory allocation flags
2022-06-17 21:26:36 +02:00
Carsten Grohmann
dcd8055258
Fix memory calculation in summary section
2022-03-26 12:26:52 +01:00
Carsten Grohmann
99d9f23d30
Add section "Publish a new release"
2022-01-19 08:27:37 +01:00
Carsten Grohmann
788b416a0f
Minor format changes
2022-01-19 08:27:22 +01:00
Carsten Grohmann
12b3a1cf9f
Add dependencies to "make release"
2022-01-14 21:26:21 +01:00
Carsten Grohmann
a28a432efb
Remove release files with "make clean"
2022-01-14 20:50:37 +01:00
Carsten Grohmann
9d8a180c8d
Start new development cycle
2022-01-14 20:48:23 +01:00
Carsten Grohmann
a15637af71
Bump version number to 0.5.0
2022-01-12 20:38:14 +01:00
Carsten Grohmann
167b1dd27a
Fix missing test.py in release packages
2022-01-12 20:38:14 +01:00
Carsten Grohmann
489fee0669
Update documentation
2022-01-12 20:24:42 +01:00
Carsten Grohmann
c9c36ce9e4
Fix type hint in docstring
2022-01-12 20:04:31 +01:00
Carsten Grohmann
2d74af7032
Rename test task in build manifest
...
The "make test" tests not only the JS code in the browser, but also the
Python code directly without compilation.
2022-01-11 21:14:21 +01:00
Carsten Grohmann
c926a2ebf9
Use more JS-like syntax for mock objects
2022-01-11 17:29:31 +01:00
Carsten Grohmann
9e22c5cdec
Rework memory charts to show all items in legend
2022-01-11 17:26:19 +01:00
Carsten Grohmann
a549a76fa2
Adapt tests to modified Selenium API
2022-01-04 17:26:23 +01:00
Carsten Grohmann
e320fa56a0
Update copyright years
2022-01-02 13:35:09 +01:00
Carsten Grohmann
8b7e8b5049
Improved output for uncaught errors
2021-12-27 22:24:25 +01:00
Carsten Grohmann
7d6ba199b7
Unify naming
2021-12-26 23:33:07 +01:00
Carsten Grohmann
f304e205fb
Add missing banner with copyright and license
2021-12-26 23:14:27 +01:00
Carsten Grohmann
ef045232d1
Move rollup.js configuration into own config file
2021-12-26 23:04:17 +01:00
Carsten Grohmann
ca2d1c899f
Fix converting to Unix LF
2021-12-23 13:18:38 +01:00
Carsten Grohmann
569f422828
Add release target to Makefile to build packages
2021-12-23 13:07:36 +01:00
Carsten Grohmann
39e1287e33
Improved appearance of SVG diagrams
...
The chart was widened from 400 to 500 and the font was no longer bold.
Suggested-by: Mikko Rantalainen <mikko.rantalainen@gmail.com>
2021-12-21 20:56:56 +01:00
Carsten Grohmann
9404c87519
Add support for newer process table format
2021-12-21 20:32:49 +01:00
Carsten Grohmann
f657ac5816
Extend JS MOC objects
2021-12-21 17:25:37 +01:00
Carsten Grohmann
a7e1e4cc64
Add support for journalctl output
...
The lines in the "Mem-Info:" block start with spaces instead of date /
time / hostname. As a result, removing the needless columns no longer
works correctly.
Suggested-by: Mikko Rantalainen <mikko.rantalainen@gmail.com>
2021-11-29 20:59:14 +01:00
Carsten Grohmann
7038cced1f
Fix finding line with "CPU:"
...
The line is used to calculate the number of leading columns to remove.
Depending on the OOM version the pattern is on second or third oom line.
2021-11-29 17:23:10 +01:00
Carsten Grohmann
b8895fe2d5
Convert http links to https links
2021-10-25 22:11:47 +02:00
Carsten Grohmann
b8a858dba3
Remove obsolete comment lines
2021-10-25 22:06:41 +02:00
Carsten Grohmann
aa28e0bb7c
Hide "OOM Score" if not available
2021-10-25 22:06:17 +02:00
Carsten Grohmann
f95899d7d5
Fix detecting Ubuntu
2021-10-23 20:43:12 +02:00
Carsten Grohmann
6d13cf0446
Add type attribute to button elements
2021-10-23 20:30:14 +02:00