Develop #155
Reference in New Issue
Block a user
No description provided.
Delete Branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request introduces several changes, including improvements to testing, dependency updates, and the addition of comprehensive build, packaging, and documentation workflows. Below is a summary of the most important changes grouped by theme.
Testing Improvements
TestBuildCommand
incmd/katenary/main_test.go
by combining conditionals to improve readability and maintainability.TestSchemaCommand
incmd/katenary/main_test.go
to handle errors when creating pipes and ensure proper cleanup with adone
channel for better reliability.Dependency Updates
go.mod
, includingk8s.io/api
to v0.33.3,sigs.k8s.io/yaml
to v1.6.0, andgithub.com/spf13/pflag
to v1.0.7, among others. These updates ensure compatibility and leverage the latest features and fixes. [1] [2] [3]Makefile
makefiles/build.mk
file to support multi-platform builds, including Linux, Windows, macOS, and FreeBSD. It also includes support for UPX compression and Windows installer generation.makefiles/packager.mk
to enable the creation of RPM, DEB, Pacman, FreeBSD, and TAR packages usingfpm
. This also includes checks for package validity across various Linux distributions.makefiles/gpg.mk
for GPG signing and signature verification of distribution packages.makefiles/doc.mk
to automate the generation of documentation, including serving it locally withmkdocs
, generating manpages, and creating code documentation withgomarkdoc
.makefiles/test.mk
to streamline testing, code coverage generation, and static application security testing (SAST) withopengrep
.These changes collectively enhance the project's maintainability, build process, and developer experience while ensuring robust testing and packaging workflows.