Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 377182 - Using POST to create new log and diff resources is not handy
Summary: Using POST to create new log and diff resources is not handy
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: 0.5   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 341540
  Show dependency tree
 
Reported: 2012-04-19 09:14 EDT by Szymon Brandys CLA
Modified: 2015-05-05 14:38 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Brandys CLA 2012-04-19 09:14:02 EDT
Now, to get git log between two commits we need to:
- have log URI for commit1 (commit1URI)
- do POST on commit1URI and send the commit2 id in the body to create a URI for commit1..commit2 log
- call this commit1..commit2 log URI

I think we could make it more handy by just using GET on commit1 with an extra parameter pointing at the other commit, e.g.
GET on commit1URI?otherCommitId=commit2Id

It would let us create URIs for such resources on the client side without an extra POST call. It would also help with bug 341540.
Comment 1 John Arthorne CLA 2015-05-05 14:38:24 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html