Bugzilla:Developers: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
(More updates for Git)
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
So, you want to help out with Bugzilla development! Great! Here's what you should do (most items have link to more details):
So, you want to help out with Bugzilla development! Great! Here's what you should do (most items have a link to more details):


1. [[Bugzilla:Developers:Introduction|Introduce yourself on the developers mailing list]]
1. [[Bugzilla:Developers:Introduction|Introduce yourself on the developers mailing list]].


2. [[Bugzilla:Communicate|Get in communication with the Bugzilla developers]], and talk about what you want to do. This makes it easy for us to tell you "Oh, we're already working on that, you can help!" or "Oh, the best way to do that would be..."
2. If you don't know what you'd like to work on, look at the [https://bugzilla.mozilla.org/buglist.cgi?resolution=---&status_whiteboard_type=allwordssubstr&query_format=advanced&status_whiteboard=good%20first%20bug&product=Bugzilla&list_id=10111040 list of bugs we've marked as being good for newcomers]. If you already know what you want to work on, first [https://bugzilla.mozilla.org/query.cgi?product=Bugzilla&resolution=---&format=advanced check if a bug has already been filed for it], and then check that bug's [[Bugzilla:Priority_System|priority]].


3. If a bug has already been filed for what you want to do, check its [[Bugzilla:Priority_System|priority]].
3. [[Bugzilla:Communicate|Get in communication with the Bugzilla developers]], and talk about what you want to do. This makes it easy for us to tell you "Oh, we're already working on that, you can help!" or "Oh, the best way to do that would be..."


4. Write some code. Make sure that you follow the [http://www.bugzilla.org/docs/developer.html Developer's Guide]. If you're new, you don't have to read the whole thing. Just read the [http://www.bugzilla.org/docs/developer.html#general General Guidelines], the [http://www.bugzilla.org/docs/developer.html#perl-style Style] section, and any other part that you think applies to the code that you're writing.
4. [[Bugzilla:Git|Check out the latest Bugzilla code from git]]. You always want to work against the master branch of Bugzilla, not a released version, if you're writing patches that you want us to accept.


5. [[Bugzilla:Patches|Make a patch]]
5. Write some code. Make sure that you follow the [http://www.bugzilla.org/docs/developer.html Developer's Guide]. If you're new, you don't have to read the whole thing. Just read the [http://www.bugzilla.org/docs/developer.html#general General Guidelines], the [http://www.bugzilla.org/docs/developer.html#perl-style Style] section, and any other part that you think applies to the code that you're writing. Make sure that your patch is [[Bugzilla:Simple_Patches|as simple and small as possible]]. And make sure that you [[Bugzilla:Developers:Licensing|license each file correctly]].


6. [[Bugzilla:Submitting_Patches|Submit your patch in Bugzilla]]
6. Test your code. Make sure it works, and run ./runtests.pl in the Bugzilla directory. Also use [http://validator.w3.org the HTML validator] to make sure your code generates valid HTML, if you modified any of Bugzilla's HTML.


7. [[Bugzilla:Review|Ask for review]]
7. [[Bugzilla:Patches|Make a patch]]


7. Once your bug has passed review, [[Bugzilla::Approval|ask for approval]]
8. [[Bugzilla:Submitting_Patches|Submit your patch in Bugzilla]]


8. [[Bugzilla:Committing_Patches|Commit your patch]], or get somebody else to commit it for you.
9. [[Bugzilla:Review|Ask for review]]
 
10. Once your bug has passed review, the reviewer will ask for "approval". When approval is granted, you or the reviewer can push the patch to Git.
 
11. [[Bugzilla:Committing_Patches|Push your patch]], or get somebody else to push it for you.


== Articles and Policies ==
== Articles and Policies ==
Line 24: Line 28:


* [[Bugzilla:UI_Design]]
* [[Bugzilla:UI_Design]]
* [[Bugzilla:Simple_Patches]]
* [[Bugzilla:Developers:Licensing]]
* [http://groups.google.com/group/mozilla.dev.apps.bugzilla/browse_thread/thread/847a09dc8a8dd27b The Feature Acceptance Test]


[[category:Bugzilla|D]]
[[category:Bugzilla|Developers]]

Latest revision as of 00:51, 22 October 2014

So, you want to help out with Bugzilla development! Great! Here's what you should do (most items have a link to more details):

1. Introduce yourself on the developers mailing list.

2. If you don't know what you'd like to work on, look at the list of bugs we've marked as being good for newcomers. If you already know what you want to work on, first check if a bug has already been filed for it, and then check that bug's priority.

3. Get in communication with the Bugzilla developers, and talk about what you want to do. This makes it easy for us to tell you "Oh, we're already working on that, you can help!" or "Oh, the best way to do that would be..."

4. Check out the latest Bugzilla code from git. You always want to work against the master branch of Bugzilla, not a released version, if you're writing patches that you want us to accept.

5. Write some code. Make sure that you follow the Developer's Guide. If you're new, you don't have to read the whole thing. Just read the General Guidelines, the Style section, and any other part that you think applies to the code that you're writing. Make sure that your patch is as simple and small as possible. And make sure that you license each file correctly.

6. Test your code. Make sure it works, and run ./runtests.pl in the Bugzilla directory. Also use the HTML validator to make sure your code generates valid HTML, if you modified any of Bugzilla's HTML.

7. Make a patch

8. Submit your patch in Bugzilla

9. Ask for review

10. Once your bug has passed review, the reviewer will ask for "approval". When approval is granted, you or the reviewer can push the patch to Git.

11. Push your patch, or get somebody else to push it for you.

Articles and Policies

These are various essays and guides that help with Bugzilla development.