preserving user changes while managing configuration files

2011-11-23 Thread Dennis van Dok
Dear mentors, I have a question regarding configuration file changes. I've written a utility to manage a fairly complicated configuration file. The utility is used in the postinst script, and debconf feeds it the right parameters. The utility can also be used stand-alone by the administrator.

Re: RFS: mydumper

2011-11-23 Thread Mateusz Kijowski
2011/11/22 Mateusz Kijowski mateusz.kijow...@gmail.com: I've just commented your package on mentors.debian.net. Sorry for duplicated comments, I had some errors 500 during commenting and I thought they haven't been added. I have uploaded a new version which addresses the embedded JS issue

Re: preserving user changes while managing configuration files

2011-11-23 Thread Joseph Gunn
On Wed, 23 Nov 2011 09:18:00 +0100 Dennis van Dok denni...@nikhef.nl wrote: Dear mentors, I have a question regarding configuration file changes. My question is whether this method sufficiently implements the policy, or if there are other ways to go about it. I am not a mentor, but i'll

Re: preserving user changes while managing configuration files

2011-11-23 Thread Alexander Reichle-Schmehl
Hi! Am 23.11.2011 09:18, schrieb Dennis van Dok: My question is whether this method sufficiently implements the policy, or if there are other ways to go about it. Hmmm... I'm not entirely sure about this. But you might want to look at the ucf utility and it's usage in maintainer scripts.

Re: RFS: jabber-querybot

2011-11-23 Thread Didier Raboud
On Wed, 23 Nov 2011 08:06:09 +0100, Marco Balmer wrote: Good point! I changed upstream and built a new version: http://mentors.debian.net/debian/pool/main/j/jabber-querybot/jabber-querybot_0.0.5.1-1.dsc * d/postinst: removed * File installed to /etc/jabber-querybot Hi Marco, unfortunately,

Re: preserving user changes while managing configuration files

2011-11-23 Thread Gergely Nagy
Dennis van Dok denni...@nikhef.nl writes: I have a question regarding configuration file changes. [..] The way I've addressed this is by adding a special marker containing a warning near the top of the configuration file ('warning: this file is maintained by foo-configure; remove this line

Re: preserving user changes while managing configuration files

2011-11-23 Thread Dennis van Dok
Op 23-11-11 11:20, Gergely Nagy wrote: I'd like to propose two other options: [...] In case a sensible default is not possible, then ship without a config file, and offer to generate one based on debconf answers if the file does not exist. This sounds like a reasonable approach. I should

Re: RFS: jabber-querybot

2011-11-23 Thread Marco Balmer
On Wed, Nov 23, 2011 at 10:46:42AM +0100, Didier Raboud wrote: unfortunately, there are things you should change before I can upload: - according to debdiff between the version currently in unstable and this version, you changed the 0.0.4-1 changelog entry; which you should really not

Re: preserving user changes while managing configuration files

2011-11-23 Thread Dennis van Dok
On 23-11-11 10:27, Joseph Gunn wrote: A popular way of accomplishing the task is to support configuration subdirectories It includes all configuration files in that directory. If you publish a name that you will _never_ use then people can add that one as they wish. Dear Joseph, I'm

RFS: pysolfc (replacement for removed package: pysol)

2011-11-23 Thread Bernhard Reiter
Hello mentors, I am still looking for a sponsor for my package pysolfc, which has been around for a while. I've polished it some more, so it shouldn't be too hard to review. * Package name: pysolfc Version : 2.0-1 * URL : http://pysolfc.sourceforge.net/ * License : GPL *

Re: RFS: jabber-querybot

2011-11-23 Thread Didier Raboud
On Wed, 23 Nov 2011 11:52:05 +0100, Marco Balmer wrote: On Wed, Nov 23, 2011 at 10:46:42AM +0100, Didier Raboud wrote: unfortunately, there are things you should change before I can upload: - according to debdiff between the version currently in unstable and this version, you changed the

Re: preserving user changes while managing configuration files

2011-11-23 Thread Arno Töll
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Dennis, On 23.11.2011 11:48, Dennis van Dok wrote: In case a sensible default is not possible, then ship without a config file, and offer to generate one based on debconf answers if the file does not exist. This sounds like a reasonable

Re: RFS: jabber-querybot

2011-11-23 Thread Marco Balmer
On Wed, Nov 23, 2011 at 01:57:49PM +0100, Didier Raboud wrote: - according to debdiff between the version currently in unstable and this version, you changed the 0.0.4-1 changelog entry; which you should really not (unless there is a good reason; in which case you should mention it in the

Re: preserving user changes while managing configuration files

2011-11-23 Thread Dennis van Dok
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23-11-11 14:34, Arno Töll wrote: please mind the exact wording here. A configuration file is not the same as a conffile in Debian. Note, you are not allowed to modify a conffile at any time. In the context of the maintainer scripts, I take it.

Re: RFS: jabber-querybot

2011-11-23 Thread Benoît Knecht
Hi Marco, Marco Balmer wrote: On Wed, Nov 23, 2011 at 01:57:49PM +0100, Didier Raboud wrote: - according to debdiff between the version currently in unstable and this version, you changed the 0.0.4-1 changelog entry; which you should really not (unless there is a good reason; in which case

Re: preserving user changes while managing configuration files

2011-11-23 Thread Tony Houghton
On Wed, 23 Nov 2011 11:53:14 +0100 Dennis van Dok denni...@nikhef.nl wrote: On 23-11-11 10:27, Joseph Gunn wrote: A popular way of accomplishing the task is to support configuration subdirectories It includes all configuration files in that directory. If you publish a name that you

Re: RFS: jabber-querybot

2011-11-23 Thread Marco Balmer
Hi Benoît, On Wed, Nov 23, 2011 at 03:41:55PM +0100, Benoît Knecht wrote: Lesson learned! Thx! I hope you are happy with this: dget -x http://mentors.debian.net/debian/pool/main/j/jabber-querybot/jabber-querybot_0.0.5.1-1.dsc - d/changelog entry what was changed: Seems to be a

Re: RFS: jabber-querybot

2011-11-23 Thread Didier Raboud
On Wed, 23 Nov 2011 15:21:38 +0100, Marco Balmer wrote: - d/preinst: Implemented according to your remarks. Almost there! :- == your code == if [ -L /etc/jabber-querybot/Querymodule.pm ] \ [ $1 = upgrade ] \ [ $2 = 0.0.4-1 ]; then if ls -l /etc/jabber-querybot/Querymodule.pm | grep

Re: RFS: jabber-querybot

2011-11-23 Thread Didier Raboud
And now finally taking care of the install step too: this is needed if someones installs jabber-querybot 0.0.4-1, uninstalls it (the symlink doesn't get removed) and then installs 0.0.5.1-1. On Wed, 23 Nov 2011 16:15:51 +0100, Didier Raboud wrote: Or now with the -ef suggestion (way nicer!):

Having mentors.d.n aware of packaging teams

2011-11-23 Thread Thomas Goirand
Hi, Numerous times, I've seen people post their RFS requests for software that should be looked over by some packaging teams. Fore example, PHP or PEAR modules, python libraries, etc. It'd be really great if mentors.d.n was aware of the different packaging team, and was kindly telling about it

Re: RFS: jabber-querybot

2011-11-23 Thread Marco Balmer
Didier, On Wed, Nov 23, 2011 at 04:22:06PM +0100, Didier Raboud wrote: And now finally taking care of the install step too: this is needed if someones installs jabber-querybot 0.0.4-1, uninstalls it (the symlink doesn't get removed) and then installs 0.0.5.1-1. On Wed, 23 Nov 2011 16:15:51

Re: RFS: Planner (orphan package)

2011-11-23 Thread Gergely Nagy
Josue Abarca jmasli...@debian.org.gt writes: Wences Arana and I intend to adopt planner, so now we are looking for a sponsor for our package planner. FYI to anyone who might be looking at this: I intend to review the adopted packages, and sponsor it too (unless I find something terrible, but

Re: RFS: jabber-querybot

2011-11-23 Thread Didier Raboud
Or now with the -ef suggestion (way nicer!): On Wed, 23 Nov 2011 16:04:20 +0100, Didier Raboud wrote: What about that snippet? (which I wrote with inspiration from my local /var/lib/dpkg/info/*.preinst e.g.) == proposal 2 == case $1 in upgrade) if dpkg --compare-versions $2 lt

Re: Computing d/control Provides: line

2011-11-23 Thread Gergely Nagy
Mathieu Malaterre mathieu.malate...@gmail.com writes: I would like to know if there is an easy way to fill in the Provides: line in a d/control file ? Here is the situation, one of my package is activiz.net a C# binding to a C++ library VTK. VTK 5.8 was uploaded to unstable today. I

Re: Computing d/control Provides: line

2011-11-23 Thread Mathieu Malaterre
On Wed, Nov 23, 2011 at 4:34 PM, Gergely Nagy alger...@balabit.hu wrote: Mathieu Malaterre mathieu.malate...@gmail.com writes:   I would like to know if there is an easy way to fill in the Provides: line in a d/control file ?   Here is the situation, one of my package is activiz.net a C#

Re: Computing d/control Provides: line

2011-11-23 Thread Gergely Nagy
Mathieu Malaterre mathieu.malate...@gmail.com writes: On Wed, Nov 23, 2011 at 4:34 PM, Gergely Nagy alger...@balabit.hu wrote: What exactly would you want to put in the Provides field in this case? Right now it would be something like: Package: libactiviz.net-cil Provides:

Re: Computing d/control Provides: line

2011-11-23 Thread Mathieu Malaterre
On Wed, Nov 23, 2011 at 5:16 PM, Gergely Nagy alger...@balabit.hu wrote: Mathieu Malaterre mathieu.malate...@gmail.com writes: On Wed, Nov 23, 2011 at 4:34 PM, Gergely Nagy alger...@balabit.hu wrote: What exactly would you want to put in the Provides field in this case? Right now it would be

Re: RFS: jabber-querybot

2011-11-23 Thread Didier Raboud
Le mercredi, 23 novembre 2011 16.30:11, Marco Balmer a écrit : Finaly I implemented your proposal 3. Learned a lot today! Thanks to all. Uploaded. . -- OdyX signature.asc Description: This is a digitally signed message part.

RFS: mosh (2nd try)

2011-11-23 Thread David Banks
Dear mentors, I am looking for a sponsor for my package mosh. * Package name: mosh Version : 0.2.7+dfsg-1 Upstream Author : Taro Minowa hige...@users.sourceforge.jp * URL : http://mosh.monaos.org/ * License : BSD-2-clause Section : lisp It builds

Re: Having mentors.d.n aware of packaging teams

2011-11-23 Thread Arno Töll
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Thomas, On 23.11.2011 16:09, Thomas Goirand wrote: I wouldn't have the time to implement it, but that would really be a great feature! you're not the first coming up with that idea [1]. We're indeed seeking a tighter integration of Debexpo

Re: RFS: Planner (orphan package)

2011-11-23 Thread Gergely Nagy
Josue Abarca jmasli...@debian.org.gt writes: Wences Arana and I intend to adopt planner, so now we are looking for a sponsor for our package planner. [...] The package is lintian (pedantic) clean. Fortunately for me, it's not algernon-clean just yet! docs Why are you installing the

Re: RFS: freefilesync (new upstream version)

2011-11-23 Thread Damien Lecan
Dear mentors, A new upstream version of FreeFileSync has been released (Lintian warnings has been fixed too). So I am still looking for a sponsor for my package freefilesync. FreeFileSync is an Open-Source folder comparison and synchronization tool. It is optimized for highest performance and

RFS: owncloud 2.0.1

2011-11-23 Thread Thomas Müller
Dear mentors, I am STILL looking for a sponsor for my package owncloud. Meanwhile version 2.0.1 was released. * Package name: owncloud Version : 2.0.1-1 Upstream Author : Frank Karlitschek, Robin Appelman, Jakob Sack, ... * URL : http://owncloud.org * License

Re: RFS: python-meinheld

2011-11-23 Thread Jakub Wilk
* Mikhail Lukyanchenko m...@uptimebox.ru, 2011-11-22, 14:20: Looks like packaging this software requires skills that I don't have. I can't reprosuce your crash on my unstable/amd64. Indeed, it doesn't seem to crash on amd64. Have no idea where to go with that, but don't want to give up

RFS: flashcache

2011-11-23 Thread Arno Töll
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear mentors, I am looking for a sponsor for my package flashcache. * Package name: flashcache Version : 1.0+git201109221219-1 Upstream Author : Mohan Srinivasan et. al. (for Facebook) * URL :

Re: RFS: flvmeta (updated package)

2011-11-23 Thread Paul Wise
On Wed, Nov 23, 2011 at 2:31 PM, Neutron Soutmun wrote:  dget -x http://mentors.debian.net/debian/pool/main/f/flvmeta/flvmeta_1.1~r235-2.dsc Good stuff, uploaded. -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a

Re: RFS: flvmeta (updated package)

2011-11-23 Thread Neutron Soutmun
On Thu, Nov 24, 2011 at 9:24 AM, Paul Wise p...@debian.org wrote: On Wed, Nov 23, 2011 at 2:31 PM, Neutron Soutmun wrote:  dget -x http://mentors.debian.net/debian/pool/main/f/flvmeta/flvmeta_1.1~r235-2.dsc Good stuff, uploaded. :) Thank you very much. -- To UNSUBSCRIBE, email to

Re: RFS: Planner (orphan package)

2011-11-23 Thread Josue Abarca
On Wed, Nov 23, 2011 at 09:49:54PM +0100, Gergely Nagy wrote: Josue Abarca jmasli...@debian.org.gt writes: Wences Arana and I intend to adopt planner, so now we are looking for a sponsor for our package planner. [...] The package is lintian (pedantic) clean. Fortunately for me, it's

Re: RFS: Planner (orphan package)

2011-11-23 Thread Gergely Nagy
Thanks for the answers! Unfortunately, I ran into an issue - possibly upstream -, which worries me a bit: I have a .planner file, created with an older version (whatever version is in Ubuntu Lucid), which doesn't load correctly with the updated package. By doesn't load correctly, I mean that