On Sat 31 Dec 2005 07:58, Andrew Vaughan wrote: > Hi > > On Fri, 30 Dec 2005 07:06, José Pablo Ezequiel Fernández wrote: > > Is mini-dinstall supoused to copy/move the incoming packages from the > > incoming directory to the repository/archive ? > > Yes, but unless your running in daemon mode, it doesn't do it > automatically. I don't use the daemon mode, and added > post_upload_command = ssh <server> /usr/bin/mini-dinstall -v --batch > to .dput.cf. > > Try mini-dinstall --run if your using daemon mode, to tell the daemon to > process the queue immediately.
Well, it is not working for me, I have a set up similar as yours: ~/.dput.cf contains: [vlab] fqdn = vlab.bsas.rs.com.ar login = pupeno incoming = /var/www/packages/incoming/ #method = scp method = local run_dinstall = 0 post_upload_command = /usr/bin/mini-dinstall --verbose --batch ~/.mini-dinstall.conf contains: [DEFAULT] archivedir=/var/www/packages/ archive_style=simple-subdir The directory /var/www/packages/ contains: /var/www/packages/ /var/www/packages/incoming and now I run dput: [EMAIL PROTECTED]:~/src/pkg/libpri$ dput vlab libpri_1.2.1-1.rs.0_i386.changes Checking Signature on .changes gpg: Signature made Wed 28 Dec 2005 04:20:19 PM ART using DSA key ID 6DA7BA0A gpg: Good signature from "Jose Pablo Ezequiel "Pupeno" Fernandez Silva <[EMAIL PROTECTED]>" Good signature on /home/pupeno/src/pkg/libpri/libpri_1.2.1-1.rs.0_i386.changes. Checking Signature on .dsc gpg: Signature made Wed 28 Dec 2005 04:19:24 PM ART using DSA key ID 6DA7BA0A gpg: Good signature from "Jose Pablo Ezequiel "Pupeno" Fernandez Silva <[EMAIL PROTECTED]>" Good signature on /home/pupeno/src/pkg/libpri/libpri_1.2.1-1.rs.0.dsc. Successfully uploaded packages. Not running dinstall. mini-dinstall [1075351680] INFO: Creating directory "/var/www/packages/mini-dinstall" mini-dinstall [1075351680] INFO: Booting mini-dinstall 0.6.21 mini-dinstall [1075351680] INFO: Creating directory "/var/www/packages/mini-dinstall/REJECT" mini-dinstall [1075351680] INFO: Creating directory "/var/www/packages/mini-dinstall/incoming" mini-dinstall [1075351680] INFO: Changing mode of "/var/www/packages/mini-dinstall/incoming" to 750 mini-dinstall [1075351680] INFO: Creating directory "unstable" mini-dinstall [1075351680] INFO: Creating directory "unstable/all" mini-dinstall [1075351680] INFO: Creating directory "unstable/i386" mini-dinstall [1075351680] INFO: Creating directory "unstable/source" mini-dinstall [1075351680] INFO: Initializing archive indexer unstable mini-dinstall [1075351680] INFO: Initializing incoming processor mini-dinstall [1089514416] INFO: Created new installer thread (incoming) mini-dinstall [1089514416] INFO: Entering batch mode... mini-dinstall [1097903024] INFO: Created new thread (unstable) for archive indexer unstable mini-dinstall [1097903024] INFO: Entering batch mode... mini-dinstall [1097903024] INFO: Generating Packages file for all... mini-dinstall [1097903024] INFO: Packages generation complete mini-dinstall [1097903024] INFO: Generating Packages file for i386... mini-dinstall [1089514416] INFO: All packages in incoming dir installed; exiting mini-dinstall [1097903024] INFO: Packages generation complete mini-dinstall [1097903024] INFO: Generating Sources file for source... mini-dinstall [1097903024] INFO: Sources generation complete mini-dinstall [1075351680] INFO: main thread exiting... mini-dinstall [1097903024] INFO: Thread "unstable" exiting Now the directory /var/www/packages/ contains: /var/www/packages/ /var/www/packages/incoming /var/www/packages/incoming/libpri_1.2.1-1.rs.0.dsc /var/www/packages/incoming/libpri_1.2.1-1.rs.0.diff.gz /var/www/packages/incoming/libpri-dev_1.2.1-1.rs.0_i386.deb /var/www/packages/incoming/libpri1_1.2.1-1.rs.0_i386.deb /var/www/packages/incoming/libpri_1.2.1-1.rs.0_i386.changes /var/www/packages/mini-dinstall /var/www/packages/mini-dinstall/mini-dinstall.log /var/www/packages/mini-dinstall/REJECT /var/www/packages/mini-dinstall/incoming /var/www/packages/unstable /var/www/packages/unstable/all /var/www/packages/unstable/all/Packages /var/www/packages/unstable/all/Packages.gz /var/www/packages/unstable/i386 /var/www/packages/unstable/i386/Packages /var/www/packages/unstable/i386/Packages.gz /var/www/packages/unstable/source /var/www/packages/unstable/source/Sources /var/www/packages/unstable/source/Sources.gz [EMAIL PROTECTED]:~/src/pkg/libpri$ As you can see, although the structure 'unstable' has been created, all files (.deb, .dsc, .diff.gz, .changes) remain on the incoming directory. What am I missing here ? Thank you. -- José Pablo Ezequiel Fernández