SoftwareReport creation #6587
Replies: 2 comments
-
|
Hello! I do not understand how it would ease the maintenance (or am I missing the idea?) We currently generate markdown from powershell directly, creating it from json is also possible, but has never been really considered. |
Beta Was this translation helpful? Give feedback.
-
|
Maybe that's an edge case or maybe I do not understand everything correct :). What I'm understanding is that you have the following workflow:
My idea was the following workflow:
At the moment, you have to add/remove a component at two places. Add/Remove install script add/remove report creation. Probably that's not an issue for you, but I want to create an image depending on this repository without every component to speed up the image creation, and therefore I've to delete the installation as well as the report creation. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm starting to use this repository as a template for my needs. As I'm only need a subset of supported languages and want to speed up the image creation by reducing unneeded components.
I give a short example for what my issue is
When I want, to remove for example the
nvmandnodecomponent, I can simply remove these two lines in theubuntu2204.pkr.hclfileBut additionally, I've also to remove the following in the
SoftwareReport.Generator.ps1scriptMy idea
I think that for the most (maybe all) components, you've a test which check if the component is installed correctly. In the node example
In the
SoftwareReport.Common.psm1script, you get the version with the following functionWouldn't it be nice to create some kind of report file during/after the installation & test process, which contains the information that are already checked?
I think about something like the following workflow.
report.jsonfilereport.jsonto one file.This will make it easier to add/remove components because you will have only the installation script with install, test & report.
Additionally, this could also decrease build time a little bit, if you do not call every component twice for version information.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions