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

Adding an argument for 'description' of the GitHub repository. #10

Open
sahil-sagwekar2652 opened this issue May 6, 2023 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers gssoc23 Issues created for GSSoC 23 contributors level2

Comments

@sahil-sagwekar2652
Copy link
Owner

Currently, the script uses a static description string which is passed to the GitHub API while creating the remote repo. Add an argument so that the user can specify the description for each new repo.

@sahil-sagwekar2652 sahil-sagwekar2652 added enhancement New feature or request good first issue Good for newcomers labels May 6, 2023
@shubham-deshmukh
Copy link
Contributor

Hi @sahil-sagwekar2652. I would like to work on this issue as a GSSOC'23 participant. Can you please assign it to me?

@i-am-yuvi
Copy link

Basically we have to create a readme whenever we create a new repo. I think I can do this. Assign me

@ashvaneetk
Copy link

Hey @sahil-sagwekar2652 assign me this issue.
i can create argparse.ArgumentParser which includes a new --description argument.As it allows the user to specify a description for the new repository. The --description argument is not optional and requires a value to be provided when running the script.

@VardaPanchal005
Copy link

I'm a GSSOC 23 contributor can you assign me this issue?

@sahil-sagwekar2652 sahil-sagwekar2652 added the gssoc23 Issues created for GSSoC 23 contributors label May 20, 2023
@tuhinaww
Copy link

Hello, I am contributor for GSSoC'23. I would like to take ownership of this task and provide a solution. I will modify the existing script to include an additional parameter that allows users to specify the desired description for each new repository. I have experience working with GitHub APIs and have a strong understanding of the codebase.

@sahil-sagwekar2652
Copy link
Owner Author

Hey everyone, the issues are being assigned on a first-come-first-serve basis. In the meanwhile, check out the other issues, or feel free to create your own. Also, don't make a PR without raising an issue and getting it assigned to you. If the original assigned isn't active or not working on the issue, then I'll assign it to the next contributor.

One contributor will be assigned to one issue at a time, so please take up one issue at a time, don't comment on every issue.

ashvaneetk added a commit to ashvaneetk/GitHub-Automation-scripts that referenced this issue May 22, 2023
…Hub repository

With the following changes, After parsing the arguments, you can access their values using args.argument_name. For example, args.path will provide the value of the path argument, and args.description will provide the value of the description argument (if provided).
ashvaneetk added a commit to ashvaneetk/GitHub-Automation-scripts that referenced this issue May 23, 2023
…Hub repository sahil-sagwekar2652#46

sahil-sagwekar2652#10 sahil-sagwekar2652#46  Adding an argument for 'description' of the GitHub repository .
Check the 'payload' variable to modify the value for the "description" key.
The value for the "description" key in the payload variable has been changed to "Added new scripts for data processing and bug fixes"
ashvaneetk added a commit to ashvaneetk/GitHub-Automation-scripts that referenced this issue May 30, 2023
…Hub repository sahil-sagwekar2652#46

I have the original 'create_repo' script has been shifted to the 'create_repo.py' file which resolves the conflict.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers gssoc23 Issues created for GSSoC 23 contributors level2
Projects
None yet
Development

No branches or pull requests

6 participants