How to create a pulling foswiki set-up with reprepro
Assuming you are already in the location where the repository shall live, perform these magic steps:
mkdir conf
cat > conf/distributions <<EOF
Origin: Foswiki
Label: Foswiki
Suite: stable
Codename: stable
Version: 5.0
Architectures: i386 amd64
Components: main non-free contrib
Description: Test Repo
Update: foswiki
EOF
cat > conf/updates <<EOF
Name: foswiki
Method: http://fosiki.com/Foswiki_debian/
Components: main>main contrib>contrib
IgnoreRelease: yes
EOF
Now run
reprepro -b . update
and your new repository is up and kicking.
--
CarstenAulbert - 23 Feb 2009