-
Notifications
You must be signed in to change notification settings - Fork 32
Repo filtering #48
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
base: main
Are you sure you want to change the base?
Repo filtering #48
Conversation
Closes #47 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coding is fine but Functionality seems to be not working while testing
@@ -782,6 +782,28 @@ def arg_parser(): | |||
help="Pass the repo name list as comma separated string", | |||
) | |||
|
|||
argparser.add_argument( | |||
"-a", | |||
"--archived", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update the argument parser as --include-archived or -ia and for forked --include-forked or -if for better user understanding or also change help message like "Pass Yes or No to include archived repositories for search. Default is Yes". change in all the respective files wherever used
response = requests.get( | ||
self._base_url, | ||
params={ | ||
"q": f"{search_query} {additional_qualifiers}", | ||
"q": q_string, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
search api Not filtering archived repos correctly.Need to fix it
response = requests.get( | ||
self._base_url, | ||
params={ | ||
"q": f"{search_query}", | ||
"q": q_string, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
search api Not filtering archived repos correctly.Need to fix it
Adds flags --archived and --forked to each of the main files.
Users can specify Yes or No to include forked or archived repositories in the results.