Skip to content

✨ Add Language struct and optimize result parsing for GHClient.ListProgrammingLanguages#1992

Merged
laurentsimon merged 40 commits intoossf:mainfrom
aidenwang9867:feat/897_fuzzing
Jun 10, 2022
Merged

✨ Add Language struct and optimize result parsing for GHClient.ListProgrammingLanguages#1992
laurentsimon merged 40 commits intoossf:mainfrom
aidenwang9867:feat/897_fuzzing

Conversation

@aidenwang9867
Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

  • A follow-up PR on PR#1979.

  • Modify type Language string to type LanguageName string in clients/languages.go.

  • Add a new struct type Language struct {LanguageName, LoC} in clients/languages.go.

  • Add support for interface ListProgrammingLanguages to parse the returned JSON to a list of Language.

  • Add more language name const: CMake and DockerFile

  • PR title follows the guidelines defined in our pull request documentation

Does this PR introduce a user-facing change?

No.

NONE

Aiden Wang and others added 30 commits May 26, 2022 23:54
@aidenwang9867 aidenwang9867 temporarily deployed to integration-test June 9, 2022 18:54 Inactive
@aidenwang9867 aidenwang9867 changed the title ✨ Follow-up on PR#1979: add Language struct and optimize result parsing for ListProgrammingLanguages ✨ Add Language struct and optimize result parsing for GHClient.ListProgrammingLanguages Jun 9, 2022
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 9, 2022

Codecov Report

Merging #1992 (51764d1) into main (64cd053) will increase coverage by 2.53%.
The diff coverage is 3.70%.

@@            Coverage Diff             @@
##             main    #1992      +/-   ##
==========================================
+ Coverage   50.40%   52.94%   +2.53%     
==========================================
  Files          88       88              
  Lines        7225     7236      +11     
==========================================
+ Hits         3642     3831     +189     
+ Misses       3337     3152     -185     
- Partials      246      253       +7     

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 9, 2022

Comment thread clients/languages.go Outdated
Copy link
Copy Markdown
Contributor

@laurentsimon laurentsimon left a comment

Choose a reason for hiding this comment

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

Besides @azeemshaikh38 's comment, no further comment from me!

@aidenwang9867 aidenwang9867 temporarily deployed to integration-test June 9, 2022 20:23 Inactive
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 9, 2022

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