Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 479607

Summary: PushJob - Unsupported changes between Orion 5 and Orion8
Product: [ECD] Orion Reporter: Oleg Tsentsiper <oleg.tsentsiper>
Component: GitAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED WONTFIX QA Contact:
Severity: critical    
Priority: P3 CC: steve_northover
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Oleg Tsentsiper CLA 2015-10-13 01:09:18 EDT
In Orion8 was changed check of pushToGerrit from  branch.startsWith("refs/for/") to branch.startsWith("for/").

A branch name comming from the client must be looks like "for/master", but when going to check "updates" after "push" the condition "branch.equals(Repository.shortenRefName(rm))" is problematic, because the flow check an equals between "for/master" and "refs/for/master".

As result GitConstants.KEY_UPDATES always empty in responce.

Best regards.
Comment 1 Steve Northover CLA 2016-01-15 13:51:27 EST
Is this currently broken in Orion 10?  If not, we won't patch old versions of Orion.
Comment 2 Steve Northover CLA 2016-01-15 13:52:11 EST
Please reopen if still broken in the latest.