Bug#688319: devscripts: Please consider including the 'yodack' tool

Luca Capello luca at pca.it
Thu Oct 4 10:56:30 UTC 2012


usertags 688319 + debian-packaging
thanks

Hi there!

On Fri, 28 Sep 2012 15:07:47 +0200, Gergely Nagy wrote:
> FWIW, since the example given in the bug report is fairly verbose, and
> that tends to put off some people, I'd like to mention that yodack does
> not need the verboseness, that is merely an option.
>
> The following command does exactly the same thing that the example I
> originally posted:
>
> $ yodack ftp-master dm algernon at madhouse-project.org \
>          allow dh-exec ivykis deny eglibc bash

IMHO this relies too much on the debian-keyring package, which is not
always in sync with the real situation:
=====
$ who-uploads bacula
Uploads for bacula:
5.2.6+dfsg-5 to unstable: <unrecognised public key (31455D17)>
5.2.6+dfsg-4 to unstable: <unrecognised public key (31455D17)>
5.2.6+dfsg-3 to unstable: Luca Capello <gismo at debian.org>

$ gpg --no-default-keyring \
      --keyring /usr/share/keyrings/debian-maintainers.gpg \
      --list-key 31455D17
gpg: error reading key: public key not found

$ wget -O - http://ftp-master.debian.org/dm-uploaders.html | grep -A 3 31455D17
--2012-10-04 11:24:31--  http://ftp-master.debian.org/dm-uploaders.html
Resolving ftp-master.debian.org (ftp-master.debian.org)... 128.148.34.3
Connecting to ftp-master.debian.org (ftp-master.debian.org)|128.148.34.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 68299458 (65M) [text/html]
Saving to: ‘STDOUT’

 0% [                                                             ] 0           --.-K/s                  <td align="left">5E2A59462C7B2CD307FB8A5A949C322631455D17</td>
  </tr>
  <tr valign="top">
    <td align="left">alexandro at ankalagon.ru</td>
 7% [===>                                                         ] 5,179,371    814KB/s  eta 97s    ^C

$ git clone git://anonscm.debian.org/users/algernon/yodack.git
Cloning into 'yodack'...
remote: Counting objects: 92, done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 92 (delta 39), reused 0 (delta 0)
Receiving objects: 100% (92/92), 42.93 KiB, done.
Resolving deltas: 100% (39/39), done.

$ cd yodack/
$ USER=gismo ./yodack ftp-master dm 31455D17 allow bacula
A known DM permissions to set, you must.

$ git diff
[attached below]
$ USER=gismo ./yodack ftp-master dm 31455D17 keyring ~/.gnupg/pubring.gpg allow bacula
[verification and GnuPG stuff]
Upload to 'ftp-master', how to I know not.
[no exit error code]

$ ln -s ~/src/Debian/yodack/yodack.conf ~/.yodack.conf
$ USER=gismo ./yodack ftp-master dm 31455D17 keyring ~/.gnupg/pubring.gpg allow bacula
[verification and GnuPG stuff]
Uploading gismo-1349344867.dak-commands to ftp-master.d.o...

$ 
=====

BTW, is there any reason not to use dput/dcut for upload, but instead a
custom curl command?

Thx, bye,
Gismo / Luca

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-yodack-add-keyring-option.patch
Type: text/x-diff
Size: 3399 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20121004/98b1f4f2/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20121004/98b1f4f2/attachment.pgp>


More information about the devscripts-devel mailing list