Robin Jarry <robin.jarry@6wind.com>: Author Summary

Builds triggered by Robin Jarry <robin.jarry@6wind.com>

Builds triggered by an author are those builds which contains changes committed by the author.
3
1 (33%)
2 (67%)

Breakages and fixes

Broken means the build has failed but the previous build was successful.
Fixed means that the build was successful but the previous build has failed.
0 (0% of all builds triggered)
0 (0% of all builds triggered)
0
Build Completed Code commits Tests
LIBYANG › YANGGITHUBMASTER › #214 4 months ago
printer: ignore EAGAIN and EINTR errno in callback
When using libnetconf2 via the UNIX or FD transport and sending large
configs, we can get the following error from libyang:

  Print error (Resource temporarily unavailable).

Do not fail when errno holds EAGAIN or EINTR. These are not errors. This
can occur when using ly_print_clb with a callback that does I/O on
a non-blocking file or if the application received a signal during the
write syscall.

If the callback function returns a zero or positive value, reset errno
so that LY_PRINT_RET does not return an error.

Fixes: 609d708ca567 ("printer CHANGE use errno to check for printer errors")
Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
Testless build
LIBYANG › YANGGITHUBMASTER › #116 10 months ago
extensions BUGFIX fix link error when ENABLE_STATIC=ON
Fix the following error when ENABLE_STATIC is "ON".

 [100%] Linking C executable yanglint
 libmetadata.a(metadata.c.o):(.data+0xa8): multiple definition of `lyext_api_version'
 libnacm.a(nacm.c.o):(.data+0x0): first defined here
 libyangdata.a(yangdata.c.o):(.data+0x60): multiple definition of `lyext_api_version'
 libnacm.a(nacm.c.o):(.data+0x0): first defined here
 libuser_inet_types.a(user_inet_types.c.o):(.data+0x0): multiple definition of `lytype_api_version'
 libuser_yang_types.a(user_yang_types.c.o):(.data+0x0): first defined here

Since we are linking all extensions statically in the same binary, we
must not have duplicate public symbols. When building with ENABLE_STATIC
dynamic plugins loading is disabled anyway, we do not need version
check.

Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
Testless build
LIBYANG › YANGGITHUBMASTER › #107 10 months ago
extensions FEATURE allow validation of container/list subtrees
Add a new LYEXT_OPT_SUBTREE flag for extension plugins. When this flag
is set in addition of LYEXT_OPT_VALID, invoke the plugin's valid_data
callback when one of the nodes in the "extended" container or list
subtree is inserted, modified or deleted.

Fixes: #744
Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
extensions FEATURE add LYEXT_VLOG macro
Allow plugins to issue validation errors.

Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
extensions CHANGE lyext_log: do not print plugin name if NULL
If plugin name is not set, do not print "reported by plugin (null)".

Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
Testless build
Build Completed Code commits Tests
Build Completed Code commits Tests