Plugins currently available:

Submitting patches

From within a Git repository

Of course the first step is "cloning" collectd's Git repository using the following command:

git clone git://git.verplant.org/collectd.git

After you "cloned" collectd's Git repository and made your changes you should send them in using the normal git-format-patch(1) and git-send-email(1) procedure. Please send them directly to collectd's mailinglist at . Mails sent by non-subscribers will be held for approval which will typically happen within 24 hours.

If you're new to Git you might want to read the following documents to get started:

Patching a certain branch

It's possible that you're asked to make your changes against a certain branch of the repository. To do this, you need to first fetch the branch into your local copy of the repository (here the local branch has the name "foo/branch-origin"):

git fetch origin foo/branch:foo/branch-origin

Then you create a copy of that branch (here it's named "foo/branch"), to which you will make your changes:

git checkout -b foo/branch foo/branch-origin

After making your changes to the "foo/branch"-branch you will need to create a (set of) patch(es) and send them in:

git format-patch -o output-directory -s foo/branch-origin..foo/branch
git send-email --to collectd@verplant.org output-directory

Patching a release

If you don't want to work out the complexities of Git (or you read this page after you made the changes ;) you can take some release (at best the latest one) and make your changes there.

I'll outline the typical steps one does when making the changes:

# Get the tarball
wget http://collectd.org/files/collectd-version.tar.bz2

# Unpack and rename the sources
tar jxf collectd-version.tar.bz2
cp -r collectd-version collectd-version-mine

# Do changes to collectd-version-mine

# Create the patch
diff -pur collectd-version collectd-version-mine >collectd-version-mine.patch

So the steps are typically:

Other random notes