Openedx devstack installation - docker

Instructions of openedx devstack installation
I'm trying to install the openedx hawthorn release on my Mac. I followed the instructions, but when I ran make dev.clone, it gave me the error below:
fatal: not a git repository (or any of the parent directories): .git
make: *** [Makefile:41: dev.clone] Error 128
My command line
Any suggestions on how to resolve this issue?

after step 2,
edit the repo.sh file on line 93 like this:
cd $name
git checkout open-release/${OPENEDX_RELEASE}
cd ..
You need to add 1 & 3 line. And then follow further steps.

you can try the below command
make dev.clone.https
When you try to make dev.clone by default it uses ssh to clone the repository. In windows using ssh for git clone gives the error. So try using https for git clone.

Related

How can I add git to the ruby command line?

I am looking to access git commands from the Ruby command line in Windows 10 however when I attempt to run a git command I get a "git is not recognized" error. I can call git commands from the standard command line without any problems. I have updated my paths to include C:\Program Files\Git\cmd\ and C:\Program Files\Git\bin\ however this has not resolved the error. Any other suggestions of how to solve this?
Make sure you've set your PATH to git correctly. By default, git should already be configured to PATH automatically. Go to this link and download the correct version for your system and then install it. Afterwards, open the windows terminal and everything should work.
This may help you out: How to run Ruby and GIT commands in one place on Windows

Unable to negotiate a key exchange method with Mina deployment

I'm encountering a message like this while deploying with Mina, but not sure why Git is not able to pull the repo.
I've tried switching sshd_config due to Unable to negotiate a key exchange method message, but still can't figure things out. Thanks for helping.
-----> Creating a temporary build path
$ touch "deploy.lock"
$ mkdir -p "$build_path"
$ cd "$build_path"
-----> Cloning the Git repository
$ git clone "git#github.com:repo/project.git" "/home/deploy/project/scm" --bare
Cloning into bare repository '/home/deploy/project/scm'...
Unable to negotiate a key exchange method
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
! ERROR: Deploy failed.
-----> Cleaning up build
$ rm -rf "$build_path"
Unlinking current
$ rm -f "deploy.lock"
OK
! Command failed.
Failed with status 1 (19)
The issue is, that your local SSH client and the remote endpoint at GitHub are unable to agree on a common key exchange method.
This will mostly occur when you poked around with the set of available Key exchange methods or you are using a very old & outdated SSH client which does not support any method which is still regarded as safe.
Interestingly this only occurs on some GitHub Repos: I'm still able to pull from other reports.
To diagnose you can set the following environment variable to see more of the SSH output:
export GIT_SSH_COMMAND="ssh -vv"
To fix it, I added a custom entry in my config_ssh or ~/.ssh/.config allowing more legacy algorithms for that host. Please note this should appear above any Host * section:
# Github needs diffie-hellman-group-exchange-sha1 some of the
# time but not always.
Host github.com
KexAlgorithms curve25519-sha256#libssh.org,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1

Could not read from remote repository. SwiftyDropbox

I created ssh key and added it to github. But when I launch $ ssh -vT git#github.com I got the error Permission denied (publickey). I tried several different methods but I got the same error. Still I want to add SwiftyDropbox to my project but I get Permission denied (publickey).
fatal: Could not read from remote repository. But I all made by order. I don't know what do I do? Please help me.
I make following for install SwiftyDropbox
MacBook-Pro:~ Alexsander$ cd Desktop
MacBook-Pro:Desktop Alexsander$ cd Apple
MacBook-Pro:Apple Alexsander$ cd Development
MacBook-Pro:Development Alexsander$ cd TestCocao
MacBook-Pro:TestCocao Alexsander$ cd PodsTest
MacBook-Pro:PodsTest Alexsander$ pod setup
Setting up CocoaPods master repo
Setup completed
MacBook-Pro:PodsTest Alexsander$ touch Podfile
MacBook-Pro:PodsTest Alexsander$ open Podfile
MacBook-Pro:PodsTest Alexsander$ pod install
Updating local specs repositories
[!] Error installing SwiftyDropbox
[!] /usr/bin/git clone git#github.com:dropbox/SwiftyDropbox.git /var/folders/vl/6w14j04s5n11cgfcrgwdql940000gn/T/d20151002-1479-17ri6hu --single-branch --depth 1 --branch 0.4
Cloning into '/var/folders/vl/6w14j04s5n11cgfcrgwdql940000gn/T/d20151002-1479-17ri6hu'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
After create a new ssh key and I added it in my github account, it is working for me.
Check if you already have an ssh key https://docs.github.com/es/authentication/connecting-to-github-with-ssh/checking-for-existing-ssh-keys
If you don't, create a new one. https://docs.github.com/es/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
Then add it to yout Github https://docs.github.com/es/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account

Installing Erlang/OTP 17.5 on OSX

The official install instructions say:
If you want to build the wx application, you will need to get
wxWidgets-3.0 (wxWidgets-3.0.0.tar.bz2 from
http://sourceforge.net/projects/wxwindows/files/3.0.0/) or get it from
github with bug fixes:
$ git clone --branch WX_3_0_branch git#github.com:wxWidgets/wxWidgets.git
Who wouldn't want bug fixes:
$ git clone --branch WX_3_0_branch git#github.com:wxWidgets/wxWidgets.git
Cloning into 'wxWidgets'...
fatal: Remote branch WX_3_0_branch not found in upstream origin
Does anyone know where the bug fix version is located?
Response to comment:
With all caps, I get:
$ git clone --branch WX_3_0_BRANCH git#github.com:wxWidgets/wxWidgets.git
Cloning into 'wxWidgets'...
ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
For future searchers: in order to use github commands like above, you need to setup ssh keys for your computer. I had already done that, but for some reason it didn't work a few hours later. Firewall problems at my new location? I don't know. I moved to a different location/server from where I was getting the Connection reset by peer error, and then I created a new ssh key, and I was able to download and install wxWidgets. The git clone command just downloads the source, so you probably want to be at the ~/Downloads prompt when you issue that command. The Erlang install directions tell you how to install wxWidgets.
The branch in question is named WX_3_0_BRANCH — all uppercase.

Missing package github.com/docker/docker/autogen/dockerversion

Trying to compile Docker in Windows according to the instructions here:
How to compile Docker on Windows
and getting this error message:
cannot find package "github.com/docker/docker/autogen/dockerversion" in any of:
Tried browsing to https://github.com/docker/docker/autogen/dockerversion but getting a 404; can anyone tell me how to get this using GIT client?
I had the same issue, the author has updated the post as you have seen to include the use of GitBash. You will need to update your source to get the new 'hack' directory content used in the instructions he outlines as per below:
git clone --depth 1 https://github.com/docker/docker.git /c/gopath/src/github.com/docker/docker
cd /c/gopath/src/github.com/docker/docker
export GOPATH=/c/gopath:/c/gopath/src/github.com/docker/docker/vendor
export DOCKER_CLIENTONLY=1
chmod +x hack/make/.go-autogen && hack/make/.go-autogen
cd docker
go build
Do you have GitBash installed? All of the instructions he provides need to be run in a GitBash window not the Windows Command window now.
I have built it successfully, so if you need any more help I may be of use.

Resources