DM upload permission question

2013-06-01 Thread Mathieu Malaterre
Hi there,

  I am trying to give Sven Eckelmann dm upload permission on
exactimage. Here what I did

1. read [1]
2. write a text file:

$ cat malat-1.dak-commands
Archive: ftp.debian.org
Uploader: Sven Eckelmann s...@narfation.org

Action: dm
Fingerprint: 522D7163831C73A635D12FE5EC371482956781AF
Allow: exactimage

Then
$ gpg --clearsign malat-1.dak-commands
$ mv malat-1.dak-commands.asc malat-1.dak-commands
$ ftp ftp.upload.debian.org
ftp cd pub/UploadQueue
ftp put malat-1.dak-commands
local: malat-1.dak-commands remote: malat-1.dak-commands
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 Transfer complete.
1037 bytes sent in 0.00 secs (34920.5 kB/s)
ftp 421 Timeout.

Even if the file disapear from ftp.u.d.o I have not received any
confirmation. What did I miss ?

-

BTW, I cannot use dput-ng from an oldstable system (need python =
2.7). If I run dput-ng from my sid schroot all I can get is:

$ dcut dm --uid Sven Eckelmann s...@narfation.org --allow exactimage
Uploading commands file to ftp.upload.debian.org (incoming: /pub/UploadQueue/)
Picking DM Sven Eckelmann s...@narfation.org with fingerprint
522D7163831C73A635D12FE5EC371482956781AF
[Errno 2] No such file or directory

Thanks,

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


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+7wuswj5tkoj+xizqiyzfmgzdlhsxhpp-vcbevgbh-xkr8...@mail.gmail.com



Re: DM upload permission question

2013-06-01 Thread Arno Töll
Hi,

On 01.06.2013 16:56, Mathieu Malaterre wrote:
 Uploader: Sven Eckelmann s...@narfation.org

Uploader is you, not uploader as in person you want to grant upload
rights. That's also used for mail confirmation I believe. Having that
said, I'm no ftpmaster so I don't know what precisely went wrong (or if
it worked nonetheless, and dm.txt just wasn't updated yet).


 $ dcut dm --uid Sven Eckelmann s...@narfation.org --allow exactimage
 Uploading commands file to ftp.upload.debian.org (incoming: /pub/UploadQueue/)
 Picking DM Sven Eckelmann s...@narfation.org with fingerprint
 522D7163831C73A635D12FE5EC371482956781AF
 [Errno 2] No such file or directory

This is fixed in git, see #709831.


-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D



signature.asc
Description: OpenPGP digital signature


Re: DM upload permission

2013-03-11 Thread Ian Jackson
Paul Wise:
 Could this be moved to devscripts as a dm command? Maybe with less
 dashes in the interface too.
 
 dm Tobias Stefan Richter allow foo bar , deny baz

Others have produced other objections, but I would object to the use
of a two-character command name for this.

Ian.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20797.53584.90314.986...@chiark.greenend.org.uk



Re: DM upload permission

2013-03-06 Thread Benjamin Drung
Am Mittwoch, den 06.03.2013, 08:13 +0800 schrieb Paul Wise:
 On Tue, Mar 5, 2013 at 2:57 PM, Arno Töll wrote:
 
  dcut dm --uid Tobias Stefan Richter --allow nexus
 
 Could this be moved to devscripts as a dm command? Maybe with less
 dashes in the interface too.
 
 dm Tobias Stefan Richter allow foo bar , deny baz

IMO it's better to leave it in dput-ng and not moving it into
devscripts.

-- 
Benjamin Drung
Debian  Ubuntu Developer


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1362571232.3536.0.camel@deep-thought



Re: DM upload permission

2013-03-06 Thread Holger Levsen
Hi,

On Mittwoch, 6. März 2013, Benjamin Drung wrote:
   dcut dm --uid Tobias Stefan Richter --allow nexus
  Could this be moved to devscripts as a dm command? Maybe with less
  dashes in the interface too.
 IMO it's better to leave it in dput-ng and not moving it into
 devscripts.

why? I don't want dput-ng (yet?) but I'd like to have a dm command in 
devscripts. Whats your reasoning not to?


cheers,
Holger



--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201303061346.07814.hol...@layer-acht.org



Re: DM upload permission

2013-03-06 Thread Paul Tagliamonte
On Mar 6, 2013 7:46 AM, Holger Levsen hol...@layer-acht.org wrote:

 Hi,

 On Mittwoch, 6. März 2013, Benjamin Drung wrote:
dcut dm --uid Tobias Stefan Richter --allow nexus
   Could this be moved to devscripts as a dm command? Maybe with less
   dashes in the interface too.
  IMO it's better to leave it in dput-ng and not moving it into
  devscripts.

 why? I don't want dput-ng (yet?) but I'd like to have a dm command in
 devscripts. Whats your reasoning not to?

Fwiw since it is backwards compatible, dput-ng works fine from git in-place



 cheers,
 Holger



 --
 To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
 Archive: http://lists.debian.org/201303061346.07814.hol...@layer-acht.org



Re: DM upload permission

2013-03-06 Thread Holger Levsen
On Mittwoch, 6. März 2013, Paul Tagliamonte wrote:
 Fwiw since it is backwards compatible, dput-ng works fine from git in-place

your point being?


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201303061408.55339.hol...@layer-acht.org



Re: DM upload permission

2013-03-06 Thread Paul R. Tagliamonte
On Mar 6, 2013 8:09 AM, Holger Levsen hol...@layer-acht.org wrote:

 On Mittwoch, 6. März 2013, Paul Tagliamonte wrote:
  Fwiw since it is backwards compatible, dput-ng works fine from git
in-place

 your point being?

If you don't want to, you don't have to purge the old dput, as you seemed
concerned about using dput-ng as a black and white issue.

My comments have nothing to do with merging dput-ng into devscripts


 --
 To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
listmas...@lists.debian.org
 Archive: http://lists.debian.org/201303061408.55339.hol...@layer-acht.org



Re: DM upload permission

2013-03-06 Thread Wolodja Wentland
On Wed, Mar 06, 2013 at 14:08 +0100, Holger Levsen wrote:
 On Mittwoch, 6. März 2013, Paul Tagliamonte wrote:
  Fwiw since it is backwards compatible, dput-ng works fine from git in-place

 your point being?

I guess the point is that you can use dput-ng even if you don't want to
replace your legacy dput installation just yet.
-- 
Wolodja deb...@babilen5.org

4096R/CAF14EFC
081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC


signature.asc
Description: Digital signature


Re: DM upload permission

2013-03-06 Thread Michael Gilbert
On Wed, Mar 6, 2013 at 7:46 AM, Holger Levsen wrote:
 IMO it's better to leave it in dput-ng and not moving it into
 devscripts.

 why? I don't want dput-ng (yet?) but I'd like to have a dm command in
 devscripts. Whats your reasoning not to?

It's up to people interested dcut(classic) to support this use case.
If you like dcut(classic) better than dcut-ng, you may wish to
implement this feature.

Best wishes,
Mike


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CANTw=mnh6ihjpdfnn8lo0zbsk2mpkt-uvl1x3t_up_usa5b...@mail.gmail.com



Re: DM upload permission

2013-03-06 Thread Michael Gilbert
On Wed, Mar 6, 2013 at 11:56 AM, Michael Gilbert wrote:
 On Wed, Mar 6, 2013 at 7:46 AM, Holger Levsen wrote:
 IMO it's better to leave it in dput-ng and not moving it into
 devscripts.

 why? I don't want dput-ng (yet?) but I'd like to have a dm command in
 devscripts. Whats your reasoning not to?

 It's up to people interested dcut(classic) to support this use case.
 If you like dcut(classic) better than dcut-ng, you may wish to
 implement this feature.

Of course s/cut/put/g.

Best wishes,
MIke


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CANTw=MN+deEy=5owr-cjxtfs8ssctwb8oabqhaupqpoyjbw...@mail.gmail.com



Re: DM upload permission

2013-03-06 Thread Arno Töll
Hi,

On 06.03.2013 13:46, Holger Levsen wrote:
 On Mittwoch, 6. März 2013, Benjamin Drung wrote:
 dcut dm --uid Tobias Stefan Richter --allow nexus
 Could this be moved to devscripts as a dm command? Maybe with less
 dashes in the interface too.
 IMO it's better to leave it in dput-ng and not moving it into
 devscripts.
 
 why? I don't want dput-ng (yet?) but I'd like to have a dm command in 
 devscripts. Whats your reasoning not to?

As algernon said there is also yodack [1] written by him doing a similar
job. Contrary to our DM implementation it is written in more
self-sufficient bash script and was meant to inclusion into devscripts,
last I heard.

I don't know what the current status is on that matter though.

[1] https://github.com/algernon/yodack
-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D



signature.asc
Description: OpenPGP digital signature


Re: DM upload permission

2013-03-06 Thread Benjamin Drung
Am Mittwoch, den 06.03.2013, 18:03 +0100 schrieb Arno Töll:
 Hi,
 
 On 06.03.2013 13:46, Holger Levsen wrote:
  On Mittwoch, 6. März 2013, Benjamin Drung wrote:
  dcut dm --uid Tobias Stefan Richter --allow nexus
  Could this be moved to devscripts as a dm command? Maybe with less
  dashes in the interface too.
  IMO it's better to leave it in dput-ng and not moving it into
  devscripts.
  
  why? I don't want dput-ng (yet?) but I'd like to have a dm command in 
  devscripts. Whats your reasoning not to?
 
 As algernon said there is also yodack [1] written by him doing a similar
 job. Contrary to our DM implementation it is written in more
 self-sufficient bash script and was meant to inclusion into devscripts,
 last I heard.
 
 I don't know what the current status is on that matter though.

yodack was dropped in favor of dcut from dput-ng. See bug #688319 for
details.

-- 
Benjamin Drung
Debian  Ubuntu Developer


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1362593384.25591.2.camel@deep-thought



Re: DM upload permission

2013-03-06 Thread Benjamin Drung
Am Mittwoch, den 06.03.2013, 13:46 +0100 schrieb Holger Levsen:
 Hi,
 
 On Mittwoch, 6. März 2013, Benjamin Drung wrote:
dcut dm --uid Tobias Stefan Richter --allow nexus
   Could this be moved to devscripts as a dm command? Maybe with less
   dashes in the interface too.
  IMO it's better to leave it in dput-ng and not moving it into
  devscripts.
 
 why? I don't want dput-ng (yet?) but I'd like to have a dm command in 
 devscripts. Whats your reasoning not to?

I don't want to duplicate code.

-- 
Benjamin Drung
Debian  Ubuntu Developer


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1362605150.25591.7.camel@deep-thought



Re: DM upload permission

2013-03-05 Thread Bálint Réczey
Hi,

2013/3/5 Arno Töll a...@debian.org:
 Ho Carlo,

 On 05.03.2013 07:42, Carlo Segre wrote:
 1. made a file called segre-0001.dak-commands with the following contents

 Action: dm
 Fingerprint: 8CCC1BA8590FF029D17C708FC1BCD3C72AA28B6B
 Allow: nexus


 You missed the header. While the Uploader field is optional (and also
 used for the mail confirmation you're missing by the way), the Archive
 field is not. Moreover, the blank newline dividing the header from the
 data part is required.

 That is, your command would be:

 ---
 Archive: ftp.debian.org
 Uploader: Carlo Segre se...@iit.edu

 Action: dm
 Fingerprint: 8CCC1BA8590FF029D17C708FC1BCD3C72AA28B6B
 Allow: nexus
 ---

 Note, you can also use dput-ng (available in unstable) to manage DM
 permissions. The equivalent command would be:

 dcut dm --uid Tobias Stefan Richter --allow nexus


Please send error reports to the affected parties when executing or
parsing a dak command file fails.

Also please send emails when a DM without proper upload rights set
uploads a package and it is dropped.
Yes, it happened to me and the wireshark package got stuck in the
upload queue for a few hours and then it got
dropped without any email sent to me about the reason.

Thanks,
Balint


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAK0Odpyv-ntOnwT=2mum5itxrhbycfxs3yeenongxhc8piq...@mail.gmail.com



Re: DM upload permission

2013-03-05 Thread Ansgar Burchardt
On 03/05/2013 11:46, Bálint Réczey wrote:
 Please send error reports to the affected parties when executing or
 parsing a dak command file fails.

If you meet minimum requirements, dak will send an error message. But
dak and debianqueued only look at files that have a known extension
(e.g. *.dak-commands, but not *.asc) and have a valid signature from a
key in one of the keyrings.

 Also please send emails when a DM without proper upload rights set
 uploads a package and it is dropped.

That happens too, with the same restrictions as above.

Ansgar


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/513627bf.2060...@debian.org



Re: DM upload permission

2013-03-05 Thread Carlo Segre


Hi Arno:

On Tue, 5 Mar 2013, Arno Töll wrote:



You missed the header. While the Uploader field is optional (and also
used for the mail confirmation you're missing by the way), the Archive
field is not. Moreover, the blank newline dividing the header from the
data part is required.

That is, your command would be:

---
Archive: ftp.debian.org
Uploader: Carlo Segre se...@iit.edu

Action: dm
Fingerprint: 8CCC1BA8590FF029D17C708FC1BCD3C72AA28B6B
Allow: nexus
---



Thanks, this is very helpful


Note, you can also use dput-ng (available in unstable) to manage DM
permissions. The equivalent command would be:

dcut dm --uid Tobias Stefan Richter --allow nexus




I'll try this too

carlo

--
Carlo U. Segre -- Duchossois Leadership Professor of Physics
Director, Center for Synchrotron Radiation Research and Instrumentation
Illinois Institute of Technology
Voice: 312.567.3498Fax: 312.567.3494
se...@iit.edu   http://phys.iit.edu/~segre   se...@debian.org

Re: DM upload permission

2013-03-05 Thread tony mancill
 Note, you can also use dput-ng (available in unstable) to manage DM
 permissions. The equivalent command would be:

 dcut dm --uid Tobias Stefan Richter --allow nexus



I have had good luck with yodack to set DM permission as well:

   https://github.com/algernon/yodack

Cheers,
tony



signature.asc
Description: OpenPGP digital signature


Re: DM upload permission

2013-03-05 Thread Paul Wise
On Tue, Mar 5, 2013 at 2:57 PM, Arno Töll wrote:

 dcut dm --uid Tobias Stefan Richter --allow nexus

Could this be moved to devscripts as a dm command? Maybe with less
dashes in the interface too.

dm Tobias Stefan Richter allow foo bar , deny baz

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAKTje6F0SRAdrfA9O1cH==kbtiauujowow+e8qbphviefg8...@mail.gmail.com



Re: DM upload permission

2013-03-05 Thread Arno Töll
Hi Paul,

On 06.03.2013 01:13, Paul Wise wrote:
 On Tue, Mar 5, 2013 at 2:57 PM, Arno Töll wrote:
 
 dcut dm --uid Tobias Stefan Richter --allow nexus
 
 Could this be moved to devscripts as a dm command? Maybe with less
 dashes in the interface too.

the command is part of our dcut (Debian command upload tool)
reimplementation, which is and always was part of dput. It does not only
manage DM permissions but all commands dak and debianqueued understands
(dcut cancel|rm|dm|reschedule|break-the-archive and whatever Ansgar
invents in future).

We could move it to devscripts, but honestly I think it's better suited
to be part of dput(-ng). But if you all think it would be a good idea to
move it there, be it. But note, it uses large parts of the dput code
base, e.g. uploader classes and would bring almost all of its Python
dependencies. I am not sure if that's desirable.


-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D



signature.asc
Description: OpenPGP digital signature


DM upload permission

2013-03-04 Thread Carlo Segre


Hello All:

I have been a sponsor for a DM's uploads of the nexus package and we have 
come across a new policy which defines a way of giving permission to a DM 
for a specific package.


 http://lists.debian.org/debian-devel-announce/2012/09/msg8.html

I have studied the above thread and any related posts I could find and 
attempted to follow the instructions therein.  unfortunately, the examples 
given don't seem to be complete and my attempt to provide authorization 
for the nexus package did not seem to work (neither I nor the DM got any 
email confirmation).


Is there any more explicit instruction on how to initiate this process 
correctly?  Here is what I tried:


1. made a file called segre-0001.dak-commands with the following contents

Action: dm
Fingerprint: 8CCC1BA8590FF029D17C708FC1BCD3C72AA28B6B
Allow: nexus

2. signed this file with my key and produced an ASCII file using

  gpg --clearsign segre-0001.dak-commands

3. uploaded the file to ftp-master using

  dput segre-0001.dak-commands.asc

Clearly, I must have done at least one thing wrong, probably more than one 
so I would appreciate advice from anyone who has sucessfully navigated 
this process.


Cheers,

Carlo

--
Carlo U. Segre -- Duchossois Leadership Professor of Physics
Director, Center for Synchrotron Radiation Research and Instrumentation
Illinois Institute of Technology
Voice: 312.567.3498Fax: 312.567.3494
se...@iit.edu   http://phys.iit.edu/~segre   se...@debian.org


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.deb.2.02.1303050032520.6...@hydride.phys.iit.edu



Re: DM upload permission

2013-03-04 Thread Arno Töll
Ho Carlo,

On 05.03.2013 07:42, Carlo Segre wrote:
 1. made a file called segre-0001.dak-commands with the following contents
 
 Action: dm
 Fingerprint: 8CCC1BA8590FF029D17C708FC1BCD3C72AA28B6B
 Allow: nexus


You missed the header. While the Uploader field is optional (and also
used for the mail confirmation you're missing by the way), the Archive
field is not. Moreover, the blank newline dividing the header from the
data part is required.

That is, your command would be:

---
Archive: ftp.debian.org
Uploader: Carlo Segre se...@iit.edu

Action: dm
Fingerprint: 8CCC1BA8590FF029D17C708FC1BCD3C72AA28B6B
Allow: nexus
---

Note, you can also use dput-ng (available in unstable) to manage DM
permissions. The equivalent command would be:

dcut dm --uid Tobias Stefan Richter --allow nexus

-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D



signature.asc
Description: OpenPGP digital signature