Create ~/.dupload.conf
package config; $cfg{'mydist'} = { fqdn => "localhost", incoming => "/var/upload/mydist", method => scp };
Set up ssh keys to connect to localhost
(I shit you not)
ssh-keygen -t dsa -f ~/.ssh/id_dsa
cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
(You may want to verify by ssh'ing to localhost)
The first upload
dupload --nomail -t mydist ~/hello-2.7/../lastbuild/sid/hello_2.7-1_amd64.changes
dupload note: no announcement will be sent.
Checking signatures before upload......signatures are ok
Uploading (scp) to localhost:/var/upload/mydist
[ job hello_2.7-1_amd64 from hello_2.7-1_amd64.changes
hello_2.7-1.debian.tar.gz, size ok, md5sum ok, sha1sum ok, sha256sum ok
hello_2.7-1_amd64.deb, size ok, md5sum ok, sha1sum ok, sha256sum ok
hello_2.7-1.dsc, size ok, md5sum ok, sha1sum ok, sha256sum ok
hello_2.7.orig.tar.gz, size ok, md5sum ok, sha1sum ok, sha256sum ok
hello_2.7-1_amd64.changes ok ]
Uploading (scp) to mydist (localhost)
[ Uploading job hello_2.7-1_amd64
hello_2.7-1.debian.tar.gz 1.6 kB, ok (0 s, 1.64 kB/s)
hello_2.7-1_amd64.deb 57.9 kB, ok (0 s, 57.88 kB/s)
hello_2.7-1.dsc 1.1 kB, ok (0 s, 1.12 kB/s)
hello_2.7.orig.tar.gz 585.6 kB, ok (1 s, 585.62 kB/s)
hello_2.7-1_amd64.changes 1.7 kB, ok (0 s, 1.73 kB/s) ]
Importing the package
sudo reprepro -vvvv -b /var/www processincoming mydist-incoming