better post_upload_command: thanks gregoa!
authorStefano Zacchiroli <zack@upsilon.cc>
Sun, 26 Apr 2009 17:21:39 +0000 (19:21 +0200)
committerStefano Zacchiroli <zack@upsilon.cc>
Sun, 26 Apr 2009 17:21:39 +0000 (19:21 +0200)
blog/posts/2009/04/howto:_uploading_to_people.d.o_using_dput.mdwn

index 9b65d0e..59187d6 100644 (file)
@@ -119,22 +119,20 @@ You have a couple of ways to sign the release file automatically:
   wishlist
   [#465240](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465240)
   (volunteers? :-) ). As I'm lazy, I'm using my own [[sign-remote]]
-  script, which is a bit more generic.
-  
-  Unfortunately, to hook into dput post upload mechanism, you need an
-  indirection script because I failed to make dput like ";"-separated
-  shell commands. All in all, here is my actual `~/.dput.cf` stanza:
+  script, which is a bit more generic. Remote signing should be
+  attached to dput upload hook as well. All in all, here is my actual
+  `~/.dput.cf` stanza:
 
           [people.debian.org]
           fqdn = people.debian.org
           method = scp
           login = *
           incoming = /home/zack/public_html/debian/mini-dinstall/incoming
-          post_upload_command = /home/zack/bin/dinstall-people.d.o
-
-  with [[dinstall-people.d.o]] being rather trivial: it first invokes
-  mini-dinstall remotely and then sign with [[sign-remote]].
+          post_upload_command = ssh people.debian.org "mini-dinstall --batch" && sign-remote people.debian.org:~/public_html/debian/zack-unstable/Release
 
 Enjoy!
 
+**Update**: do both mini-dinstall run and signing in
+`post_upload_command`, following gregoa's suggestion via comment
+
 [[!tag lang/english planet/debian howto debian]]