dkpro / dkpro-argumentation

DKPro Argumentation is a general framework for argumentation mining
Apache License 2.0
4 stars 3 forks source link

Release 0.1.0 #14

Closed habernal closed 8 years ago

habernal commented 8 years ago

(previously referred to as 0.0.3)

habernal commented 8 years ago

Blocked by #15

habernal commented 8 years ago

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/...).

reckart commented 8 years ago

I believe that the "git:" protocol requires you to have set up a ssh key-based authentication on your workstation and on GitHub.

habernal commented 8 years ago

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.
habernal commented 8 years ago

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.

logological commented 8 years ago

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?

habernal commented 8 years ago

Yes, all the commands including $ ssh -T git@github.com were run under user-ukp user (there's no user habernal on my system).

reckart commented 8 years ago

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.

habernal commented 8 years ago

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 :)

habernal commented 8 years ago

Released.

reckart commented 8 years ago

@logological only the <developerConnection> elements are relevant. The <connection> no not require to be writable.

logological commented 8 years ago

I realized that after posting the comment, which is why I immediately deleted it. :)