2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 09:57:41 +00:00

66 Commits

Author SHA1 Message Date
Andrei Pavel
210d2ab2ac
[#3812] Update doc/sphinx/conf.py for Meson 2025-04-17 14:37:22 +03:00
Wlodek Wencel
c524f6a5db [#3733] release changes 2025-01-28 10:06:26 +01:00
Wlodek Wencel
39a121c208 [#3646] missing pylint comment added 2024-10-29 15:04:07 +01:00
Wlodek Wencel
3d0a05c38c [#3646] release changes 2024-10-29 12:53:12 +01:00
Razvan Becheriu
264b7100cb [#3586] updated documentation 2024-10-09 13:10:06 +00:00
Andrei Pavel
a56fb8d6c6
[#1945] generate kea-messages.rst a priori
This allows us to document premium messages in the public ARM without
having to hand out a copy of the premium sources to readthedocs.
2024-08-22 15:47:24 +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
Wlodzimierz Wencel
d2ca687d78 [#3379] added instructions about new kea repositories 2024-05-24 08:13:35 +00:00
Andrei Pavel
62169d8a7d
[#3263] release changes 2024-02-26 10:46:31 +02:00
Thomas Markwalder
7202da7530 [#3242] Added bare-bones perfmon hook library
New files:
    arm/hooks-perfmon.rst
	src/hooks/dhcp/perfmon/.gitattributes
	src/hooks/dhcp/perfmon/.gitignore
	src/hooks/dhcp/perfmon/Makefile.am
	src/hooks/dhcp/perfmon/libloadtests/.gitignore
	src/hooks/dhcp/perfmon/libloadtests/Makefile.am
	src/hooks/dhcp/perfmon/libloadtests/load_unload_unittests.cc
	src/hooks/dhcp/perfmon/libloadtests/run_unittests.cc
	src/hooks/dhcp/perfmon/perfmon.dox
	src/hooks/dhcp/perfmon/perfmon_callouts.cc
	src/hooks/dhcp/perfmon/perfmon_log.cc
	src/hooks/dhcp/perfmon/perfmon_log.h
	src/hooks/dhcp/perfmon/perfmon_messages.cc
	src/hooks/dhcp/perfmon/perfmon_messages.h
	src/hooks/dhcp/perfmon/perfmon_messages.mes
	src/hooks/dhcp/perfmon/tests/.gitignore
	src/hooks/dhcp/perfmon/tests/Makefile.am
	src/hooks/dhcp/perfmon/tests/run_unittests.cc
	src/hooks/dhcp/perfmon/version.cc

Modified:
	configure.ac
	arm/hooks-perfmon.rst
	arm/hooks.rst
	arm/logging.rst
	arm/rst_arm_sources.mk
	conf.py
	src/hooks/dhcp/Makefile.am
2024-02-16 17:51:25 +00:00
Andrei Pavel
2d6de9b3fb
[#2442] enable nitpicky in sphinx
To warn about all broken references. Also fixes the few broken
references found.
2023-11-15 18:48:51 +02:00
Andrei Pavel
32569799db
[#2442] move RADIUS documentation to integrations 2023-11-15 18:48:51 +02:00
Andrei Pavel
edabef7303
[#2969] replace sphinx tabs with list-table 2023-11-06 12:10:51 +02:00
Andrei Pavel
2b553cd929
[#2969] revised the quickstart page
- added link to the cloudsmith tarball page
- added |cloudsmith_repo| substitution
- added sphinx-tabs extension
- changed yum to dnf because with the deprecation of CentOS 7, all
  remaining supported rpm distributions have dnf by default.
- changed `/path/to/your/kea6/config/file.json` to the configuration
  file installed by default `/etc/kea/kea-dhcp6.conf` for easier startup
- regenerated doc/sphinx/src/requirements.txt mainly to include
  sphinx-tabs
- added sphinx-tabs to hammer.py
2023-10-26 16:34:22 +03:00
Andrei Pavel
858c8438ff
[#2969] fix space in the release version
This caused code blocks in the ARM to have spaces in filenames that in
reality aren't there.
2023-10-26 16:34:22 +03:00
Thomas Markwalder
e2f1add8c4 [#3012] Add initial ping-check ARM doc
new file:   doc/sphinx/arm/hooks-ping-check.rst
modified:   doc/sphinx/arm/hooks.rst
modified:   doc/sphinx/conf.py
2023-09-08 12:37:46 +00:00
Andrei Pavel
7bf80530ba
[#2554] add the 'ischooklib' cross-reference role 2023-06-14 20:26:11 +03:00
Andrei Pavel
03843acd02
[#2554] add the 'isccmd' cross-reference role 2023-06-14 20:26:11 +03:00
Andrei Pavel
7591ba5891
[#2554] add the 'iscman' cross-reference role 2023-06-14 20:26:11 +03:00
Marcin Godzina
769b3583ab [#2809] release changes 2023-03-24 23:51:18 +01:00
Razvan Becheriu
05366c117a [#2441] added HA+MT and HA+MT+TLS examples 2022-08-27 10:15:39 +03:00
Andrei Pavel
b47d2eb9d6 [#2513] disable smartquotes in sphinx configuration 2022-07-27 13:43:04 +00:00
Marcin Godzina
d9ee88c1e6 spell check, sphnx config change for RHEL9 2022-06-27 18:21:06 +02:00
Marcin Godzina
a760281c9c [#2463] release changes 2022-06-27 18:08:34 +02:00
Suzanne Goldlust
f71a698501 [#2403] Editorial review of documentation about hook libraries in the ARM 2022-06-14 14:09:03 -04:00
Andrei Pavel
68c7be26bf
[#562] document rate limiting 2022-05-20 20:40:12 +03:00
Francis Dupont
2a4466d336 [#1263] Ported RBAC hook doc and examples 2022-05-13 18:33:04 +02:00
Marcin Godzina
9e62cc59e6 Update conf.py 2022-04-25 11:56:41 +00:00
Tomek Mrugalski
a8d01c0bf6 [#2050] Config templates moved to Appendix 2021-09-24 17:24:33 +02:00
Tomek Mrugalski
68ec773975 [#2050] Sphinx build updated 2021-09-24 17:24:33 +02:00
Francis Dupont
42c5e814f3 [#2018] Fixed last changes 2021-08-19 18:32:47 +02:00
Andrei Pavel
efa104ea26 [#866] text ARM, remove ungenerated indices 2021-08-13 15:44:20 +00:00
Andrei Pavel
d423e17a64 [#1077] document sysrepo 1.x 2021-07-23 13:48:53 +02:00
Andrei Pavel
e685c3a100
[#1937] make grammar pages build with older sphinx 2021-06-24 17:16:36 +03:00
Andrei Pavel
e1d2f3b8d7
[#1560] keep backwards compat with older sphinx 2021-05-19 16:45:38 +03:00
Andrei Pavel
210973abbc
[#1560] add_css_file for sphinx >= v4 2021-05-17 16:06:40 +03:00
Andrei Pavel
c96cbaf5d4 [#1788] remove "-git" from the version in the ARM 2021-04-02 09:47:17 +00:00
Francis Dupont
d3fd1c9fc2 [#1664] Addressed last comments 2021-03-24 23:03:01 +01:00
Francis Dupont
10e9494695 [#1664] Addressed comments 2021-03-24 15:22:38 +01:00
Razvan Becheriu
37cde2ced7 [#899] added documentation 2021-02-18 19:23:57 +02:00
Francis Dupont
5221c89223 [#1240] Rebased/updated 1240 patch 2020-09-17 16:06:20 +02:00
Razvan Becheriu
9db6d552a7 [#1368] fixed documentation script copyrights year 2020-08-20 17:49:06 +00:00
Francis Dupont
644cf6cde4 [#1329] Attempt to get math working 2020-08-04 12:33:59 +02:00
Francis Dupont
34aae5196e [#1180] Fix attempt 2020-05-21 10:22:33 +02:00
Tomek Mrugalski
365b46a915 [#1055] Corrected grammar 2020-03-20 13:57:36 +00:00
Tomek Mrugalski
05bce34c5d [#1055] Sphinx now copies platforms.rst 2020-03-20 13:57:36 +00:00
Tomek Mrugalski
7d7a29addb [#1055] platforms.rst file updated 2020-03-20 12:21:26 +01:00
Wlodek Wencel
497cdd7ce9 [#867] removed hardcoded date 2020-03-20 11:15:59 +01:00
Wlodek Wencel
7ab38bc784 [#1128] 1.7.4 pre prelease changes 2020-02-25 08:33:30 +01:00