Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Conversation

@StanleyGoldman
Copy link
Contributor

@StanleyGoldman StanleyGoldman commented Mar 7, 2018

This targets #599 and does the work of removing Octokit from the application.
This includes libraries and a special solution used for debugging Octokit.
The majority of code changes to the application are removing IGitHubClient and credentials objects.

@StanleyGoldman StanleyGoldman changed the title Removing Octokit & Octorun C# Removing Octokit Mar 8, 2018
{
command.Append(" -d ");
command.Append(newRepository.Description);
command.Append(description);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs quotes around it for the command line to parse properly

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in #599

{
var executingAssembly = typeof(ApplicationConfiguration).Assembly;
AssemblyName = executingAssembly.GetName();
ProductHeader = new ProductHeaderValue(ApplicationInfo.ApplicationSafeName, AssemblyName.Version.ToString());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related directly to this PR, but you should make sure this information is sent along with the requests in the node app, so you might need to set it in the environment as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tracked in #617

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be fixed in #599

return new LoginResultData(LoginResultCodes.Failed, Localization.LoginFailed, host);
}
await keychain.Clear(host, false);
return new LoginResultData(LoginResultCodes.Failed, Localization.LoginFailed, host);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing the other error conditions like locked out and the workaround for enterprise, isn't it?

Copy link
Contributor Author

@StanleyGoldman StanleyGoldman Mar 9, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tracked in #617 #621

@StanleyGoldman StanleyGoldman mentioned this pull request Mar 9, 2018
8 tasks
# Conflicts:
#	script
#	src/GitHub.Api/Application/ApiClient.cs
#	src/GitHub.Api/Authentication/LoginManager.cs
@StanleyGoldman StanleyGoldman merged commit 44796bc into features/octorun-js Mar 9, 2018
@StanleyGoldman StanleyGoldman deleted the fixes/remove-octokit-and-octorun branch March 9, 2018 19:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants