Creating and Sharing Plugins: How ?

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
AlainD.
Posts: 57
Joined: 23 Mar 2011, 14:30
Location: Bruxelles
Contact:

Creating and Sharing Plugins: How ?

Post by AlainD. »

Hi all, I have created a plugin to use gantt chart in Mantis, and I would like to share it to everyone. But I don't really know how to create a new project on the git server (http://git.mantisforge.org).
I didn't find a good tuto about it.

Imagine I have my source code of my plugin in a folder MantisGanttChart.
What should I do exactly to put it on the git server please ?

Thank you for your help.
AlainD.
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Creating and Sharing Plugins: How ?

Post by atrol »

Register a user: http://git.mantisforge.org/m/reguser.cgi
Register a project: http://git.mantisforge.org/m/regproj.cgi
Learn Git: For example start reading http://www.kernel.org/pub/software/scm/ ... orial.html
This might help and / or confuse you (the instructions are written for the repository of MantisBT at git.mantisbt.org, not for git.mantisforge.org)
http://docs.mantisbt.org/master/en/deve ... EV.CONTRIB

very nice photos, btw
Please use Search before posting and read the Manual
AlainD.
Posts: 57
Joined: 23 Mar 2011, 14:30
Location: Bruxelles
Contact:

Re: Creating and Sharing Plugins: How ?

Post by AlainD. »

atrol wrote:Register a user: http://git.mantisforge.org/m/reguser.cgi
Register a project: http://git.mantisforge.org/m/regproj.cgi

This might help and / or confuse you (the instructions are written for the repository of MantisBT at git.mantisbt.org, not for git.mantisforge.org)
http://docs.mantisbt.org/master/en/deve ... EV.CONTRIB
Thanks! It will be very helpful.

And,
atrol wrote: very nice photos, btw
thank you :wink: :oops:
AlainD.
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
AlainD.
Posts: 57
Joined: 23 Mar 2011, 14:30
Location: Bruxelles
Contact:

Re: Creating and Sharing Plugins: How ?

Post by AlainD. »

Hi again,
sorry to bother. I finally found some time to deal with this plugin push, but I'm facing some diffculties.
I successfully created a user login, a project "MantisGanttChart" : http://git.mantisforge.org/w/MantisGanttChart.git
but now I'm stuck. On my mac,
1- I created a new empty folder.
2- Then I cd in that folder.
3- I launch the command line:

Code: Select all

git clone ssh://<blablabla>/MantisGanttChart.git
==> At this point I cannot go on. I tried to type the admin password of my project but I keep receiving the error message
Permission denied, please try again.
I don't know what to do now :-(

(Or maybe I just need to wait some more time...)

FYI, what I intend to do next is the following. If something seems wrong please tell me.
4- copy/paste my plugin folder into the current directory
5-

Code: Select all

git add .
6-

Code: Select all

git commit
AlainD.
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Creating and Sharing Plugins: How ?

Post by atrol »

I forgot at least one step. You have to enter your public SSH key
http://git.mantisforge.org/m/edituser.cgi
Please use Search before posting and read the Manual
AlainD.
Posts: 57
Joined: 23 Mar 2011, 14:30
Location: Bruxelles
Contact:

Re: Creating and Sharing Plugins: How ?

Post by AlainD. »

atrol wrote:I forgot at least one step. You have to enter your public SSH key
http://git.mantisforge.org/m/edituser.cgi
Well.... I still haven't received my activation code by email yet :-/ I'll try again later.
AlainD.
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
Post Reply