dgoodwin/tito — pull request #45 by palli (2012-03-21 14:16:25+00:00)
Title: Retry; new class RsyncReleaser

The commit is a little easier to read now that i have fixed problems with spacing. A lot of code was shuffled from YumRepoReleaser to RsyncRepoReleaser.

Here is the summary:

Created new releaser called RsyncReleaser. Based heavily on YumRepoReleaser. Refactored YumRepoReleaser to inherit most code from RsyncReleaser

RsyncReleaser takes an optional argument "filetypes" from releasers.conf
which specifies what type of packages should be rsynced

[rsync_test-example]
releaser = tito.release.RsyncReleaser
builder = tito.builder.MockBuilder
builder.mock = fedora-16-x86_64
filetypes = tgz rpm srpm
rsync = /tmp/rsync_repo/

in case of YumRepoReleaser default filetypes is of course only rpm.