Closed rachejazz closed 3 years ago
This looks great!
Can you also update the documentation in this PR too? Both docs/Adding_new_distros.md and docs/Installation.md will need to be adjusted to reference the new configuration files.
Sure! It's amusing and amazing at the same time how each document will be reduced to a few lines just by adding 2 binaries 👻
I've missed the major point of this script. Adding another feature:
distro_data
directory has PDS data sources, config_build.py should issue an auto-pull from PDS repo at every push so that PDS data also remains updated to the latest sourcesI'll improve the doc and add this feature as well
fixes #47
Signed-off-by: rachejazz divyadeepti2000@gmail.com
This step was taken originally to save the hassle of mapping json file manually, when wished to take data from PDS. Rest of the data provided by OMP will be added by us. Users, stay at peace :) Following steps on how to use the new script:
1. Using
package_build.py
to extract data from PDS:For example,
RHEL_8_1_Package_List.json
,Suse_Linux_Enterprise_Server_12_SP5_Package_List.json
,SUSE_Package_Hub_SLES_12_SP5.json
andUbuntu_16_04_Package_List.json
will be taken for demo.2. Check the files are present in data directory
3. Using
config_build.py
to automate config updateNOTE The script deletes any cache data that was present before. So no need of manual removal.
4. Restart server
Working screenshot :)