Re: github auth initial-setup.sh
Ditto to what Awasum said.
Your repo is public (I checked). Cloning is a read operation.
Therefore, you should be able to clone without any authentication
Which gradle command are you using to build fineract-cn-lang?
./gradlew build ? or ./gradlew publishToMavenLocal ? Or are you
building from within an IDE? Which one?
Have you followed the instructions here:
On Mon, Oct 29, 2018 at 7:33 AM Awasum Yannick <awasum@xxxxxxxxxx> wrote:
> Hi James,
> I wonder why you will need your Github username and password given you are
> cloning from a public repository (do you have private repos?).
> If you need to access your repos using github username and password, you
> need to use your personal access token ( a string which replaces your
> password for 2Factor enabled accounts). Use this together with the username
> when logging in on the terminal to clone a private repo. See more here
> Your second email looks like a network problem. Something to do with
> SSL...but restarting your network switch or router should solve that
> problem. Or use a VPN or maybe check if Github is down(I doubt that).
> Explore these and give feedback.
> On Mon, Oct 29, 2018 at 5:06 AM James Dailey <jamespdailey@xxxxxxxxx> 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