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. |
|
|
Inconsistent spacing around =s. Shouldn't have any spaces, I think. Also, CNT? |
|
|
Should we be doing some kind of logging rather than just saying to print to console? |
|
|
What happens if the commit has no parents? |
|
|
Wrap this? |
|
Diff: |
Revision 2 (+158) |
---|
Checks run (3 succeeded)
Change Summary:
- Move the resource under the project
- add full message
- add author time
Description: |
|
|||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+163) |
Checks run (2 succeeded)
-
-
src/main/java/org/reviewboard/rbgerrit/CommitListResource.java (Diff revision 4) Inconsistent spacing around
=
s. Shouldn't have any spaces, I think. -
src/main/java/org/reviewboard/rbgerrit/CommitListResource.java (Diff revision 4) Inconsistent spacing around
=
s. Shouldn't have any spaces, I think.Also, CNT?
-
src/main/java/org/reviewboard/rbgerrit/CommitListResource.java (Diff revision 4) Should we be doing some kind of logging rather than just saying to print to console?
-
src/main/java/org/reviewboard/rbgerrit/CommitListResource.java (Diff revision 4) What happens if the commit has no parents?
-