Re: Granting DM rights as a sponsor

2015-07-15 Thread Vincent Cheng
On Wed, Jul 15, 2015 at 1:17 AM, Mattia Rizzolo  wrote:
> On Tue, Jul 14, 2015 at 06:11:14PM -0700, Vincent Cheng wrote:
>> actually switched to using dput-ng myself (mostly due to inertia, and
>> also IIRC it involves dput config file changes).
>
> It does not.
> dput-ng is entirely compatible with dput config files, it just adds a new
> format (json-based) if you want to, but you are not required to use it.

Ah, good to know, thanks!

Regards,
Vincent


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACZd_tB+N85+sKyTCFZAE6-Lao29PWRhjCVq5ruoQw5Bm=m...@mail.gmail.com



Re: Granting DM rights as a sponsor

2015-07-15 Thread Mattia Rizzolo
On Tue, Jul 14, 2015 at 06:11:14PM -0700, Vincent Cheng wrote:
> actually switched to using dput-ng myself (mostly due to inertia, and
> also IIRC it involves dput config file changes).

It does not.
dput-ng is entirely compatible with dput config files, it just adds a new
format (json-based) if you want to, but you are not required to use it.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540 .''`.
more about me:  http://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-


signature.asc
Description: Digital signature


Re: Granting DM rights as a sponsor

2015-07-15 Thread Ole Streicher
Niels Thykier  writes:
> On 2015-07-15 08:45, Ole Streicher wrote:
>> $ apt-get install dcut-ng

> Hi Ole,
>
> The package name is "dput-ng" and not "dcut-ng". :)

OK, that makes it clear. Thank you :-)

Best

Ole


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/ytzk2u1j311@news.ole.ath.cx



Re: Granting DM rights as a sponsor

2015-07-15 Thread Niels Thykier
On 2015-07-15 08:45, Ole Streicher wrote:
> Vincent Cheng  writes:
>> There are tools available in the archive to make this entire process
>> relatively painless (dput-ng)
> 
> But dcut-ng is not in Debian?
> 
> $ apt-get install dcut-ng
> Reading package lists... Done
> Building dependency tree   
> Reading state information... Done
> E: Unable to locate package dcut-ng
> 
> When I search on packages.debian.org, I also don't get a result.
> 
> Best
> 
> Ole
> 
> 

Hi Ole,

The package name is "dput-ng" and not "dcut-ng". :)

Thanks,
~Niels



-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/55a6081b.8020...@thykier.net



Re: Granting DM rights as a sponsor

2015-07-15 Thread Ole Streicher
Vincent Cheng  writes:
> There are tools available in the archive to make this entire process
> relatively painless (dput-ng)

But dcut-ng is not in Debian?

$ apt-get install dcut-ng
Reading package lists... Done
Building dependency tree   
Reading state information... Done
E: Unable to locate package dcut-ng

When I search on packages.debian.org, I also don't get a result.

Best

Ole


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87r3o9vryx@debian.org



Re: Granting DM rights as a sponsor

2015-07-14 Thread Vincent Cheng
On Tue, Jul 14, 2015 at 2:45 AM, Gergely Nagy
 wrote:
>> "Ole" == Ole Streicher  writes:
>
> Ole> I want to grant DM rights for a package that I sponsored, and I am a 
> bit
> Ole> confused how this works in real life.
>
> Ole> According to [1], I should create a file with the following format:
>
> Ole> --8<
> Ole> Archive: ftp.debian.org
> Ole> Uploader: Ole Streicher 
>
> Ole> Action: dm
> Ole> Fingerprint: 1234567890ABCDEF1234567890ABCDEF
> Ole> Allow: plotly
> Ole> --8<
>
> Using yodack[1], this would look something like this:
>
>   yodack on ftp-master.debian.org, \
>  for dm 1234567890ABCDEF1234567890ABCDEF, \
>  please allow uploading plotly.
>
>  [1]: https://github.com/algernon/yodack
>
> It will do all the required steps. There may be better options, or
> in-debian tools that help you do the same thing, but yodack is what I
> know. I faintly remember there being a reason why yodack never made it
> into Debian (such as a better alternative), like this:
>
>  dcut dm --uid 1234567890ABCDEF1234567890ABCDEF --allow=plotly
>
> But that's purely speculation, based on dcut(1).

My understanding is that yodack has been replaced/superseded by
dput-ng (the latter is actually in the archive). You'll need to use
dput-ng's dcut(1), not that of dput, for the above command to work.

Regards,
Vincent


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caczd_tbwnbszjdbajog36du0wmym0p9-hw49ys_hcfkh__n...@mail.gmail.com



Re: Granting DM rights as a sponsor

2015-07-14 Thread Vincent Cheng
On Tue, Jul 14, 2015 at 1:54 AM, Ole Streicher  wrote:
> Hi,
>
> I want to grant DM rights for a package that I sponsored, and I am a bit
> confused how this works in real life.
>
> According to [1], I should create a file with the following format:
>
> --8<
> Archive: ftp.debian.org
> Uploader: Ole Streicher 
>
> Action: dm
> Fingerprint: 1234567890ABCDEF1234567890ABCDEF
> Allow: plotly
> --8<
>
> The file should be named $login-EPOCH.dak-commands (say
> 'ansgar-1348293.dak-commands'). First question that arised: what is
> EPOCH here? `date +%s`? "login" is probably *my* login, and not one
> belonging to the maintainer, right?

(I think) the only constraint is that your uploaded file must have
either ".commands" or ".dak-commands" appended to the file name. The
epoch you use doesn't actually matter.

> Is the Fingerprint: the one of the Maintainer's key?

The DM's key, yes.

> When I then try to sign the file, debsign is confused by the
> ".dak-commands" suffix, which already was reported as bug report [2].
> Since the bug report is still open, there may be an other standard way
> to sign? I finally used
> gpg -u  -a --clearsign olebole-1436862204.dak-commands
> and then renamed the .asc. file back to the original one. Is this the
> way of choice?

I've personally stuck with manually creating dak-commands files,
clearsigning it with gpg, and uploading it to ftp.upload.debian.org
with a ftp client. There are tools available in the archive to make
this entire process relatively painless (dput-ng), but I haven't
actually switched to using dput-ng myself (mostly due to inertia, and
also IIRC it involves dput config file changes).

> Finally, when I tried to upload the file
>
> dcut -U olebole-1436862204.dak-commands ftp-master
>
> I get the (confusing) message:
>
> Error: I'm insisting on the .commands extension, which
>"olebole-1436862204.dak-commands" doesnt seem to have.
>   Uploading olebole-1436862204.dak-commands: done.
>
> Is this now going to be processed? Or is it an error?

If you get an automated email back from ftpmaster, then yes it's
processed. You can also check dm.txt [1].

Regards,
Vincent

[1] https://ftp-master.debian.org/dm.txt


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACZd_tDMnXtf02+yNnJmwKzyQDeopvQUHUTO92nw3tnCg8=v...@mail.gmail.com



Re: Granting DM rights as a sponsor

2015-07-14 Thread Gergely Nagy
> "Ole" == Ole Streicher  writes:

Ole> I want to grant DM rights for a package that I sponsored, and I am a 
bit
Ole> confused how this works in real life.

Ole> According to [1], I should create a file with the following format:

Ole> --8<
Ole> Archive: ftp.debian.org
Ole> Uploader: Ole Streicher 

Ole> Action: dm
Ole> Fingerprint: 1234567890ABCDEF1234567890ABCDEF
Ole> Allow: plotly
Ole> --8<

Using yodack[1], this would look something like this:

  yodack on ftp-master.debian.org, \
 for dm 1234567890ABCDEF1234567890ABCDEF, \
 please allow uploading plotly.

 [1]: https://github.com/algernon/yodack

It will do all the required steps. There may be better options, or
in-debian tools that help you do the same thing, but yodack is what I
know. I faintly remember there being a reason why yodack never made it
into Debian (such as a better alternative), like this:

 dcut dm --uid 1234567890ABCDEF1234567890ABCDEF --allow=plotly

But that's purely speculation, based on dcut(1).

-- 
|8]


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87mvyzm5ri@madhouse-project.org



Granting DM rights as a sponsor

2015-07-14 Thread Ole Streicher
Hi,

I want to grant DM rights for a package that I sponsored, and I am a bit
confused how this works in real life.

According to [1], I should create a file with the following format:

--8<
Archive: ftp.debian.org
Uploader: Ole Streicher 

Action: dm
Fingerprint: 1234567890ABCDEF1234567890ABCDEF
Allow: plotly
--8<

The file should be named $login-EPOCH.dak-commands (say
'ansgar-1348293.dak-commands'). First question that arised: what is
EPOCH here? `date +%s`? "login" is probably *my* login, and not one
belonging to the maintainer, right?

Is the Fingerprint: the one of the Maintainer's key?

When I then try to sign the file, debsign is confused by the
".dak-commands" suffix, which already was reported as bug report [2].
Since the bug report is still open, there may be an other standard way
to sign? I finally used 
gpg -u  -a --clearsign olebole-1436862204.dak-commands
and then renamed the .asc. file back to the original one. Is this the
way of choice?

Finally, when I tried to upload the file

dcut -U olebole-1436862204.dak-commands ftp-master

I get the (confusing) message:

Error: I'm insisting on the .commands extension, which
   "olebole-1436862204.dak-commands" doesnt seem to have.
  Uploading olebole-1436862204.dak-commands: done.

Is this now going to be processed? Or is it an error?

Best regards

Ole

[1] https://lists.debian.org/debian-devel-announce/2012/09/msg8.html
[2] https://bugs.debian.org/688491


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/ytzoajfi0fz@news.ole.ath.cx