The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Contributing to the DuckPAN repository

At DuckDuckGo, we truly appreciate our community members taking the time to contribute to our open-source repositories. In an effort to ensure contributions are easy for you to make and for us to manage, we have written some guidelines that we ask our contributors to follow so that we can handle pull requests in a timely manner with as little friction as possible.

Getting Started

Before you can do anything, you first need a GitHub account. This is required because we use GitHub to handle all incoming Pull Requests (code modifications) and Issues (bug reports) which cannot be made without a GitHub account.

Submitting a Bug or Suggestion

If you're submitting a pull request (bugfix/addition):

Making Changes

Submitting Changes

  1. Commit your changes.
git commit -a -m "My first instant answer that does X is ready to go!"
  1. Get your commit history how you like it.
git rebase -i origin/master

or

git pull --rebase origin/master
  1. Push your forked repository back to GitHub.
git push
  1. Add your info to the instant answer so we can give you credit for it on the Goodies page. You'll see your name or handle on the live site! Check out the Metadata README for detailed instructions on how to include your name and links.

  2. Go into GitHub and submit a pull request! to the DuckPAN repository, making sure to use the DuckPAN repository's Pull Request Template. This will let us know about your changes and start the conversation about integrating it into the live code.