| Summary: | Sort tags and branches by age | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Git | Assignee: | Tomasz Zarna <tomasz.zarna> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | susan, Szymon.Brandys |
| Version: | 0.3 | ||
| Target Milestone: | 0.4 M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 360275 | ||
| Bug Blocks: | |||
|
Description
John Arthorne
Added a new property to JSON Tag object[1]. It's "LocalTimeStamp"[2] and it returns time of commit for which the tag has been created[3]. It's not creation time of a tag since it's only available for annotated tags, which we don't use in Orion at the moment. Mixing tag time for annotated tags and commit time for lightweight tags doesn't seem right. So I decided to return commit time in both cases. Leaving the bug open to consume it in the UI once the blocker is fixed. [1] see c00790d620be2fc21264e5765b630a92a17918fc [2] org.eclipse.orion.internal.server.servlets.ProtocolConstants.KEY_LOCAL_TIMESTAMP [3] org.eclipse.jgit.revwalk.RevCommit.getCommitTime() Added the same property, "LocalTimeStamp", to JSON Branch object[1]. Closing this bug, tags and branches are now sorted by time. If work is required to adapt to changes from bug 360275 I will file a new bug. [1] see 8dfad3b54300f8879d4a29c4ba90ee5f40711fc5 |