Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes ssh utils #585

Merged

Conversation

JeremySkinner
Copy link
Collaborator

@JeremySkinner JeremySkinner commented Jun 14, 2018

Removes ssh utils and associated tests.

@dahlbyk
Copy link
Owner

dahlbyk commented Jun 14, 2018

I'll take a closer look later today, but an immediate observation: what if we moved the posh-git module into src/posh-git/ and SSH module into src/posh-ssh/? I think this would fix #467.

@dahlbyk
Copy link
Owner

dahlbyk commented Jun 14, 2018

what if we moved the posh-git module into src/posh-git/ and SSH module into src/posh-ssh/?

Nevermind. I really don't think we want to invest anything in making the SSH organization better here.

@@ -13,7 +13,6 @@
foreach($line in $oldProfile) {
if ($line -like '*PoshGitPrompt*') { continue; }
if ($line -like '*Load posh-git example profile*') { continue; }
if ($line -like '*Start-SshAgent*') { continue; }
Copy link
Owner

Choose a reason for hiding this comment

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

Hrm... I was going to say we should leave this, to clean up after old versions, but this uninstall script will only be used for 1.0+ which will have no responsibility for Start-SshAgent...so I think it's fine to go? Thoughts?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes I think it's fine to go

@dahlbyk
Copy link
Owner

dahlbyk commented Jun 14, 2018

Still pondering this. I wonder if it's worth making any SSH fixes at all here in this repo, rather than just spawning a new repo?

From a preservation-of-history standpoint, perhaps the easiest path forward would be to actually make posh-ssh a fork of the posh-git repo at whatever point we consider the v0 fixes "done". Delete all the Git-only files, rename/prune the module, new readme/changelog, fix up some code and we're good to go. Thoughts?

@JeremySkinner
Copy link
Collaborator Author

JeremySkinner commented Jun 15, 2018

I like that idea, preserving the history is good. I'll keep all the fixes in this repo for now until we decide to go ahead with the separation.

@dahlbyk dahlbyk modified the milestones: SSH Agents, v1.0 Jun 18, 2018
@JeremySkinner JeremySkinner force-pushed the feature/split-ssh-into-separate-module branch from 1b157e9 to d9f760c Compare June 19, 2018 08:04
@JeremySkinner
Copy link
Collaborator Author

@dahlbyk I've removed the commits that create posh-ssh and squashed the destructive ones. I think this should be good to go - let me know if you'd like anything changed.

@JeremySkinner JeremySkinner changed the title Work in progress - Split ssh utils into a separate module Removes ssh utils Jun 26, 2018
@JeremySkinner
Copy link
Collaborator Author

@dahlbyk Is there anything else you'd like me to do for this, or are you happy for me to merge it to master?

@dahlbyk dahlbyk merged commit 3dd9fdc into dahlbyk:master Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants