sail icon indicating copy to clipboard operation
sail copied to clipboard

chrome extension: Allow config for cloning via ssh

Open teddy-codes opened this issue 6 years ago • 6 comments

It would be cool to have an open with sail button that only appears when there is .sail in the dom for the repo.

teddy-codes avatar May 22 '19 16:05 teddy-codes

Sail should work with any repo, even if there isn't a .sail.

Sail will try to determine the major language for the repo and select an appropriate docker file to use.

scsmithr avatar May 22 '19 16:05 scsmithr

image then why does it hang?

Edit: I have waited 30 minutes before. I don't think that it can clone like this because of the following reasons:

  • The repo is private.
  • Cloning requires ssh keys.

teddy-codes avatar May 22 '19 17:05 teddy-codes

It's probably hanging on a git prompt.

Try pstree $(pidof sail)

ammario avatar May 22 '19 21:05 ammario

The title of this issue doesn't make sense with the message

ammario avatar May 22 '19 21:05 ammario

Made a more specific issue #172

ammario avatar May 22 '19 21:05 ammario

Changed the title based on my latest message. Also,

sail───11*[{sail}]

is the output

if I just use pidof sail and search both, here is the output:

30444 tty2     Sl+    0:00 /home/robert/go/bin/sail chrome-extension://deeepphleikpinikcbjplcgojfhkcmna/
24460 tty2     Sl+    0:00 /home/robert/go/bin/sail run https://github.com/roberthmiller/su-scan.git

I am assuming that it is hanging on the clone, but not sure what is different from running

sail run roberthmiller/su-scan

versus through the chrome extension (am not too familiar with the codebase yet)

teddy-codes avatar May 22 '19 21:05 teddy-codes