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

added repo-reasoner as a filter for unmainted repositories #403

Closed
wants to merge 5 commits into from

Conversation

dzhovi
Copy link
Contributor

@dzhovi dzhovi commented Jan 4, 2025

Repo reasoner requires 2 environment variables:

  1. GIGACHAT_MODEL - in charge of what model would be used.
  2. GIGACHAT_KEY - is a api key.

@dzhovi
Copy link
Contributor Author

dzhovi commented Jan 4, 2025

@yegor256 could you check the pr please

@@ -69,6 +69,18 @@ elif [ -z "${REPOS}" ] || [ ! -e "${REPOS}" ]; then
samples-filter filter "${fargs[@]}"
rm "${csv}"
mv "${nosamples}" "${csv}"

maintained=${TARGET}/maintained.csv
declare -a margs=( \
Copy link
Owner

Choose a reason for hiding this comment

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

@dzhovi why it's indented right?

"--model=${GIGACHAT_MODEL}"
)
repo-reasoner filter-unmaintained "${margs[@]}"
rm "${csv}"
Copy link
Owner

Choose a reason for hiding this comment

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

@dzhovi may be it's better to keep the original file, but only rename it?

"--repositories=${csv}" \
"--output=${maintained}" \
"--key=${GIGACHAT_KEY}" \
"--model=${GIGACHAT_MODEL}"
Copy link
Owner

Choose a reason for hiding this comment

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

@dzhovi can we ask repo-reasoner to save its logs somewhere? It will be very interesting to see why some repositories were filtered out.

@yegor256
Copy link
Owner

yegor256 commented Jan 5, 2025

@dzhovi looks very good! see some comments above

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.

3 participants