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

Bug 433544

Summary: attempting to push new branch shows seemingly infinite "...add ssh-rsa..." prompters
Product: [ECD] Orion Reporter: Grant Gayed <grant_gayed>
Component: GitAssignee: Project Inbox <orion.git-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: maciej.bendkowski, Silenio_Quarti
Version: 6.0   
Target Milestone: 7.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
screenshot none

Description Grant Gayed CLA 2014-04-25 15:42:20 EDT
Created attachment 242343 [details]
screenshot

- create a new branch, check it out
- go to the Repository Status page, see a bunch of commits listed in the "Commits for '...' branch" list
- push Push > Push Branch

- first issue (not as serious):
  - it shows a list of branches to push; I was assuming it would know to push my current branch
  - anyways, go to find your project in the sorted list, and it's not there, it's at the very bottom of the list with [new branch] appended; that's definitely not where I expected to find it

- second issue:
  - select your branch from the bottom of the list, Ok
  - it attempts to Push the branch, but shows one of those "...add ssh-rsa..." prompters
  - press Ok to continue
  - it has now shown me this same prompter (containing the same fingerpt) 25 times, so I've cancelled
  - it seemed like it was slowly making it through the commit process, because a couple of times I saw a green status briefly start to appear between prompters, but I have no idea what was triggering each of these prompters to show (each commit being pushed?)

In case it's helpful at all a screenshot of the prompter is attached.
Comment 1 Maciej Bendkowski CLA 2014-04-28 06:47:01 EDT
(In reply to Grant Gayed from comment #0)
> - first issue (not as serious):
>   - it shows a list of branches to push; I was assuming it would know to
> push my current branch

It will push your current branch, however it has to find out to what remote branch you want to push, e.g. you may choose a different name for the remote branch name, or choose an existing one and use the force to override it's contents. I wouldn't create a new command for the default new branch push, because it's the easiest way of getting multiple sub-commands for subtle changes in command functionality which in turn defeats the purpose of intuitive command separation.


>   - anyways, go to find your project in the sorted list, and it's not there,
> it's at the very bottom of the list with [new branch] appended; that's
> definitely not where I expected to find it

I find it quite intuitive. Might I ask, where did you expect the [new branch]? Maybe there's a better place for it.

>   - it seemed like it was slowly making it through the commit process,
> because a couple of times I saw a green status briefly start to appear
> between prompters, but I have no idea what was triggering each of these
> prompters to show (each commit being pushed?)

I'd guess it's related to bug 430908.
Comment 2 Silenio Quarti CLA 2014-09-17 20:16:53 EDT
This has been fixed in latest. The problem happened because the wrong GitUrl was used to save in the know host list. The GitUrl is now available on all remote branches.