首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Windows中的Iceberg/Pharo8 8有什么问题?

Windows中的Iceberg/Pharo8 8有什么问题?
EN

Stack Overflow用户
提问于 2021-05-31 04:07:34
回答 1查看 164关注 0票数 3

我试图在Windows 10中设置一个Pharo8映像,使用我手工克隆的gives,但是repo给出了一个奇怪的错误。以下代码在linux上运行良好,但在Windows中失败(我已经尝试过Git Bash或msys2-mingw 64)。它克隆了我的回购程序,在子目录中下载了一个法老8 image+vm,将它复制到一个新的映像中,在该映像中添加了一个Iceberg,并尝试安装一个元程序包:

代码语言:javascript
复制
$ git clone git@github.com:powerlang/powerlang.git powerlang
$ cd powerlang/bootstrap
$ curl https://get.pharo.org/64/80+vm | bash
$ ./pharo Pharo.image save bootstrap
$ ./pharo bootstrap.image eval --save "(IceRepositoryCreator new location: '..' asFileReference; createRepository) register"
$ ./pharo bootstrap.image metacello install tonel://./src BaselineOfPowerlang
MetacelloNotification: Fetched -> BaselineOfPowerlang-tonel.1 --- tonel://C:\dev\powerlang\bootstrap\src --- tonel://C:\dev\powerlang\bootstrap\src
MetacelloNotification: Loaded -> BaselineOfPowerlang-tonel.1 --- tonel://C:\dev\powerlang\bootstrap\src --- tonel://C:\dev\powerlang\bootstrap\src
MetacelloNotification: Loading baseline of BaselineOfPowerlang...
3. using HTTPS instead SSH (Just use an url in the form HTTPS://etc.git). I will try to clone the HTTPS variant.
3. using HTTPS instead SSH (Just use an url in the form HTTPS://etc.git). I will try to clone the HTTPS variant.
3. using HTTPS instead SSH (Just use an url in the form HTTPS://etc.git). I will try to clone the HTTPS variant.
3. using HTTPS instead SSH (Just use an url in the form HTTPS://etc.git). I will try to clone the HTTPS variant.
3. using HTTPS instead SSH (Just use an url in the form HTTPS://etc.git). I will try to clone the HTTPS variant.
[infinite loop]

我做错了什么吗?我怎样才能解决这个问题?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-12-03 03:44:28

问题似乎与道路有关。

我最终可以通过手动告诉Iceberg .ssh文件在哪里(它应该已经知道:/在标准目录中)来绕过它们。改为下面的一行解决了这个问题:

代码语言:javascript
复制
$ ./pharo bootstrap.image eval --save "IceCredentialsProvider useCustomSsh: true. IceCredentialsProvider sshCredentials publicKey: '`cygpath -w ~/.ssh/id_rsa.pub`'; privateKey: '`cygpath -w ~/.ssh/id_rsa`'. (IceRepositoryCreator new location: '..' asFileReference; createRepository) register"

冰山不支持将~用于ssh路径,也不支持使用/c/Users/xxx表示法,因此我们将其传递给/c/Users/xxx样式的路径(cygwin -w ~/.ssh/id_rsa被转换为C:\Users\xxx\.ssh\id_rsa)。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67767811

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档