gitless icon indicating copy to clipboard operation
gitless copied to clipboard

gl publish hangs

Open kenOfYugen opened this issue 8 years ago • 3 comments

I really like gitless but there are many minor fixes to be done to make it a robust tool.

When using gl publish, just hangs. By issuing git push, I got asked for my username & password for the remote. Shouldn't gitless be asking for them?


Edit: had to add that setting user name and password for the remote by: git config credential.https://someRemote.com.username yourUserName git config credential.https://someRemote.com.password yourPassword

allows gl publish to work perfectly.

kenOfYugen avatar Oct 21 '16 13:10 kenOfYugen

Didn't help in my case (strange characters in password?). "git push" did ask for password, and pushed fine. The password should not be stored in plain text, or written on command line anyway. Any ideas why gl publish still fails?

ArneBachmann avatar Nov 10 '16 13:11 ArneBachmann

@ArneBachmann git push worked fine but gl publish hanged on me, without asking for the username and password. Haven't tested gl publish using a newer gitless version since I reported the issue.

Did you mean that gl publish succeeded instead of git push by any chance?

Storing the password in plaintext isn't a good practice I agree, it was used to circumvent gitless hanging without asking for authentication to the remote.

kenOfYugen avatar Nov 10 '16 15:11 kenOfYugen

The problem is that gl publish should be asking for username/password like git push does but it currently doesn't. Shouldn't be too hard to fix, I'll work on it soon.

In the meantime, a workaround is to use git push if you see that gl publish hangs, or you could do something to prevent git from asking username/password every time (e.g., see http://stackoverflow.com/questions/6565357/git-push-requires-username-and-password)

spderosso avatar Nov 10 '16 16:11 spderosso