Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh -> https authentication username/password credentials #123

Closed
daggerok opened this issue Sep 7, 2019 · 3 comments
Closed

ssh -> https authentication username/password credentials #123

daggerok opened this issue Sep 7, 2019 · 3 comments

Comments

@daggerok
Copy link
Contributor

daggerok commented Sep 7, 2019

Hello,

In my organisation communication with github via ssh protocol is restricted. So It would be nice if you add some short documentation how to pass proper username/password auth for reckonTagPush` task via some system or gradle properties:

./gradlew reckonTagPush -Preckon.scope=minor -Preckon.stage=beta
> Task :reckonTagPush FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':reckonTagPush'.
> org.eclipse.jgit.api.errors.TransportException: https://github.com/daggerok/deventstore.git: Authentication is required but no CredentialsProvider has been registered

Thanks


Regards,
Maksim

@daggerok daggerok changed the title ssh -> hhtps ssh -> https Sep 7, 2019
@daggerok daggerok changed the title ssh -> https ssh -> https authentication username/password credentials Sep 7, 2019
@daggerok
Copy link
Contributor Author

daggerok commented Sep 7, 2019

I have done some reverse engineering and found this:

GRGIT_USER=somebody
GRGIT_PASS=myauthtoken

here: http://ajoberstar.org/grgit/index.html

should I create a specific to my repo token in github profile settings?

@daggerok
Copy link
Contributor Author

daggerok commented Sep 7, 2019

finally fond this: http://ajoberstar.org/grgit/grgit-authentication.html
will try that...

daggerok added a commit to daggerok/deventstore that referenced this issue Sep 7, 2019
…e a programmer, they said. It'll be fun, they said. (C) whatthecommit.com

see for details: ajoberstar/reckon#123
@daggerok
Copy link
Contributor Author

daggerok commented Sep 7, 2019

Okay, I can confirm, that next command works:

./gradlew reckonTagPush -Preckon.scope=minor -Preckon.stage=beta \
  -Dorg.ajoberstar.grgit.auth.username=daggerok \
  -Dorg.ajoberstar.grgit.auth.password=cretes
Reckoned version: 0.1.0-beta.1

I think question can be closed...


Regards

@daggerok daggerok closed this as completed Sep 7, 2019
daggerok added a commit to daggerok/reckon that referenced this issue Sep 7, 2019
Add GTTPS Grgit username/password credentials according to ajoberstar#123 questoin
ajoberstar added a commit that referenced this issue Feb 12, 2022
Add Grgit auth information into documentation #123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant