Closed habernal closed 8 years ago
Blocked by #15
Volunteer needed :)
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project dkpro-argumentation: Unable to commit files
[ERROR] Provider message:
[ERROR] The git-push command failed.
[ERROR] Command output:
[ERROR] fatal: remote error:
[ERROR] You can't push to git://github.com/dkpro/dkpro-argumentation.git
[ERROR] Use https://github.com/dkpro/dkpro-argumentation.git
has been driving me crazy for some hours now. No idea how to fix that. I can commit & push to the repo from both IntelliJ and command line (using https://github.com/dkpro/...).
I believe that the "git:" protocol requires you to have set up a ssh key-based authentication on your workstation and on GitHub.
I had it already... https://help.github.com/articles/testing-your-ssh-connection/
$ ssh -T git@github.com
Hi habernal! You've successfully authenticated, but GitHub does not provide shell access.
Ok, here are some hints:
/tmp$ git clone git@github.com:dkpro/dkpro-argumentation.git
[...]
Verbundenheit wird überprüft … Fertig.
/tmp$ cd dkpro-argumentation/
/tmp/dkpro-argumentation$ git push git@github.com:dkpro/dkpro-argumentation.git
Everything up-to-date
user-ukp@DIPF-UKP-IH-NB1:/tmp/dkpro-argumentation$ git push git://github.com/dkpro/dkpro-argumentation.git
fatal: remote error:
You can't push to git://github.com/dkpro/dkpro-argumentation.git
Use https://github.com/dkpro/dkpro-argumentation.git
The first command is working, the second is the one called by maven release plugin and it fails.
From the shell prompt, it looks like you are possibly doing the maven release as a different user (user-ukp). Does that user have the same SSH key that GitHub is expecting?
Yes, all the commands including $ ssh -T git@github.com
were run under user-ukp
user (there's no user habernal
on my system).
The developer connection entry under scm in the Pom is incorrect. Misses git@. Compare with dkpro core com please.
Sent from my mobile, sorry for brevity.
Am 01.07.2016 um 12:11 schrieb Ivan Habernal notifications@github.com:
Yes, all the commands including $ ssh -T git@github.com were run under user-ukp user (there's no user habernal on my system).
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
That did the trick.
Furthermore, the git repo has to be cloned with SSH:
$ git clone git@github.com:dkpro/dkpro-argumentation.git
(with https it didn't work). Anyway, quite painful process :)
Released.
@logological only the <developerConnection>
elements are relevant. The <connection>
no not require to be writable.
I realized that after posting the comment, which is why I immediately deleted it. :)
(previously referred to as 0.0.3)