Develop #134

Merged
metal3d merged 15 commits from develop into master 2025-07-12 22:21:15 +00:00
Owner

This pull request introduces multiple changes across the project to enhance functionality, improve packaging, and refine documentation. Key updates include modifications to the Makefile for stricter build processes and better support for package creation, changes to the LICENSE file, updates to the generator module to handle commands in Kubernetes deployments, and the addition of manpage generation capabilities. Below is a categorized list of the most important changes:

Build and Packaging Enhancements:

  • Updated Makefile to enforce strict mode, improve container handling, and add support for RPM, DEB, Pacman, FreeBSD, and TAR package generation. Added checks for package validity across different distributions. [1] [2] [3] [4]
  • Added commands for generating manpages and packaging OCI images. Integrated manpage_requirements.txt for dependencies and preprocessing logic for manpage generation using doc/preprocess.py. [1] [2] [3] [4]

Kubernetes Deployment Improvements:

  • Modified generator/deployment.go to include Command in Kubernetes container specifications, allowing for custom entrypoints.
  • Added a new test case in generator/deployment_test.go to validate the inclusion of commands in Kubernetes container definitions.

Documentation Updates:

  • Enhanced the doc/mkdocs.yml configuration to support manpage generation with the mkdocs-manpage plugin. Added preprocessing logic to remove unnecessary elements from manpages. [1] [2]
  • Refined the description of TplValue in doc/docs/packages/utils.md to clarify its purpose in templates.

Licensing and Module Adjustments:

  • Updated LICENSE to include the author's alias and extended copyright years.
  • Changed the module path in go.mod to reflect the new repository location.

Versioning Improvements:

  • Enhanced generator/version.go to use regex for semantic version detection and fallback to build info when installed via go install. Added corresponding tests in generator/version_test.go. [1] [2] [3]
This pull request introduces multiple changes across the project to enhance functionality, improve packaging, and refine documentation. Key updates include modifications to the `Makefile` for stricter build processes and better support for package creation, changes to the `LICENSE` file, updates to the `generator` module to handle commands in Kubernetes deployments, and the addition of manpage generation capabilities. Below is a categorized list of the most important changes: ### Build and Packaging Enhancements: * Updated `Makefile` to enforce strict mode, improve container handling, and add support for RPM, DEB, Pacman, FreeBSD, and TAR package generation. Added checks for package validity across different distributions. [[1]](diffhunk://#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R1-L55) [[2]](diffhunk://#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R129) [[3]](diffhunk://#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52L106-R307) [[4]](diffhunk://#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R329-R374) * Added commands for generating manpages and packaging OCI images. Integrated `manpage_requirements.txt` for dependencies and preprocessing logic for manpage generation using `doc/preprocess.py`. [[1]](diffhunk://#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R399-R411) [[2]](diffhunk://#diff-8c610a2f65ca7edefe1ef5f3b154701880725a235e07733155b6fde6e0ee7745R1-R2) [[3]](diffhunk://#diff-9b7694df3dff30659aadb24a152688c1d35774cc3514bf625a60eb71cea70922R6-R15) [[4]](diffhunk://#diff-51a98bb5d71e2f73fdf724559adf4c07fcd7d239b065ecdac07588a896279e67R1-R22) ### Kubernetes Deployment Improvements: * Modified `generator/deployment.go` to include `Command` in Kubernetes container specifications, allowing for custom entrypoints. * Added a new test case in `generator/deployment_test.go` to validate the inclusion of commands in Kubernetes container definitions. ### Documentation Updates: * Enhanced the `doc/mkdocs.yml` configuration to support manpage generation with the `mkdocs-manpage` plugin. Added preprocessing logic to remove unnecessary elements from manpages. [[1]](diffhunk://#diff-9b7694df3dff30659aadb24a152688c1d35774cc3514bf625a60eb71cea70922R6-R15) [[2]](diffhunk://#diff-51a98bb5d71e2f73fdf724559adf4c07fcd7d239b065ecdac07588a896279e67R1-R22) * Refined the description of `TplValue` in `doc/docs/packages/utils.md` to clarify its purpose in templates. ### Licensing and Module Adjustments: * Updated `LICENSE` to include the author's alias and extended copyright years. * Changed the module path in `go.mod` to reflect the new repository location. ### Versioning Improvements: * Enhanced `generator/version.go` to use regex for semantic version detection and fallback to build info when installed via `go install`. Added corresponding tests in `generator/version_test.go`. [[1]](diffhunk://#diff-237f9f0db73ab44faac69b0e6d90d3cd98ebabb98501a48e5f59079fe75aeedaR4-L5) [[2]](diffhunk://#diff-237f9f0db73ab44faac69b0e6d90d3cd98ebabb98501a48e5f59079fe75aeedaL15-R26) [[3]](diffhunk://#diff-f3878258266fac46604058113910745b9cace2dc6c27cebc80bcfa2f3f0c25d3R11-R28)
Sign in to join this conversation.
No description provided.