-
Notifications
You must be signed in to change notification settings - Fork 225
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
--branch xyz fails with 'remote hung up unexpectedly' on ssh:// urls #546
Comments
This seems to be a problem on sbt only, not on 'bare' g8. |
This problem appears to have been introduced in sbt 1.3.13 |
@jasperstein, can you please test this fix? Instructions are provided, and you just need coursier and sbt to build it. |
Hi Tonio, thanks for looking into this! I've tried building it locally but it won't on my machine, sorry. However since your fix will produce an experimental version of g8 not sbt, the only thing I can test is whether this doesn't break g8. On a bare g8, |
Argh, I admit that I got confused while I was linking issues to my PR. In fact, this issue might be related to sbt and not to g8, particularly how sbt parses command-line options after |
I'm pretty certain :-)
[image: image.png]
Op do 10 jun. 2021 om 13:28 schreef Antonio Gelameris <
***@***.***>:
… I just tested the current stable of g8 the 0.13.1 locally, and it fails:
$ g8 ***@***.***/scala/scala-seed.g8.git --branch 2.12.x
***@***.***/scala/scala-seed.g8.git: invalid privatekey: ***@***.***
@jasperstein <https://github.com/jasperstein>, are you sure that with
bare g8, the previous command works? A double-check might be handy.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#546 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYFURLE2XQ3MQFFKLJ4VFTTSCOUNANCNFSM43STD32Q>
.
|
Yeah, I removed the message sometime after writing since I realized that it was indeed working 👍 |
steps
No steps required.
sbt 1.5.0.
problem
sbt new
fails when using the--branch
switch on anssh://...
protocol g8 template, e.g.:(More details in stack trace)
stack trace
expectation
The specified branch of scala-seed.g8 is used to generate a seed project
notes
The text was updated successfully, but these errors were encountered: