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

Updated create_repo.py #78

Closed

Conversation

anupammaurya6767
Copy link

#51 Issue Resolved
Changes:

  1. Replaced the use of os.system for executing shell commands with the subprocess module, which provides more flexibility and better handling of command execution.
  2. Utilized the requests library instead of the http.client module for making HTTP requests, as it offers a more straightforward and user-friendly interface.
  3. Implemented error handling for HTTP requests and responses to provide better feedback in case of failures.
  4. Improved code readability and adherence to PEP 8 style guidelines.

@sahil-sagwekar2652 sahil-sagwekar2652 added gssoc23 Issues created for GSSoC 23 contributors level3 labels May 29, 2023
Copy link
Owner

@sahil-sagwekar2652 sahil-sagwekar2652 left a comment

Choose a reason for hiding this comment

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

Great work @anupammaurya6767 !

Can you add another "description" argument to the parser object so that users can add custom description to the repo (line 37)? Make sure to include the default value for the description argument.

As you are adding external dependencies, please add an updated requirements.txt in your next commit. Make these changes asap to merge this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc23 Issues created for GSSoC 23 contributors level3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants