Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
time_stats(): use an existing attribute if available
A time_stats attribute is returned by GitLab when fetching issues and merge requests (on reasonably recent GitLab versions). Use this info instead of making a new API call if possible. Fixes #510
- Loading branch information
f2223e2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bravo. When will you rev the next version of the API? 1.4.1?
f2223e2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm targetting a 1.5 actually, but I can probably cherry-pick this change and push it to the 1.4 branch. I'll try try to do that + a release by the end of the week.
f2223e2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent. Thanks.