Add a resource for retrieving a list of commits
Review Request #8922 — Created May 5, 2017 and submitted
The
CommitListResource
, available at
a/projects/<projectName>/all-commits/
, returns a list of commit
information entries about the first N (default 30) commits on a
branch. It also supports starting at a specific commit for
pagination support.
Hit the API with
?limit
and?start
queries and saw the correct
results.
Description | From | Last Updated |
---|---|---|
Inconsistent spacing around =s. Shouldn't have any spaces, I think. |
david | |
Inconsistent spacing around =s. Shouldn't have any spaces, I think. Also, CNT? |
david | |
Should we be doing some kind of logging rather than just saying to print to console? |
david | |
What happens if the commit has no parents? |
david | |
Wrap this? |
david |
- Change Summary:
-
- Move the resource under the project
- add full message
- add author time
- Description:
-
The
CommitListResource
, available at~ a/projects/<projectName>/branches/<branchName>/commits/
, returns a~ list of commit information entries about the first N (default 30) ~ commits on a branch. It also supports starting at a specific commit ~ for pagination support. ~ a/projects/<projectName>/all-commits/
, returns a list of commit~ information entries about the first N (default 30) commits on a ~ branch. It also supports starting at a specific commit for ~ pagination support.
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.