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

Project API #354

Merged
merged 18 commits into from
Mar 2, 2020
Merged

Project API #354

merged 18 commits into from
Mar 2, 2020

Conversation

anamariamv
Copy link
Contributor

This PR solves:
#338 and #339

Ana Marquez Velazquez added 8 commits February 24, 2020 13:54
…ojects

� Conflicts:
�	github4s/src/main/scala/github4s/Decoders.scala
�	github4s/src/main/scala/github4s/Github.scala
�	github4s/src/main/scala/github4s/modules/GithubAPIs.scala
�	github4s/src/test/scala/github4s/utils/BaseIntegrationSpec.scala
�	github4s/src/test/scala/github4s/utils/BaseSpec.scala
�	github4s/src/test/scala/github4s/utils/TestData.scala
Copy link
Contributor

@BenFradet BenFradet left a comment

Choose a reason for hiding this comment

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

LGTM, I just have a few minor comments here and there 👍

docs/docs/project.md Outdated Show resolved Hide resolved
docs/docs/project.md Outdated Show resolved Hide resolved
docs/docs/project.md Outdated Show resolved Hide resolved
docs/docs/project.md Outdated Show resolved Hide resolved
docs/docs/project.md Outdated Show resolved Hide resolved
docs/docs/project.md Outdated Show resolved Hide resolved
github4s/src/main/scala/github4s/algebras/Projects.scala Outdated Show resolved Hide resolved
* @return GHResponse with the list of columns belonging to this project id
*/
def listColumns(
project_id: Int,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
project_id: Int,
projectId: Int,

wdyt?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In my opinion, I think we should leave it at that and to have the same structure in the whole project.
For instance:
client_id
commit_id

github4s/src/main/scala/github4s/domain/Project.scala Outdated Show resolved Hide resolved
Co-Authored-By: Ben Fradet <benjamin.fradet@gmail.com>
@codecov
Copy link

codecov bot commented Feb 26, 2020

Codecov Report

Merging #354 into master will increase coverage by 0.16%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #354      +/-   ##
==========================================
+ Coverage   92.11%   92.27%   +0.16%     
==========================================
  Files          23       24       +1     
  Lines         507      518      +11     
  Branches        1        1              
==========================================
+ Hits          467      478      +11     
  Misses         40       40              
Impacted Files Coverage Δ
...la/github4s/interpreters/ProjectsInterpreter.scala 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9f2e051...6e38823. Read the comment docs.

anamariamv and others added 4 commits February 26, 2020 14:22
Co-Authored-By: Ben Fradet <benjamin.fradet@gmail.com>
Co-Authored-By: Ben Fradet <benjamin.fradet@gmail.com>
…ter.scala

Co-Authored-By: Ben Fradet <benjamin.fradet@gmail.com>
Co-Authored-By: Ben Fradet <benjamin.fradet@gmail.com>
Copy link
Contributor

@bond15 bond15 left a comment

Choose a reason for hiding this comment

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

💯 Looks good!

docs/docs/project.md Outdated Show resolved Hide resolved
@anamariamv anamariamv merged commit ef1d0e5 into master Mar 2, 2020
@anamariamv anamariamv deleted the am-338-ListProjects branch March 2, 2020 15:58
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.

5 participants