Bug#522545: [Bash-completion-devel] Bug#522545: bash-completion: configuration file conflict with mtx

2009-04-06 Thread David Paleino
# explanation for this later...
clone 522545 -1
reassign -1 mtx
retitle -1 please update bash-completion
owner -1 bash-completion-de...@lists.alioth.debian.org
user -1 bash-completion-de...@lists.alioth.debian.org
usertags -1 move-completions-upstream
thanks

Hello Bdale,

On Sun, 05 Apr 2009 18:41:15 -0600, Bdale Garbee wrote:

 On Sat, 2009-04-04 at 21:03 +0200, David Paleino wrote:
 
   processing 
   /var/cache/debtorrent/ftp.pl.debian.org_debian_dists_unstable_main_binary-all/pool/main/b/bash-completion/bash-completion_1.0-1_all.deb
   (--unpack): trying to overwrite `/etc/bash_completion.d/mtx', which is
   also in package mtx
  
  Is the version in mtx updated? If not, I'd suggest mtx's maintainer (CCed)
  to grab the one from bash-completion's git repo.
  
  http://git.debian.org/?p=bash-completion/bash-completion.git;a=blob_plain;f=contrib/mtx;hb=a4c9bdc1774d234f322d214cf7636c10bd2db1c0
 
 So, what's the right strategy for these?  I added the file in Feb 2004
 on request from Jon Middleton, per Debian bug #227456.  I haven't given
 it a single thought since then...

 Does it make sense for me to continue to include the bash completion
 file in the mtx package,

Please do so, as already replied by Luk.

 or should I instead stop including it and add a suggests on bash-completion
 to the package dependencies?

Please don't.
We're planning to purg bash-completion from third-party files -- we're going
to give only a framework people can use to write completions. Yes, we'll also
help writing completions (or do that on our own), but those will be
maintained/packaged/submitted upstream (not sure about maintained, but this is
another question).

As suggested by Luk, I've given the completion a look. I'm attaching a general
patch, since I don't have one of those devices mtx controls :) (so I'm not
really able to parse mtx status for tapes and drives)

The most notable thing is:

-cur=${COMP_WORDS[COMP_CWORD]}
+cur=`_get_cword`

(the rest of the patch is preventive)

Also, I kindly ask you to use dh_bash-completion: we're soon going to change
directory layout structure (yes, we'll have some compatibility level), and I'll
update dh_bash-completion accordingly when this happens. dh_bash-completion(1)
is your friend :)

(basically, your package needs no modifications to use it. Just the patch I'm
attaching ;) -- the above quoted fragment *must* be applied)

Thank you,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 | http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174


mtx.diff.gz
Description: GNU Zip compressed data


signature.asc
Description: PGP signature


Bug#522545: [Bash-completion-devel] Bug#522545: bash-completion: configuration file conflict with mtx

2009-04-05 Thread Bdale Garbee
On Sat, 2009-04-04 at 21:03 +0200, David Paleino wrote:

  processing 
  /var/cache/debtorrent/ftp.pl.debian.org_debian_dists_unstable_main_binary-all/pool/main/b/bash-completion/bash-completion_1.0-1_all.deb
  (--unpack): trying to overwrite `/etc/bash_completion.d/mtx', which is also
  in package mtx
 
 Is the version in mtx updated? If not, I'd suggest mtx's maintainer (CCed) to
 grab the one from bash-completion's git repo.
 
 http://git.debian.org/?p=bash-completion/bash-completion.git;a=blob_plain;f=contrib/mtx;hb=a4c9bdc1774d234f322d214cf7636c10bd2db1c0

So, what's the right strategy for these?  I added the file in Feb 2004
on request from Jon Middleton, per Debian bug #227456.  I haven't given
it a single thought since then...

Does it make sense for me to continue to include the bash completion
file in the mtx package, or should I instead stop including it and add a
suggests on bash-completion to the package dependencies?

Bdale




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522545: [Bash-completion-devel] Bug#522545: bash-completion: configuration file conflict with mtx

2009-04-05 Thread Luk Claes
Bdale Garbee wrote:
 On Sat, 2009-04-04 at 21:03 +0200, David Paleino wrote:
 
 processing 
 /var/cache/debtorrent/ftp.pl.debian.org_debian_dists_unstable_main_binary-all/pool/main/b/bash-completion/bash-completion_1.0-1_all.deb
 (--unpack): trying to overwrite `/etc/bash_completion.d/mtx', which is also
 in package mtx
 Is the version in mtx updated? If not, I'd suggest mtx's maintainer (CCed) to
 grab the one from bash-completion's git repo.

 http://git.debian.org/?p=bash-completion/bash-completion.git;a=blob_plain;f=contrib/mtx;hb=a4c9bdc1774d234f322d214cf7636c10bd2db1c0
 
 So, what's the right strategy for these?  I added the file in Feb 2004
 on request from Jon Middleton, per Debian bug #227456.  I haven't given
 it a single thought since then...
 
 Does it make sense for me to continue to include the bash completion
 file in the mtx package, or should I instead stop including it and add a
 suggests on bash-completion to the package dependencies?

Including the file in the mtx package is the way to go, so please do
continue to include it.

It would be good if one of the bash-completion developers could have a
look if the bash completion file in mtx should be updated though.

Cheers

Luk



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522545: bash-completion: configuration file conflict with mtx

2009-04-04 Thread Michal Politowski
Package: bash-completion
Version: 1.0-1
Severity: serious
Justification: Policy 10.7.4

Preparing to replace bash-completion 20080705 (using 
.../bash-completion_1.0-1_all.deb) ...
Unpacking replacement bash-completion ...
dpkg: error processing 
/var/cache/debtorrent/ftp.pl.debian.org_debian_dists_unstable_main_binary-all/pool/main/b/bash-completion/bash-completion_1.0-1_all.deb
 (--unpack):
 trying to overwrite `/etc/bash_completion.d/mtx', which is also in package mtx
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 
/var/cache/debtorrent/ftp.pl.debian.org_debian_dists_unstable_main_binary-all/pool/main/b/bash-completion/bash-completion_1.0-1_all.deb

-- 
MichaƂ Politowski
Talking has been known to lead to communication if practiced carelessly.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522545: [Bash-completion-devel] Bug#522545: bash-completion: configuration file conflict with mtx

2009-04-04 Thread David Paleino
On Sat, 4 Apr 2009 19:56:52 +0200, Michal Politowski wrote:

 Package: bash-completion
 Version: 1.0-1
 Severity: serious
 Justification: Policy 10.7.4
 
 Preparing to replace bash-completion 20080705
 (using .../bash-completion_1.0-1_all.deb) ... Unpacking replacement
 bash-completion ... dpkg: error
 processing 
 /var/cache/debtorrent/ftp.pl.debian.org_debian_dists_unstable_main_binary-all/pool/main/b/bash-completion/bash-completion_1.0-1_all.deb
 (--unpack): trying to overwrite `/etc/bash_completion.d/mtx', which is also
 in package mtx

Is the version in mtx updated? If not, I'd suggest mtx's maintainer (CCed) to
grab the one from bash-completion's git repo.

http://git.debian.org/?p=bash-completion/bash-completion.git;a=blob_plain;f=contrib/mtx;hb=a4c9bdc1774d234f322d214cf7636c10bd2db1c0

However, fixed. Package coming soon (will first search for other such
conflicts).

Kindly,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 | http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174


signature.asc
Description: PGP signature


Bug#522545: Bug#522545: bash-completion: configuration file conflict with mtx

2009-04-04 Thread David Paleino
On Sat, 4 Apr 2009 21:03:51 +0200, David Paleino wrote:

 However, fixed. Package coming soon (will first search for other such
 conflicts).

Seems like that was the only one conflicting! :(

(at least, at filename level. Looking inside the files, without having the
packages installed, well... is difficult :) -- we have plans to move
completions out of bash-completion itself though, so this won't happen again in
future)

Kindly,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 | http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174


signature.asc
Description: PGP signature