Bug#710321: task: didn't handle conffile rename correctly

2015-04-17 Thread Sebastien Badia

tag 710321 + pending
thanks

On Tue, Mar 10, 2015 at 07:06:16PM (+0100), Jakub Wilk wrote:
I believe it's because the version passed to dpkg-maintscript-help is 
too low.


Argh! Indeed…

Quoting the manpage: “If the conffile has not been shipped for several 
versions, and you are now modifying the maintainer scripts to clean up 
the obsolete file, prior-version should be based on the version of the 
package that you are now preparing, not the first version of the 
package that lacked the conffile.”


Just fixed (yes really, in the prepared 2.4.2+dfsg-1 version), thanks Jakub!

Just tested, and it's work fine, now…

# Setting up taskwarrior (2.4.2+dfsg-1) ...
# Installing new version of config file /etc/bash_completion.d/task ...
# Removing obsolete conffile /etc/bash_completion.d/task.sh ...

Thanks again!

Seb

--
Sebastien Badia


signature.asc
Description: Digital signature


Processed: Re: Bug#710321: task: didn't handle conffile rename correctly

2015-04-17 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tag 710321 + pending
Bug #710321 [src:task] task: didn't handle conffile rename correctly
Added tag(s) pending.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
710321: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710321
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


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



Bug#710321: task: didn't handle conffile rename correctly

2015-03-12 Thread Jakub Wilk

Control: found -1 2.4.1+dfsg-3

I still see both conffiles on my disk:

$ ls -l /etc/bash_completion.d/task*
-rw-r--r-- 1 root root 6082 Mar  1 22:51 /etc/bash_completion.d/task
-rw-r--r-- 1 root root 6082 Mar  1 22:51 /etc/bash_completion.d/task.sh

I believe it's because the version passed to dpkg-maintscript-help is 
too low.


Quoting the manpage: “If the conffile has not been shipped for several 
versions, and you are now modifying the maintainer scripts to clean up 
the obsolete file, prior-version should be based on the version of the 
package that you are now preparing, not the first version of the package 
that lacked the conffile.”


--
Jakub Wilk


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



Processed: Re: Bug#710321: task: didn't handle conffile rename correctly

2015-03-10 Thread Debian Bug Tracking System
Processing control commands:

 found -1 2.4.1+dfsg-3
Bug #710321 {Done: Sebastien Badia s...@sebian.fr} [src:task] task: didn't 
handle conffile rename correctly
Marked as found in versions task/2.4.1+dfsg-3; no longer marked as fixed in 
versions task/2.4.1+dfsg-3 and reopened.

-- 
710321: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710321
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


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



Bug#710321: task: didn't handle conffile rename correctly

2013-05-29 Thread Jakub Wilk

Source: task
Version: 2.1.2-1
Severity: serious
Justification: Policy 10.7.3

task_2.0.0-1 ships this conffile:
/etc/bash_completion.d/task

task_2.1.2-1 ships it as:
/etc/bash_completion.d/task.sh

Unfortunately, I forgot to add maintainer scripts to deal with this 
rename. As a consequence, users who upgraded the package have now both 
of the files on disk. :(


My current plan how to fix this:
1) Revert to the original filename: /etc/bash_completion.d/task
2) rm_conffile /etc/bash_completion.d/task.sh

It's not ideal, but I don't think any extra complexity is worth the 
effort, given that the broken package has been in unstable for less than 
3 weeks.


If anybody has a better idea, please speak up!

--
Jakub Wilk


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