2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 01:49:48 +00:00

285 Commits

Author SHA1 Message Date
Andrei Pavel
60222843a6
[#3732] Address review 2025-04-23 23:15:59 +03:00
Andrei Pavel
dededfec38
[#3731] More fixes 2025-03-19 10:50:49 +02:00
Francis Dupont
dc1a5c2502 [#3731] Finished 2025-03-18 17:04:34 +01:00
Francis Dupont
9fa5c31ca9 [#3731] Checkpont: netconf to finish 2025-03-18 16:37:49 +01:00
Francis Dupont
72f84c7be8
[#3731] Got rid of local get_option 2025-03-17 12:16:28 +02:00
Andrei Pavel
c38d2de5ed
[#3731] bump-lib-versions.sh: Automatically determine old version and assume new version 2025-03-05 13:06:58 +02:00
Andrei Pavel
5e33073c1e
[#3731] bump-lib-versions.sh now updates meson.build files 2025-03-05 13:06:56 +02:00
Francis Dupont
6fa6476543 [#3683] Checkpoint (2) 2025-03-04 22:49:12 +01:00
Andrei Pavel
a0d00963c5
[#3731] Uppercase program names with no _exe in meson.build 2025-02-28 14:25:49 +02:00
Andrei Pavel
07e97372d3
[#3678] Improve error message in tools/check-messages.py 2025-02-27 15:45:43 +02:00
Andrei Pavel
de193cda2d
[#3678] ./tools/check-messages.py -g now prints a warning if premium is missing 2025-02-27 15:45:32 +02:00
Razvan Becheriu
785efcc92a [#3333] move hook libraries to open source 2025-02-21 21:34:58 +00:00
Andrei Pavel
5c4150041d
[#3730] Update copyright dates 2025-02-21 18:43:17 +02:00
Francis Dupont
e46ce7668d
[#3730] Added generate parser 2025-02-21 18:43:12 +02:00
Francis Dupont
411249c0fd
[#3730] Shell tests, src/bin, doc 2025-02-21 18:42:49 +02:00
Francis Dupont
4eb38d13f7
[#3729] Began bin 2025-02-13 10:05:42 +02:00
Andrei Pavel
e04a37a762 [#3443] Exclude compiler-checks from CI 2025-02-01 20:53:12 +01:00
Razvan Becheriu
30dea22baf [#3536] use only one loger on load and unload 2024-10-03 21:04:37 +03:00
Razvan Becheriu
6dbb732fad [#3536] removed more duplicated messages 2024-10-03 21:04:37 +03:00
Razvan Becheriu
fdf87cded4 [#3536] fix check-messages 2024-10-03 21:04:37 +03:00
Marcin Godzina
66939a6844 [#3600] check if message file is empty 2024-09-22 18:35:59 +00:00
Andrei Pavel
d56adac4e3
[#1945] fix building docs from tarball
- Move tools/* EXTRA_DISTs inside tools/Makefile.am because that's where
  they belong.
- Add check-messages.py to EXTRA_DIST in tools/Makefile.am to allow
  someone who downloads the tarball to regenerate the entire message
  documentation just like before.
- Add debug-messages.rst and kea-messages.rst to the tarball so that
  they are not forced to use check-messages.py to regenerate message
  documentation.
- Add singlehtml to all rule. It is the only type of docs that are not
  built by default.
2024-08-23 00:59:01 +03:00
Andrei Pavel
e2f139f7f9
[#1945] address review
- add DBGLVL_TRACE_MAX
- generate debug-messages.rst automatically on make -C doc/sphinx
2024-08-22 15:48:12 +03:00
Andrei Pavel
317af481f8
[#1945] address review
- generate kea-messages.rst automatically on make -C doc/sphinx
- add disclaimer header that debug-messages.rst and kea-messages.rst are
  generated
- minor changes to debug level variable names
- do not write section "Messages printed" in tools/check-messages.py if
  there are no messages
2024-08-22 15:48:11 +03:00
Andrei Pavel
571cd571bc
[#1945] add ARM section for debug messages indexed by log level 2024-08-22 15:47:24 +03:00
Andrei Pavel
5ca5c54418
[#1945] fix check-messages.py on looking at test files 2024-08-22 15:47:23 +03:00
Andrei Pavel
2aa6b29b13
[#1945] log EVAL_RESULT messages only at debug level
- Split the 15 occurrences of EVAL_RESULT into one message for each log call in code.
- Log all these messages only on debug level 50.
- Remove bad practice `catch (...)` and the message logged on that if-branch.
2024-08-22 15:47:23 +03:00
Andrei Pavel
87005846b0
[#1945] take premium exhonerated duplicate messages into account
This makes it easier to run `./tools/check-messages.py` to correctly
assess the state of messages while developing Kea without having to
remove the premium directory.
2024-08-22 15:47:23 +03:00
Andrei Pavel
70e5462249
[#1945] minor: add +x permission to reorder_message_file.py 2024-08-22 15:47:23 +03:00
Andrei Pavel
442a720984
[#3495] Fix tools/check-for-json-errors-in-doc.sh
Fix tools/check-for-json-errors-in-doc.sh from escaping double-escaped
characters in JSON which results in malformed JSON which results in CI
failing.
2024-07-15 20:04:52 +03:00
Andrei Pavel
95799832c1
[#1723] check-messages.py: remove duplicated strip 2024-07-09 13:49:32 +03:00
Andrei Pavel
2672bc6c33
[#1723] rm tools/check-messages.sh 2024-07-09 13:49:31 +03:00
Andrei Pavel
98b440d8e4
[#1723] exhonerate existing duplicate messages 2024-07-09 13:49:31 +03:00
Andrei Pavel
5b4ccf3eee
[#1723] tools/check-messages.py 2024-07-09 13:49:31 +03:00
Andrei Pavel
fcd83dfe68
[#1723] tools/check-messages.sh 2024-07-09 13:49:31 +03:00
Marcin Godzina
1075e0403b [#3464] release changes 2024-06-24 08:18:19 +00:00
Razvan Becheriu
7a7fad6519 [#3459] added util/io library to script and bumped version 2024-06-21 00:09:40 +03:00
Andrei Pavel
9c35a4db68
[#3287] fix pylint warnings
- C0115: Missing class docstring (missing-class-docstring)
- C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck)
- C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
- C0206: Consider iterating with .items() (consider-using-dict-items)
- C0411: standard import "..." should be placed before "..." (wrong-import-order)
- C0415: Import outside toplevel (...) (import-outside-toplevel)
- C1802: Do not use `len(SEQUENCE)` without comparison to determine if a sequence is empty (use-implicit-booleaness-not-len)
- E0001: Parsing failed: 'invalid syntax (<unknown>, line 2313)' (syntax-error)
- E0401: Unable to import '...' (import-error)
- E0602: Undefined variable 'l' (undefined-variable)
- R0205: Class 'VagrantEnv' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
- E1101: Instance of 'NSECBASE' has no 'dump_fixedpart' member (no-member)
- E1123: Unexpected keyword argument 'capture' in method call (unexpected-keyword-arg)
- R0902: Too many instance attributes (too-many-instance-attributes)
- R0913: Too many arguments (too-many-arguments)
- R0916: Too many boolean expressions in if statement (6/5) (too-many-boolean-expressions)
- R1717: Consider using a dictionary comprehension (consider-using-dict-comprehension)
- R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)
- R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
- R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
- W0102: Dangerous default value sys.argv[1:] (builtins.list) as argument (dangerous-default-value)
- W0102: Dangerous default value {} as argument (dangerous-default-value)
- W0106: Expression "[f.write('%02x' % x) for x in bin_address]" is assigned to nothing (expression-not-assigned)
- W0107: Unnecessary pass statement (unnecessary-pass)
- W0201: Attribute 'config' defined outside __init__ (attribute-defined-outside-init)
- W0404: Reimport '...' (imported line ...) (reimported)
- W0611: Unused import ... (unused-import)
- W0612: Unused variable '...' (unused-variable)
- W0613: Unused argument '...' (unused-argument)
- W0621: Redefining name '...' from outer scope (line 1471) (redefined-outer-name)
- W0622: Redefining built-in '...' (redefined-builtin)
- W0707: Consider explicitly re-raising using 'raise ... from ...' (raise-missing-from)
- W0718: Catching too general exception Exception (broad-exception-caught)
- W1202: Use lazy % formatting in logging functions (logging-format-interpolation)
- W1203: Use lazy % formatting in logging functions (logging-fstring-interpolation)
- W1308: Duplicate string formatting argument 'connection_type', consider passing as named argument (duplicate-string-formatting-argument)
- W1401: Anomalous backslash in string: '\/'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
- W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix)
- W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
- W4901: Deprecated module 'optparse' (deprecated-module)
- W4904: Using deprecated class SafeConfigParser of module configparser (deprecated-class)
2024-06-20 18:52:09 +03:00
Andrei Pavel
8e37580e59
[#3287] fix pycodestyle warnings
- E111 indentation is not a multiple of 4
- E117 over-indented
- E125 continuation line with same indent as next logical line
- E127 continuation line over-indented for visual indent
- E128 continuation line under-indented for visual indent
- E129 visually indented line with same indent as next logical line
- E131 continuation line unaligned for hanging indent
- E201 whitespace after '['
- E201 whitespace after '{'
- E202 whitespace before ')'
- E202 whitespace before ']'
- E202 whitespace before '}'
- E203 whitespace before '
- E203 whitespace before ','
- E222 multiple spaces after operator
- E225 missing whitespace around operator
- E228 missing whitespace around modulo operator
- E231 missing whitespace after ','
- E251 unexpected spaces around keyword / parameter equals
- E261 at least two spaces before inline comment
- E262 inline comment should start with '# '
- E265 block comment should start with '# '
- E301 expected 1 blank line, found 0
- E302 expected 2 blank lines, found 1
- E303 too many blank lines (2)
- E305 expected 2 blank lines after class or function definition, found 1
- E306 expected 1 blank line before a nested definition, found 0
- E401 multiple imports on one line
- E402 module level import not at top of file
- E501 line too long
- E502 the backslash is redundant between brackets
- E703 statement ends with a semicolon
- E713 test for membership should be 'not in'
- E722 do not use bare 'except'
- E741 ambiguous variable name 'l'
- W605 invalid escape sequence '\/'
2024-06-20 18:52:09 +03:00
Andrei Pavel
c0acd781c9
[#3287] fix bandit warnings 2024-06-20 18:52:09 +03:00
Andrei Pavel
aa5fab9c9f
[#3287] address review 2024-06-20 18:31:30 +03:00
Andrei Pavel
f11dd59433
[#3287] address review 2024-06-20 18:31:30 +03:00
Andrei Pavel
3efbe09a45
[#3287] fix reported shellcheck warnings 2024-06-20 18:31:30 +03:00
Andrei Pavel
bb2ce014c8
[#3287] automatically determine list of files to shellcheck
To not allow developers to get away with not shellchecking a new script
by omitting to add it to the manual list that existed before.
2024-06-20 18:31:30 +03:00
Razvan Becheriu
4398fb6c4a [#3315] use internal IOService for hooks 2024-04-22 22:59:07 +03:00
Marcin Godzina
5390c1978f [#3307] release changes 2024-03-22 15:55:27 +00:00
Andrei Pavel
eb29546cd7
[#3210] add ability to format changed files 2024-03-21 18:30:04 +02:00
Andrei Pavel
64845de542
[#3267] cosmetic changes to find headers script 2024-03-21 18:00:16 +02:00
Andrei Pavel
3dd4ec9a70
[#3267] add EXCLUDE_LIST in find headers script 2024-03-21 18:00:16 +02:00
Andrei Pavel
8c5a46e49d
[#3267] fix find header script not finding files
Script did not find files that are on the same line as the _HEADERS
variable.
2024-03-21 18:00:16 +02:00