-
Notifications
You must be signed in to change notification settings - Fork 69
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
feat: skip install tools cmd #741
feat: skip install tools cmd #741
Commits on Aug 13, 2024
-
Generate dynamic tool installation command
Commented out the hardcoded install command and introduced a new method to dynamically generate the command based on the available package managers and missing tools in the tooling image. This enhancement increases flexibility and ensures the tooling image has all required tools installed using the detected package manager. Signed-off-by: Miaha Cybersec <MiahaCybersec@gmail.com>
Miaha Cybersec authored and Miaha Cybersec committedAug 13, 2024 Configuration menu - View commit details
-
Copy full SHA for 5dcbbc3 - Browse repository at this point
Copy the full SHA 5dcbbc3View commit details
Commits on Aug 14, 2024
-
Add 'rpm' to package managers and handle unsupported images
Extended the list of package managers to include 'rpm' in the pkgmgr. Added error handling for unsupported RedHat and RockyLinux source policies due to missing busybox in their repos. Signed-off-by: Miaha Cybersec <MiahaCybersec@gmail.com>
Miaha Cybersec authored and Miaha Cybersec committedAug 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 2595ad5 - Browse repository at this point
Copy the full SHA 2595ad5View commit details -
Refactor
generateToolInstallCmd
argument types.Changed `generateToolInstallCmd` to accept pointer of llb.State for better efficiency. Removed redundant `rpm` package manager as it cannot connect to RPM repos. Signed-off-by: Miaha Cybersec <MiahaCybersec@gmail.com>
Miaha Cybersec authored and Miaha Cybersec committedAug 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 651a23d - Browse repository at this point
Copy the full SHA 651a23dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e77cfe3 - Browse repository at this point
Copy the full SHA e77cfe3View commit details
Commits on Aug 15, 2024
-
Update RPM tests to include package manager validation
Added `tdnf` as a required package manager in test cases for `Test_unpackAndMergeUpdates_RPM`. This ensures tests do not fail due to the absence of a specified package manager. Signed-off-by: Miaha Cybersec <MiahaCybersec@gmail.com>
Miaha Cybersec authored and Miaha Cybersec committedAug 15, 2024 Configuration menu - View commit details
-
Copy full SHA for d2a763f - Browse repository at this point
Copy the full SHA d2a763fView commit details
Commits on Aug 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e86cf2a - Browse repository at this point
Copy the full SHA e86cf2aView commit details
Commits on Aug 27, 2024
-
Refactor tooling check loop in rpm.go
Simplify the loop for checking required tools by using more descriptive variable names and range iteration syntax. This improves readability and maintainability of the code. Signed-off-by: Miaha Cybersec <MiahaCybersec@gmail.com>
Miaha Cybersec authored and Miaha Cybersec committedAug 27, 2024 Configuration menu - View commit details
-
Copy full SHA for d866723 - Browse repository at this point
Copy the full SHA d866723View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea8e9ff - Browse repository at this point
Copy the full SHA ea8e9ffView commit details -
Co-authored-by: Ashna Mehrotra <ashnamehrotra@gmail.com> Signed-off-by: Miaha <143584635+MiahaCybersec@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1d57457 - Browse repository at this point
Copy the full SHA 1d57457View commit details -
Co-authored-by: Ashna Mehrotra <ashnamehrotra@gmail.com> Signed-off-by: Miaha <143584635+MiahaCybersec@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7649122 - Browse repository at this point
Copy the full SHA 7649122View commit details
Commits on Aug 28, 2024
-
Refactor RPM package manager detection and tooling checks
Simplify the detection of installed package managers and required tools by using `strings.Contains` instead of splitting the applications list. This change reduces nested loops and enhances code readability while maintaining functionality for checking missing tools and package managers. Signed-off-by: Miaha Cybersec <MiahaCybersec@gmail.com>
Miaha Cybersec authored and Miaha Cybersec committedAug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for 9417747 - Browse repository at this point
Copy the full SHA 9417747View commit details
Commits on Aug 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5983bea - Browse repository at this point
Copy the full SHA 5983beaView commit details