Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebased and added automation for zOS Open Tools #195

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Apurv428
Copy link
Contributor

Fixed issue #110 which was addressed in the #124.
I have addressed the changes which were requested on the PR

aashish-khatri and others added 2 commits May 15, 2024 10:30
Signed-off-by: aashish-khatri <aashishkhatri809@gmail.com>
Signed-off-by: Apurv Sonawane <apurvsonawane28@gmail.com>
file_path = os.path.join(directory, 'ZOSOpenTools.json')

with open(file_path, 'w') as file:
json.dump(zOS_list, file, indent=2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My suggestion regarding the logic above is to look at how the other functions save the files.

Specifically, there's output so the user knows the file has saved:

print(f"Saved!\nfilename: {q}")

So you'll want to review the code a bit to make sure something like that works, and some of this could be simplified a bit based on other examples in the script.

@pleia2
Copy link
Contributor

pleia2 commented May 17, 2024

@Apurv428 You'll also want to add this new file to src/config/supported_distros.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants