| Summary: | [Client] Git remote:Make git remote consumable by git status page | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | libing wang <libingw> |
| Component: | Client | Assignee: | Malgorzata Janczarska <malgorzata.tomczyk> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Szymon.Brandys |
| Version: | 0.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 345980, 348551 | ||
| Bug Blocks: | 345978 | ||
|
Description
libing wang
I thought bug 345978 was deferred. I'll check tomorrow how much time is needed to fix bug 345980 and bug 345981 and let you know. Gosia has cycles to look at it. To display the git remote view follow the instructions in bug 345980 comment 3 until point 4. To populate the navigator with data for given Remote you should call: navigator.loadCommitsList(Remote.CommitLocation + "?page=1"); If you want incoming commits to be marked you should pass the json list to navigator.renderer.setIncomingCommits(IncomingCommitsJsonData); as said in bug 345980 comment 3 this should be called _before_ loadCommitsList. You may obtain the incoming commits json data from gitService.getLog, like this: gitService.getLog(Remote.HeadLocation, Remote.Id, function(scopedCommitsJsonData, secondArd) { navigator.renderer.setIncomingCommits(scopedCommitsJsonData); navigator.loadCommitsList(Remote.CommitLocation + "?page=1"); }); Where "Remote" is a json representation of the git remote. I've pushed changes in bug 345980. I'm closing it as duplicate, because this is practically the same. *** This bug has been marked as a duplicate of bug 345980 *** |