Support the new API workflow for posting commit series
Review Request #10240 — Created Oct. 18, 2018 and submitted
RBTools now uploads a cumulative diff of the entire commit series after
all commits have been uploaded so (a) Review Board can have a copy of
this diff instead of generating it and (b) Review Board can validate
the uploaded commits fully represent the range uploaded.
Posted a commit series for review and then published it. It worked!
Description | From | Last Updated |
---|---|---|
Leftover debug output? |
david | |
Can you add something like: if isinstance(cumulative_diff, bytes): raise TypeError('cumulative_diff must be a byte string, not %s' % type(cumulative_diff)) |
chipx86 | |
Same here. |
chipx86 | |
Should this be bytes? |
chipx86 | |
This should be a Unicode string. |
chipx86 | |
Parameter validation should be done at the top of the function, before we do anything else. |
chipx86 |
- Commit:
-
5f4e3845a2dfbaa82cd8a3deac4dc1a48f8668a80c85783c086e2b3754f24dc476c52ed31d0a86b5
- Diff:
-
Revision 2 (+58 -15)
Checks run (2 succeeded)
- Change Summary:
-
Addressed feedback
- Commit:
-
0c85783c086e2b3754f24dc476c52ed31d0a86b5213b773602c4d66a4ad98ecaadf19dc1e16bbe67
- Diff:
-
Revision 3 (+57 -15)
Checks run (2 succeeded)
- Change Summary:
-
Addressed feedback.
- Commit:
-
213b773602c4d66a4ad98ecaadf19dc1e16bbe675daf19c2446322905b7bf2839edfd8887ea3dd83
- Diff:
-
Revision 4 (+65 -15)
Checks run (2 succeeded)
- Change Summary:
-
Addressed feedback
- Commit:
-
5daf19c2446322905b7bf2839edfd8887ea3dd8363df254eff07108954c6a0c892a1672b8e8e8d39
- Diff:
-
Revision 5 (+65 -15)