Ebenezer - Here is an update if you don't mind the pestering... hope you may have some ideas.
I updated my github account to not use two-factor auth (for now). I still get the error. So, that's probably not it. Stackflow has some relevant responses? : https://stackoverflow.com/questions/19576742/how-to-clone-all-repos-at-once-from-github Maybe need to look at the API at github ? https://developer.github.com/v3/ or https://developer.github.com/v4/#why-is-github-using-graphql anyway, I tried to manually get things moving by: > git clone https://github.com/jdailey/fineract-cn-lang That got the first repo, and then gradle did its thing, with an error: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'lang'. > Could not resolve all dependencies for configuration ':classpath'. > Could not resolve org.eclipse.jgit:org.eclipse.jgit:4.8.0.201706111038-r. Required by: project : > org.ajoberstar:grgit:2.0.0 > Could not resolve org.eclipse.jgit:org.eclipse.jgit:4.8.0.201706111038-r. > Could not get resource ' https://jcenter.bintray.com/org/eclipse/jgit/org.eclipse.jgit/4.8.0.201706111038-r/org.eclipse.jgit-4.8.0.201706111038-r.pom '. > Could not GET ' https://jcenter.bintray.com/org/eclipse/jgit/org.eclipse.jgit/4.8.0.201706111038-r/org.eclipse.jgit-4.8.0.201706111038-r.pom '. > Remote host closed connection during handshake > Could not resolve org.eclipse.jgit:org.eclipse.jgit:4.8.0.201706111038-r. > Could not get resource ' https://plugins.gradle.org/m2/org/eclipse/jgit/org.eclipse.jgit/4.8.0.201706111038-r/org.eclipse.jgit-4.8.0.201706111038-r.pom '. > Could not GET ' https://plugins.gradle.org/m2/org/eclipse/jgit/org.eclipse.jgit/4.8.0.201706111038-r/org.eclipse.jgit-4.8.0.201706111038-r.pom '. > Remote host closed connection during handshake (snip) I did curl some of these resources directly and get back a text (xml) return, and for some getting a null response? I'm expecting a maven XML pom formatted file, right? This is not in my wheelhouse, but I'll keep trying and leaving bread crumbs... ;) Hope you have some answers. James On Sun, Oct 28, 2018 at 9:06 PM James Dailey <[email protected]> wrote: > Ebenezer G - thanks for the script > https://github.com/apache/fineract-cn-demo-server/blob/develop/scripts/Unix/initial-setup.sh > > > I'm trying to follow along and perhaps figure out what is a difficult step > for other devs. > > I have forked to my github acct each of the fineract-cn repos as called on > the line starting "get_modules fineract-cn-lang fineract-cn-api > fineract-cn-async...." > > Using your script, I get an error on authentication. My github account > uses 2-factor authentication, so I think that's the source of the error as > it errors out on the first repo you start with in the > get modules () function. > > > Cloning into 'fineract-cn-lang'... > > > remote: Invalid username or password. > > > fatal: Authentication failed for ' > https://github.com//fineract-cn-lang.git/' > > > -bash: cd: fineract-cn-lang: No such file or directory > > > It would be useful to be able to use your script to clone each of the core > git repos locally. > > Any thoughts on how to use your script with two-factor auth enabled on > github? Or bypass that? > > Thanks, > James > >
