Xcode build bot repository credentials sheet does not provide enough information

Originator:amolloy
Number:rdar://20119064 Date Originated:3/11/2015
Status:Closed Resolved:Fixed
Product:Xcode Product Version:6.1.1, 6.2
Classification:UI Usability Reproducible:Always
 
Summary:
In Xcode, while setting up a build bot on Xcode Server, the sheet for providing repository credentials does not provide enough information and can sometimes be confusing. In particular, if the git repository is currently using https for its default remote, the credential "Type" drop down box will be disabled with no indication as to why. Even though "User Name and Password" is the only appropriate choice in that case, since there is no indication of why it is disabled or even which remote Xcode intends to use for the build bot the user can be left scratching their head figuring it out.

Steps to Reproduce:
1. Clone a remote git repository using https. The repository should contain an Xcode project.
2. Open the Xcode project.
3. Click Products -> Create bot...
4. Click "Next"
5. When the "Please provide credentials for this bot" sheet appears, press "Change"



Expected Results:
In the credential sheet which appears, the "Type" field is disabled, but there is some indication as to why. For example, a message stating something to the effect of "This remote type allows only User name and Password credentials." Alternatively, no extra message may be necessary if the remote Xcode is going to use for the bot is displayed (see attached Credentials-better.png). For many users this would provide enough information to determine why the credential type drop down box is disabled.

Actual Results:
The "Type" drop down box is disabled for no obvious reason.

Version:
Xcode 6.1.1, Xcode 6.2

Notes:


Configuration:
OS X 10.9, 10.10

Attachments:
'Credentials-current.png' and 'Credentials-better.png' were successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!