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

Bug 329755

Summary: Make "Try to share newly created project automatically"
Product: [Technology] EGit Reporter: Matěj Cepl <mcepl>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mathias.kinzler
Version: unspecified   
Target Milestone: 0.11-M1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
mentioned screenshot of the problematic dialog none

Description Matěj Cepl CLA 2010-11-09 05:48:34 EST
When importing a new project from a git repository, I get attached dialog. Aside form questioning whole idea of setting sharing in the introductory dialog (how many people import git project while NOT wanting to have it as a git repo?), could I get at least automatic sharing (aka, what should be the only option IMHO) as  a default?

Thank you
Comment 1 Matěj Cepl CLA 2010-11-09 05:49:34 EST
Created attachment 182696 [details]
mentioned screenshot of the problematic dialog
Comment 2 Mathias Kinzler CLA 2010-11-11 09:57:53 EST
(In reply to comment #0)
> When importing a new project from a git repository, I get attached dialog.
> Aside form questioning whole idea of setting sharing in the introductory dialog
> (how many people import git project while NOT wanting to have it as a git
> repo?), could I get at least automatic sharing (aka, what should be the only
> option IMHO) as  a default?
> 
> Thank you

That's two issues in one... First one: there is no "default" for the selected radio button. Instead, the last value selected by the user will be proposed again when the wizard is started again. So if you change the option to "Try to share...", it will should be selected automatically when you start that wizard again.

The second issue: I agree that the auto-share option is what you normally want. I still would be reluctant to remove the other options altogether. For example, we keep seeing issues with nested projects. In such cases, we should give the user a change not to share some or all projects.

Does this clarify things?
Comment 3 Matěj Cepl CLA 2010-11-11 11:52:16 EST
(In reply to comment #2)
> That's two issues in one... First one: there is no "default" for the selected
> radio button. Instead, the last value selected by the user will be proposed
> again when the wizard is started again. So if you change the option to "Try to
> share...", it will should be selected automatically when you start that wizard
> again.

There must be default for the first run of the wizard ever. But yes, with Eclipse remembering the previous setting this is not that catastrophic as I thought it is.

> The second issue: I agree that the auto-share option is what you normally want.
> I still would be reluctant to remove the other options altogether. For example,
> we keep seeing issues with nested projects. In such cases, we should give the
> user a change not to share some or all projects.

Couldn't we hide this from the normal user and change it into something to be done later (menu Project/Share Project... or something similar)?
Comment 4 Mathias Kinzler CLA 2011-03-18 11:14:32 EDT
The wizard has been streamlined significantly for 0.11. Among other things, the sharing is now done automatically (no more question about whether you want to share).