summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* format: reformat "tests/nl-test-util.h" fileThomas Haller2024-05-161-1/+0
|
* clang-format: rework container scriptThomas Haller2023-12-022-31/+31
| | | | Build a container image for the code formatting, and run that.
* clang-format: add "-l" alias for option in "tools/clang-format.sh"Thomas Haller2023-08-171-11/+11
|
* include: drop "netlink-private/netlink.h" and move declarationsThomas Haller2023-08-021-1/+0
|
* include: split and drop "netlink-private/types.h"Thomas Haller2023-08-021-1/+0
| | | | | Move all the declarations from "netlink-private/types.h" to places closer to where they are used.
* include: rename "nl-shared-core" to "nl-priv-dynamic-core"Thomas Haller2023-08-021-2/+2
| | | | | Naming is just so important to understand what this is. This name is better.
* genl: rename private header "nl-priv-genl.h" to "nl-genl.h"Thomas Haller2023-08-021-1/+1
| | | | | | The filename is still unique (which is the important part). Otherwise, the "priv" is redundant, since the header being inside "lib/genl" is clearly private.
* lib: move "include/netlink-private/object-api" to include/nl-shared-coreThomas Haller2023-08-011-1/+1
|
* lib: move "include/netlink-private/cache-api" to include/nl-shared-coreThomas Haller2023-08-011-1/+1
|
* route: move "include/netlink-private/route/link/sriov.h" to ↵Thomas Haller2023-08-011-1/+1
| | | | lib/route/link-sriov.h
* lib: move "include/netlink-private/socket.h" to lib/nl-core.hThomas Haller2023-08-011-1/+1
|
* route: move "include/netlink-private/route/nexthop-encap.h" to lib/routeThomas Haller2023-08-011-1/+1
|
* route: merge "include/netlink-private/tc.h" to lib/route/tc-api.hThomas Haller2023-08-011-1/+0
| | | | | It's a private header only for lib/route (libnl-route-3). We already have a similar header. Move the content to "lib/route/tc-api.h".
* route: move "include/netlink-private/route/tc-api.h" to lib/routeThomas Haller2023-08-011-1/+1
| | | | | | | | This header is entirely private to lib/route (libnl-route-3). Move the header there, it should not be used by anybody else. Note that libnl-route-3 exports symbols from this private header. That is ugly, make that clearer by adding comments.
* include: move "include/netlink-private/route/link/api.h" to lib/routeThomas Haller2023-07-311-1/+1
| | | | | This header is entirely private to compiling libnl-route-3 under lib/route. Move the header there.
* include: move "include/netlink-private/route/mpls.h" to "lib/mpls.h"Thomas Haller2023-07-311-1/+1
|
* include: move "include/netlink-private/genl.h" to "lib/genl/nl-priv-genl.h"Thomas Haller2023-07-311-1/+1
| | | | | | | | | | This header is entirely private to the source files in "lib/genl". It's confusing to keep it separate. Place it beside the source files, which can use it. I guess, I just disagree with this notion, that all headers must be under "include/" directory. Not, if the header is entirely local to one module.
* clang-format: reformat "include/netlink-private/nl-auto.h"Thomas Haller2023-07-311-1/+0
|
* style: format "include/netlink-private/utils.h" with clang-formatThomas Haller2023-07-281-1/+0
|
* tools: improve failure message with "tools/clang-format.sh -n"Thomas Haller2023-07-271-1/+3
|
* clang-format: add "tools/clang-format-container.sh" scriptThomas Haller2023-07-251-0/+51
| | | | | | | This helps somewhat with the problem, that we need the correct version of clang-format for the formatting script. The script runs a Fedora container. It needs a working podman setup.
* clang-format: add "tools/clang-format.sh" scriptThomas Haller2023-07-251-0/+557
| | | | | | | | | | | | | | Historically is libnl3 not formatted with clang-format, as the project is old. However, we have a mostly usable ".clang-format" file. Also, various new files follow the automated formatting. Add a script for helping with the reformatting. Also, the script has an exclude list for files that should not be formatted. That means, new files will be required to follow the formatting. That is considered a benefit.
* build: drop redundant "autogen.sh" call from "tools/build_release.sh"Thomas Haller2023-07-241-1/+0
| | | | | The toplevel "autogen.sh" script already runs "doc/autogen.sh". No need to do it again.
* github: build documentation in CI testThomas Haller2022-04-151-1/+3
|
* tools: fix aborting on failure in "tools/build_release.sh" scriptThomas Haller2022-04-151-2/+2
|
* tools: fix building doc in build_release.shThomas Haller2017-05-031-0/+4
| | | | Fixes: 3b2071e970995a9a22d46457e60a762161b46231
* build: add tools/build_release.sh scriptThomas Haller2017-02-281-0/+82
Add script to do a release.