-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Contributing 101
andresriancho edited this page Mar 13, 2013
·
34 revisions
Ready to contribute with the w3af project but don't know anything about git or development? This guide will help you contribute.
- Create a Github user and configure the SSH keys
- Fork the w3af repository by browsing to the w3af project at github and clicking on the "Fork" button that's on the top-right part of the page
- Install git
sudo apt-get install git
- Install git flow
sudo apt-get install git-flow
- Download the source code from your fork, configure the git username and email, and start a new feature branch with
git-flow
. Make sure you replace<username>
in the first command,<feature_name>
in the last and enter the correct values forgit config
:
git clone --recursive [email protected]:<username>/w3af.git
cd w3af
git config user.name "Your Name Here"
git config user.email "[email protected]"
git branch master origin/master
git flow init -d
git flow feature start <feature_name>
- Modify w3af's source code and test it as much as possible
- Use
git status
andgit diff
to review your changes - Use
git commit path/to/changes/
to commit your changes, make sure you describe exactly what you've done - Push your changes to Github:
git flow feature finish <feature_name>
git push
- Replace
<username>
in this link and copy+paste it in your browser in order to create a "Pull Request"https://github.com/<username>/w3af/pull/new/master
. Complete the required parameters in order for us to understand your changes. If all goes well, we'll merge your changes into w3af's main repository.
Advanced contributors and w3af developers need to follow all the guidelines explained in the Developer's-Guide document.