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

Started collecting repo descriptions (Issue #246) #263

Merged
merged 5 commits into from Apr 2, 2024

Conversation

MoromugHSE
Copy link
Contributor

Updated discover-repos.rb to also include the repo description as suggested in issue #246. Wrapped it in double-quote characters to sustain the csv file structure.
TODO: upgrade the description processing further to escape the double-quotes found inside.

@@ -87,7 +87,8 @@
forks: i[:forks_count],
created_at: i[:created_at].iso8601,
size: i[:size],
open_issues_count: i[:open_issues_count]
open_issues_count: i[:open_issues_count],
description: "\"".concat(i[:description], "\"")
Copy link
Owner

Choose a reason for hiding this comment

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

@MoromugHSE I think, just i[:description] will be enough, no need to do the contatenation

@yegor256
Copy link
Owner

yegor256 commented Apr 1, 2024

@MoromugHSE please, don't forget to update the test too, to make sure we test this new functionality

…y test to count the number of columns in the resulting csv file.
@MoromugHSE
Copy link
Contributor Author

image
Something strange is going on with the workflow: I've used the same GH Actions (also disabled sonarcloud), yet in my repo this PR passes all the checks -- here it doesn't.

@yegor256 yegor256 merged commit d334bde into yegor256:master Apr 2, 2024
9 checks passed
@yegor256
Copy link
Owner

yegor256 commented Apr 2, 2024

@MoromugHSE thanks!

@MoromugHSE MoromugHSE deleted the repo-descriptions branch April 2, 2024 13:11
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

2 participants