- Update to version v0.6+git.60.2f89a38:
* tests: add a test case for the ensure_ctdb_port_in_services func
* sambacc: add a function to alter /etc/services for ctdb port
* sambacc: add a ctdb port configuration value
* samba_cmds: Switch ctdb to CommandArgs type
* samba_cmds: Switch wbinfo to CommandArgs type
* samba_cmds: Modify execute() to accept CommandArgs
* tests: test session crypto info fetched from grpc server
* grpc: add session crypto information to grpc server
* grpc: add session crypto message to control.proto
* tests: add test coverage for backend session crypto
* grpc: add support for session crypto info to backend.py
* grpc: remove junk values from backend Versions object
* mergify: Restrict the addition of "priority-review" label
* github: Update mergify rules with symbolic fedora test jobs
* workflows: Dynamically detect fedora versions for test matrix
* extras: update python-sambacc.spec for new grpc extra
* tox.ini: include grpc libs for unit tests
* setup.cfg: add new modules, entrypoint, extras
* commands/remotecontrol: create remote control command
* tests: add test_grpc_backend.py to test server backend module
* tests: add test_grpc_server.py to test grpc server behavior
* grpc: add server.py for managing the grpc server
* grpc: add backend.py for interfacing with samba commands
* grpc/generated: add generated grpc files
* tox.ini: add new environments for generating grpc related files
* grpc/protobufs: add initial .proto file
* grpc: establish a location for grpc related code and files
* tox.ini: support mypy checking for files using grpc libs
* pyproject.toml: exclude generated files from mypy check
OBS-URL: https://build.opensuse.org/request/show/1287561
OBS-URL: https://build.opensuse.org/package/show/network:samba:CONTAINERS/python-sambacc?expand=0&rev=12
- Update to version v0.6+git.5.aa9a005:
* commands: fix a mypy failure in the ctdb commands module
* tests/container: update base image to fedora 41
* github: update mergify rules to use fedora 41, not 39
* workflows: update test matrix to use fedora 41
* ctdb: handle nodes with "GONE" state when listing CTDB nodes
* ctdb: Leave CTDB log levels at their original defaults
* commands: add retries to ctdb-must-have-nodes command
* ctdb: improve hostname lookup for ctdb nodes
* tests/container: add rhel support to rpm builds
* sambacc: fix constructing interface list for ctdb public_addresses
* commands: pass instance config to ctdb etc setup
* sambacc: add public addresses support to ctdb module
* sambacc: add config placeholder for ctdb public address config
* sambacc: avoid logging an error if cluster is being torn down
* github: Update mergify config to replace deprecated attributes
* sambacc: add a retry loop to ctdb.monitor_cluster_meta_changes
* commands: time out waiting for conditions after 5min
* commands: add ability to wait for ctdb when running smbd/winbindd
* sambacc: move ctdb pnn fetching commands into functions
* commands: add ctdb-list-nodes subcommand
* sambacc: add nodes command to ctdb configuration if needed
* sambacc: add ability to write to an open file to cluster_meta_to_nodes
* commands: add ctdb-monitor-nodes command
* sambacc: add monitor_cluster_meta_changes function
* sambacc: simplify _cluster_meta_to_ctdb_nodes function
* sambacc: split out some potentially common ctdb logic into funcs
* commands: improve ctdb_manage_nodes doc comment
* sambacc: rename function to manage_cluster_meta_updates
* commands: encapsulate retry logic
OBS-URL: https://build.opensuse.org/request/show/1248537
OBS-URL: https://build.opensuse.org/package/show/network:samba:CONTAINERS/python-sambacc?expand=0&rev=10
* docs: document the availability of yaml and toml formatted confs
* extras: have rpm spec recommend extras on fedora 37 & later
* extras: add our toml and yaml extras to the rpm spec
* tox: get all test envs that install via pip working with extras
* setup: add extras for toml and yaml
* tests: support testing toml with tomli or tomllib
* sambacc: support tomli for reading toml on older versions
* tests: add test cases for yaml formatted configuration
* sambacc: add support for reading YAML formatted configs
* tests: add test cases for toml formatted configuration
* sambacc: add support for reading TOML formatted configs
* copr: add .copr/Makefile for building in COPR system
* container: default to dnf in build script
* container: more granular controls of build script behavior
* container: generate a more robust rpm spec file
* container: make build script a tad more consistent
* extras: fix a typo in the rpm spec
* extras: add additional build deps to the rpm spec file
* extras: add validation extra as an rpm sub package
* sambacc: make config module robust to unexpected jsonschema versions
OBS-URL: https://build.opensuse.org/package/show/network:samba:CONTAINERS/python-sambacc?expand=0&rev=6
* workflows: add a job to check commit messages
* gitlint: add a .gitlint configuration file
* tox: add a gitlint environment
* tox: add an 'extras' to the python package
* extras: fix a warning when building on fc37
* extras: use the new py3-sys tox env in the rpm spec file
* tox: create a new py3-sys environment
* workflows: do not run push job if test job fails
* workflows: add test runs for centos stream9 and fedora 37
* workflows: use non-shallow git checkout to please setuptools_scm
* container: inform git that our repo path is acceptable
* container: always run rpm build as part of a normal build
* tox: remove jsonschema from the tox deps list
* sambacc: ignore mypy errors if it can't import jsonschema
* setup.cfg: add sambacc.schema to package list
* tox: add schemacheck to verify that generated schema data matches yaml
* tests: add initial tests of json schema validation
* commands: extend the context protocol with a require_validation method
* commands: add cli option & env var to control config validation
* sambacc: add support for json schema based validation of the config
* tox: add type definition packages for mypy testing with json schema
* pyproject: do not require typing in the schema dir
* schema: commit generated python
* schema: add a python tool to manage schema files
* schema: add new json-schema based schema files to the tree
* tests: supply invalid configuration to GloalConfig directly
* sambacc: add an initial_data argument to GlobalConfig class
* sambacc: add a JSONData type for convenience
* tests: fix a typo in a test name
OBS-URL: https://build.opensuse.org/package/show/network:samba:CONTAINERS/python-sambacc?expand=0&rev=4
* container: parameterize the sambacc containerfile
* container: update build.sh with ability to install dependencies
- Update to version v0.2+git.54.f426c23:
* Revert "container: Switch to CentOS Stream 9 as base image"
* mergify.yml: Fix a typo
* container: Switch to CentOS Stream 9 as base image
* github: add mergify configuration YAML file
* sambacc: re-format with black version 23.1a1
* docs: add first full document describing JSON config
* tox.ini: avoid one tox warning when running py3-mypy
* pyproject: require type annotations for sambacc function defs
* sambacc: complete type annotations for container_dns.py
* sambacc: complete type annotations for simple_waiter.py
- Initial commit of sources
OBS-URL: https://build.opensuse.org/package/show/network:samba:CONTAINERS/python-sambacc?expand=0&rev=1