Picture of Antonio Gago
Register plugin with gitlab
by Antonio Gago - Friday, 14 February 2020, 8:34 AM
 

Hi all,

I have developed some plugins with Adapt Framework - v5. 

I would like to share them with the community but I am always getting the same error when I try to register them (exit code of #128 fatal: unable to connect to gitlab.com). I have followed the documentation of Registering a plugin.

I am using gitlab instead of github to save the code and I don't know if this could be the reason of my issue.

Does anyone know if this is possible ?

Thanks

Antonio

Picture of Matt Leathes
Re: Register plugin with gitlab
by Matt Leathes - Friday, 14 February 2020, 10:11 AM
 

What is the gitlab URL?

Picture of Antonio Gago
Re: Register plugin with gitlab
by Antonio Gago - Friday, 14 February 2020, 11:50 AM
 

Matt, thank you very much for your interest.

The gitlab URL is git@gitlab.com/singular-adapt/adapt-textWithPopups.git

When I execute the adapt register command and I am asked to set the "Confirm repository URL", if I set that gitlab URL , I get the following message:

error: Please provide a repository URL of the form git://<domain><path>.git

If I then I try to set the repository URL as git://gitlab.com/singular-adapt/adapt-textWithPopups.git, I get the error said in my first post:

exit code of #128 fatal: unable to connect to gitlab.com:

Picture of Matt Leathes
Re: Register plugin with gitlab
by Matt Leathes - Friday, 14 February 2020, 1:02 PM
 

It looks like Gitlab doesn't support the git:// protocol.

Try using https://gitlab.com/singular-adapt/adapt-textWithPopups or https://gitlab.com/singular-adapt/adapt-textWithPopups.git instead - it might work.

If not you'll need to submit an issue asking for Gitlab support to be added.

Picture of Antonio Gago
Re: Register plugin with gitlab
by Antonio Gago - Friday, 14 February 2020, 5:49 PM
 

Thanks Matt, 

I have already tried using https://gitlab.com/singular-adapt/adapt-textWithPopups.git

When registering the plugin (with the adapt register command), it doesn't supports https:// protocol, it has to be git:// protocol.


This is the error message that appears if you don't use git protocol.

error: Please provide a repository URL of the form git://<domain><path>.git