-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating submodule packages to drop-ins quadlet files #700
Conversation
Delete old files under
|
b51fd71
to
0238dbd
Compare
5b52ae8
to
b5c2324
Compare
resolves containers#674 During latest changes all subpackages use drop-in qudlet files Under QM etc/containers/systemd/qm.container.d/ dir Qm nested container quadlets moved to subsystems/ dir Update to quadlet files Signed-off-by: Yariv Rachmani <[email protected]>
It seems that subpackaged rpm was not set correctly Make subpackages creation could be done with the following command make TARGETS=kvm subpackages Signed-off-by: Yariv Rachmani <[email protected]>
make TARGETS=windowmanager subpackages Adding missing qm qualets Signed-off-by: Yariv Rachmani <[email protected]>
Signed-off-by: Yariv Rachmani <[email protected]>
Signed-off-by: Yariv Rachmani <[email protected]>
make TARGETS=dvb subpackages make TARGETS=img_tmpdir subpackages make TARGETS=input subpackages make TARGETS=radio subpackages make TARGETS=tesxt2speech subpackages make TARGETS=tty7 subpackages make TARGETS=ttyUSB0 subpackages Signed-off-by: Yariv Rachmani <[email protected]>
b5c2324
to
43ba528
Compare
Reviewer's Guide by SourceryThis pull request refactors and standardizes the handling of submodule drop‐in configuration files by moving them to the new quadlet file structure under the systemd directory, updating spec files and Makefiles with consistent RPM build variables and version patterns, and adjusting configuration file formats to use the new [Container] syntax. It also updates the documentation and build commands accordingly. Refactored Makefile Structure for Subpackages (Class Diagram)classDiagram
class MakefileBase {
+RPM_TOPDIR : string
+VERSION : string
+ROOTDIR : string
+dist() void
}
class SubpackageMakefile {
+SPECFILE : string
+target() void
}
MakefileBase <|-- SubpackageMakefile
note for MakefileBase "Common variables and methods used across all subsystem Makefiles."
note for SubpackageMakefile "Each subsystem (kvm, sound, video, etc.) defines its SPECFILE and build targets based on the standardized variables."
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Yarboa - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider renaming the 'dvp' target in the Makefile to 'dvb' to match the subsystem name and maintain consistency.
- Ensure that all Makefile targets are correctly updated in the README examples to prevent confusion for users following the instructions.
Here's what I looked at during the review
- 🟡 General issues: 2 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟡 Complexity: 1 issue found
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
@dougsland did not finish to verify all builds. |
Did you verify all bot suggestions make sense or not? |
Moving to draft again |
43ba528
to
628e5bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Yarboa - I've reviewed your changes - here's some feedback:
Overall Comments:
- The Makefiles are becoming more consistent, but there are still some inconsistencies in variable naming and usage, especially around the version and source archive names.
- The spec files are inconsistent in whether they include the 'qm-' prefix in the Source0 URL.
- Consider using a common macro or function to install drop-in configurations to avoid repetition in the spec files.
Here's what I looked at during the review
- 🟡 General issues: 2 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟡 Complexity: 2 issues found
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
.PHONY: subpackages | ||
subpackages: $(TARGETS) | ||
$(TARGETS): | ||
@echo "Entering directory: subsystem/$@" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (bug_risk): Mismatch in directory naming in subpackages target
The echo message refers to 'subsystem/$@', but the actual directory path used is 'subsystems/$@'. For clarity, update the message to match the directory structure.
@echo "Entering directory: subsystem/$@" | |
@echo "Entering directory: subsystems/$@" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Yarboa looks sane this comment.
628e5bd
to
30c1cb7
Compare
make TARGETS=ros2 subpackages Adding github workflow for subpackages renaming rpm/ros2/rolling/ros2_rolling.spec -> rpm/ros2/ros2_rolling.spec Adding fixes based on tests added Signed-off-by: Yariv Rachmani <[email protected]>
30c1cb7
to
5fe959f
Compare
Mount=type=bind,source=/dev/tty5,target=/dev/tty5 | ||
Mount=type=bind,source=/dev/tty6,target=/dev/tty6 | ||
Mount=type=bind,source=/dev/tty7,target=/dev/tty7 | ||
Mount=type=bind,source=/dev/tty0,target=/dev/tty0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks dup
@Yarboa please address the minor comments in different patch. Also update our documentation in the main README.md |
resolves #674
During latest changes:
Summary by Sourcery
Update submodule packages to use drop-in quadlet files for configuration, moving them under the 'etc/containers/systemd/qm.container.d/' directory. Refactor Makefiles to standardize the build process and update documentation to reflect these changes.
Enhancements:
Build:
Documentation: