Creating and Sharing Plugins: How ?

Post about your customizations to share with others.

Moderators: Developer, Contributor

Creating and Sharing Plugins: How ?

Postby AlainD. » Jun 08, 2011 4:24 pm

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
AlainD.
 
Posts: 46
Joined: Mar 23, 2011 9:30 am
Location: Bruxelles

Re: Creating and Sharing Plugins: How ?

Postby atrol » Jun 10, 2011 5:00 am

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
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3731
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Creating and Sharing Plugins: How ?

Postby AlainD. » Jun 10, 2011 9:04 am

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: 46
Joined: Mar 23, 2011 9:30 am
Location: Bruxelles

Re: Creating and Sharing Plugins: How ?

Postby AlainD. » Jun 20, 2011 5:49 pm

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
AlainD.
 
Posts: 46
Joined: Mar 23, 2011 9:30 am
Location: Bruxelles

Re: Creating and Sharing Plugins: How ?

Postby atrol » Jun 21, 2011 1:25 am

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
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3731
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Creating and Sharing Plugins: How ?

Postby AlainD. » Jun 22, 2011 5:33 am

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
AlainD.
 
Posts: 46
Joined: Mar 23, 2011 9:30 am
Location: Bruxelles


Return to Customizations

Who is online

Users browsing this forum: No registered users and 0 guests

cron