openmainframeproject / software-discovery-tool

Software Discovery Tool
Apache License 2.0
31 stars 40 forks source link

Make ibm-validated consistent with other sources in package_build.py #184

Open pleia2 opened 2 months ago

pleia2 commented 2 months ago

Usually, the script a single argument to create data files, for instance:

./package_build.py debian

In the case of Debian, this will generate all the supported versions:

Saved! filename: Debian_Bullseye_List.json Saved! filename: Debian_Bookworm_List.json Thanks for using SDT!

But in the case of the ibm-validated sources, it requires an additional argument and then just pulls in that specific distribution, for example if you want the SLES 15 file to be generated, you do the following, which is undocumented:

./package_build.py ibm-validated SLES_15

Let's go ahead and change the behavior here so that it acts the same as the others and generates the sources for all available versions, which would be SLES_12, SLES_15, Ubuntu_20.04, Ubuntu_22.04, RHEL_8 and RHEL_9

Rohitrky2021 commented 2 months ago

is it still open ,will i raise a PR for this ?

pleia2 commented 2 months ago

is it still open ,will i raise a PR for this ?

It's open, but @Apurv428 has already submitted a PR to handle this one (#188)