skyeagle100 / gitiles

Automatically exported from code.google.com/p/gitiles
0 stars 0 forks source link

JSON view for commit detail #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
See subject.

Can be approximated with /+log/commit?format=JSON&n=1, but users want the list 
of changed files as well.

Original issue reported on code.google.com by dborowitz@google.com on 13 Dec 2013 at 7:45

GoogleCodeExporter commented 8 years ago
Also need the full commit message, and other details.

Original comment by sza...@google.com on 13 Dec 2013 at 7:52

GoogleCodeExporter commented 8 years ago
If you're trying to prioritize API enhancements, this one is needed for 
Chrome's commit monitoring/alerting/bug-updating tool, which uses the gitiles 
API to avoid needing local git checkouts.

Original comment by mmoss@google.com on 26 Feb 2014 at 9:22

GoogleCodeExporter commented 8 years ago
mmoss: Am I correct in understanding that the /+log/commit?format=JSON&n=1 
workaround doesn't work for you (i.e. you need changed files or something else 
not in that output)?

Original comment by dborowitz@google.com on 26 Feb 2014 at 9:55

GoogleCodeExporter commented 8 years ago
I'm using the +log API already, and that's working well, but it doesn't give me 
everything I need for the commits, in particular the file listing mentioned in 
the original bug comment.

Original comment by mmoss@chromium.org on 26 Feb 2014 at 10:08

GoogleCodeExporter commented 8 years ago
Thanks for clarifying. That also makes the tense in your previous comment make 
more sense, since you are indeed already using it.

Original comment by dborowitz@google.com on 26 Feb 2014 at 10:14

GoogleCodeExporter commented 8 years ago
Slightly off-topic, but there was discussion previously about serving up raw 
blob contents by forwarding to a different domain (to avoid XSS vulnerability). 
 Any movement on that?

Raw blobs and detailed commit stats in JSON are killer features for us.

Original comment by szager@chromium.org on 26 Feb 2014 at 10:21

GoogleCodeExporter commented 8 years ago
szager@: https://code.google.com/p/gitiles/issues/detail?id=7

Original comment by mmoss@chromium.org on 26 Feb 2014 at 10:23

GoogleCodeExporter commented 8 years ago
https://gerrit-review.googlesource.com/55207

Original comment by dborowitz@google.com on 19 Mar 2014 at 10:07