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

Add GitLab pull request support #12

Open
Jakub-Vacek opened this issue Sep 21, 2020 · 0 comments
Open

Add GitLab pull request support #12

Jakub-Vacek opened this issue Sep 21, 2020 · 0 comments
Labels
Epic: Pull Requests App supports pull requests Status: Available Issue is available

Comments

@Jakub-Vacek
Copy link
Collaborator

Jakub-Vacek commented Sep 21, 2020

Add method getPullRequests to class GitLabService with parameters: config: Config and pullRequestsCount: Int. This method will return array of PullRequest objects containing attributes:

  • id: Int
  • name: String - name of pull request
  • url: String - web url to pull request
  • state: Enum - state of pull request inProgress or merged or closed
  • cratedAt: String - datetime string of pull request creation
  • lastActivityAt: String - datetime string of pull request last activity (including merging or closing)

In this array will be objects with newest lastActivityAt parameter and length of array is equal to parameter pullRequestsCount.

During implementation you can use GilLab api documentation

@Jakub-Vacek Jakub-Vacek added Status: Available Issue is available Epic: Pull Requests App supports pull requests Hacktoberfest https://hacktoberfest.digitalocean.com labels Sep 21, 2020
@prokopsimek prokopsimek removed the Hacktoberfest https://hacktoberfest.digitalocean.com label Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic: Pull Requests App supports pull requests Status: Available Issue is available
Projects
None yet
Development

No branches or pull requests

2 participants