archimatetool / archi-modelrepository-plugin

coArchi - a plug-in to share and collaborate on Archi models.
153 stars 53 forks source link

can not open git-receive-pack #18

Closed itc2009 closed 7 years ago

itc2009 commented 7 years ago

I am getting an "can not open git-receive-pack" error when trying to publish to repository hc_1506

Phillipus commented 7 years ago

This might mean an authentication error. Have you double-checked your user login details, and proxy settings if any?

Phillipus commented 7 years ago

Also, remember that you can only have one Archi model per git repository.

jbsarrodie commented 7 years ago

And remember that the repository must have been fully created before... Which on github means at least on file (usually README.md).

Phillipus commented 7 years ago

I think it does exist.

https://github.com/itc2009/archimatemodels

itc2009 commented 7 years ago

with 4.0.1 it works fine. p.s. how can i add some existing model to the repository? or i can only start from scratch?

Phillipus commented 7 years ago

See issue #15

Phillipus commented 7 years ago

Closing.

jbsarrodie commented 7 years ago

FYI I had the same issue today. It was cause by some spaces added at the end of the repo url when copying it on Archi. Maybe we should trim it before passing it to jgit..

Phillipus commented 7 years ago

Add trim() to all dialog getters

Phillipus commented 7 years ago

Also, the connection is tested first before doing a git action to provide a better error message.