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

The build lift instructions in Readme don't work #1996

Open
bledari opened this issue Mar 22, 2022 · 3 comments
Open

The build lift instructions in Readme don't work #1996

bledari opened this issue Mar 22, 2022 · 3 comments

Comments

@bledari
Copy link

bledari commented Mar 22, 2022

The build lift instructions in Readme don't work

git clone https://github.com/lift/framework.git
cd framework
./liftsh +update +publish

@dpp
Copy link
Member

dpp commented Mar 22, 2022

It seems that dl.bintray.com is giving a 500 which indicates problems with the bintray.

Please give it a few hours for the error to clear up (this is beyond this project or the ability of this project to influence)

@dpp
Copy link
Member

dpp commented Mar 22, 2022

Okay... I pointed the script to a different download site for sbt:

diff --git a/liftsh b/liftsh
index f96e94f0..3b7f6559 100755
--- a/liftsh
+++ b/liftsh
@@ -2,8 +2,8 @@
 
 # Make sure to change the name of the launcher jar and the source when bumping sbt version
 # so that the existence test below fails and we download the new jar.
-SBT_LAUNCHER_PATH="project/sbt-launch-0.13.15.jar"
-SBT_LAUNCHER_SOURCE="https://dl.bintray.com/sbt/native-packages/sbt/0.13.15/sbt-0.13.15.tgz"
+SBT_LAUNCHER_PATH="project/sbt-launch-0.13.18.jar"
+SBT_LAUNCHER_SOURCE="https://github.com/sbt/sbt/releases/download/v0.13.18/sbt-0.13.18.tgz"
 
 # Download the sbt launcher on-the-fly if it's not already in the repository.
 if test ! -f $SBT_LAUNCHER_PATH; then

Getting another error:

[info] welcome to sbt 1.3.12 (Ubuntu Java 11.0.14)
[info] loading settings for project root from plugins.sbt ...
Cloning into '/home/dpp/.sbt/1.0/staging/a6a77c219d2001172bee/sbt-lift-build'...
fatal: remote error: 
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
[error] Nonzero exit code (128): git clone git://github.com/lift/sbt-lift-build.git /home/dpp/.sbt/1.0/staging/a6a77c219d2001172bee/sbt-lift-build
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q

Anyone (e.g., @Shadowfiend @andreak @farmdawgnation ) got clues as to how to work around this issue?

@andreak
Copy link
Member

andreak commented Mar 22, 2022

According to https://stackoverflow.com/questions/70663523/the-unauthenticated-git-protocol-on-port-9418-is-no-longer-supported
... you cannot use the old git:// protocol anymore, so you have to use https or ssh.
To convert existing git://-URLs to https:

git config --global url."https://".insteadOf git://

To convert to ssh:

git config --global url."[email protected]:".insteadOf git://github.com/

Hope this helps.

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

No branches or pull requests

3 participants