runner-images icon indicating copy to clipboard operation
runner-images copied to clipboard

Add SoftwareReport Archive json generator

Open bogdan-damian-bgd opened this issue 1 year ago • 4 comments

Description

Generation of additional SoftwareReport output .json archive

Changes provided for Windows, Linux and macOS images.

The idea is to keep track of all installed items per image - the essence of the output archive json is that each of the installed items in the image is described with a unique ID and that other properties can be (easily) added for later use as needed.

The initial reason for introducing these changes is because this kind of data source is necessary for further search and data processing, i.e. stable generation of Release pages in which the items will be sorted into required groups, such as Updated, Added and Deleted (see examples 1, 2).

** For easy archiving, each installed application is additionally described into its own ArchiveItem object/class, which will carry all the properties needed to describe the installed item. When creating such an ArchiveItem, it is now necessary to assign a unique identifier of the installed item.

Follow the links to the example files Windows2022-Archive-Table.json and Windows2022-Archive_Grouped.json to find demo samples for two suggested structures of the output json file.

Related issue: #4772

Check list

  • [x] Related issue / work item is attached
  • [ ] Tests are written (if applicable)
  • [ ] Documentation is updated (if applicable)
  • [x] Changes are tested and related VM images are successfully generated

bogdan-damian-bgd avatar Nov 07 '22 14:11 bogdan-damian-bgd