These scripts will allow you to automatically check to see if the Public Runbook README.md file is missing any files from the Public Runbook Repository
-
Download all of the files to a folder called
RunbookComparisonUtility
-
To begin you will need to create or update the
RunbookIndex.txt
file. This file is created by copying all of the raw code from https://github.com/IBM/itz-support-public/blob/main/IBM-Technology-Zone/README.md and pasting into a text editor to save as a.txt
file:
![raw-readme](https://private-user-images.githubusercontent.com/146133452/301270717-7c5a09b5-56d0-465a-b12a-37676c82a055.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MzQyNzYsIm5iZiI6MTcyNDczMzk3NiwicGF0aCI6Ii8xNDYxMzM0NTIvMzAxMjcwNzE3LTdjNWEwOWI1LTU2ZDAtNDY1YS1iMTJhLTM3Njc2YzgyYTA1NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QwNDQ2MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jZDdiNDczNzRiODI5ZjdjOTI2NWY1ZjNkY2Y5YzAxMzFmYjFiMDJiNjRiN2Q1MGQ1OGRiYTM0YWI5MTg3MzFiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Stwwn9RVRmSM8PTAONF6R15tyVtswQDcYtnlylrr7uw)
- Secondly you will need to update or create an
AllRunbooks.txt
file. This file is created by selecting and copying all of the runbook names from theIBM-Technology-Zone/IBM-Technology-Zone-Runbooks
GitHub repository.
![select-all](https://private-user-images.githubusercontent.com/146133452/301270456-09eaf376-34d8-4858-a46f-4dafce1dddf6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MzQyNzYsIm5iZiI6MTcyNDczMzk3NiwicGF0aCI6Ii8xNDYxMzM0NTIvMzAxMjcwNDU2LTA5ZWFmMzc2LTM0ZDgtNDg1OC1hNDZmLTRkYWZjZTFkZGRmNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QwNDQ2MTZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05ZWQxNmFkODU3ZTNhYjRkOTk1YmFlYzU1MGE2YTU5N2Y0YmQyOGM0NTk2YzA1YWNmMTBkZmNmYzY4MDhiMmE0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.EQptxi_zj8ql-8hkRvK-j0t0R_GTDY01zWQ__1JsA0Y)
Run the main.py
file