OpenMRS package is ready, I believe

2010-09-28 Thread Misha Koshelev
Dear All: Thank you very much for your helpful comments. I started from scratch today and was able to make a package that I tested on my squeeze system and seems to work. I have not yet progressed to using pbuilder for sid. If I need to do this, please let me know. (I uploaded the relevant versio

Re: OpenMRS package is ready, I believe

2010-09-28 Thread misha680
Hi: Here is a link to the uploaded package: http://www.2shared.com/file/SeV8AGVg/openmrs_161-1_all.html (Save file to your PC link on bottom right) Please let me know next steps. Thank you Yours Misha misha680 wrote: > > Dear All: > > Thank you very much for your helpful comments. > > I

Re: OpenMRS package is ready, I believe

2010-09-28 Thread Nelson A. de Oliveira
Hi Misha! On Tue, Sep 28, 2010 at 11:06 PM, misha680 wrote: > Here is a link to the uploaded package: > http://www.2shared.com/file/SeV8AGVg/openmrs_161-1_all.html The binary packages (.deb files) aren't usefull for review. We need the .dsc, .orig.tar.gz (or .orig.tar.bz2) and the .diff.gz (.deb

Re: OpenMRS package is ready, I believe

2010-09-28 Thread Misha Koshelev
Hi Nelson: Thank you so much. I am trying to use debian mentors but unfortunately am having some Internet issues at the moment :( The AT&T folks will come tomorrow. For now, I am trying to at least upload to Google groups. The entire build-area directory, with the relevant files (_excluding_ th

Re: OpenMRS package is ready, I believe

2010-09-29 Thread Andreas Tille
On Tue, Sep 28, 2010 at 06:18:08PM -0500, Misha Koshelev wrote: > > I started from scratch today and was able to make a package that I > tested on my squeeze system and seems to work. I have found your work in SVN as well as on mentors.debian.net - thanks for your intensive work on OpenMRS! I'm

Re: OpenMRS package is ready, I believe

2010-10-04 Thread misha680
listed in both, this message is listed in neither. Thank you Yours Misha - Hide quoted text - -- Forwarded message -- From: Misha Koshelev Date: Mon, Oct 4, 2010 at 7:05 PM Subject: Re: OpenMRS package is ready, I believe To: Andreas Tille Cc: debian-med@lists.debian.org, Ben Wolfe

Re: OpenMRS package is ready, I believe

2010-10-04 Thread Andreas Tille
Hi Misha, at first I would really like to thank you for your packaging work on OpenMRS. If there would be a competition for the fastest learning person in Debian packaging you would be a quite good candidate. It is amazing how fast you proceeded from the first steps to a clean packaging of a non

Re: OpenMRS package is ready, I believe

2010-10-05 Thread Karsten Hilbert
On Tue, Oct 05, 2010 at 08:47:54AM +0200, Andreas Tille wrote: > > However, to my understanding, purge should remove configuration files > > as well (note: I could do an rm -rf /etc/openmrs in > > postrm, but I noticed this post: > > http://lists.debian.org/debian-devel/2008/06/msg00072.html > > d

Re: OpenMRS package is ready, I believe

2010-10-05 Thread Misha Koshelev
Hi Andreas: Thank you so much for your kind words! I will reply to the rest when I get a chance (currently out the door) but just wanted to point out that actually > I have done a minor change: debian/compat is now 7 instead of 5.  The > effect on the resulting package is none, but it makes sens

Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-05 Thread Andreas Tille
On Tue, Oct 05, 2010 at 09:28:47AM +0200, Karsten Hilbert wrote: > I think it is considered good practice to not remove > database data files due to them being considered user > content despite that being stored in a system directory. Probably it is good practice to *remove* a package if you want

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-05 Thread misha680
Thank you all for your comments about purge. So here's the OpenMRS story - perhaps you have some opinions, but I see this as paralleling gnumed, specifically: * when we _install_ the package, _no_ databases are created * when we _purge_ the package, _no_ databases are erased The databases themse

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-05 Thread Andreas Tille
On Tue, Oct 05, 2010 at 10:17:37AM -0700, misha680 wrote: > > Thus, it seems based on your comments below re gnumed and README.Debian, > that since the user is creating the database, they should remove them as > well. > > Or am I misinterpreting? Well, my intention was to apply some common sense

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-05 Thread Karsten Hilbert
On Tue, Oct 05, 2010 at 10:17:37AM -0700, misha680 wrote: > So here's the OpenMRS story - perhaps you have some opinions, but I see this > as paralleling gnumed, specifically: > * when we _install_ the package, _no_ databases are created > * when we _purge_ the package, _no_ databases are erased >

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-05 Thread misha680
Andreas and Karsten: Thank you both for your wonderful comments. I have asked Ben Wolfe, one of the lead OpenMRS developers, his viewpoint, as the two of you seem to have slightly differing advice. I have actually already made a 1.6.1-2 and uploaded to Debian mentors with the following changes:

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-05 Thread misha680
Hi Karsten: I like (from a technical viewpoint perhaps :) ) your idea of asking the user for confirmation. Is there any good examples/reference for using debconf for such a purpose in postrm? Thx Misha Karsten Hilbert wrote: > > On Tue, Oct 05, 2010 at 10:17:37AM -0700, misha680 wrote: > >>

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-05 Thread Andreas Tille
On Wed, Oct 06, 2010 at 12:00:49AM +0200, Karsten Hilbert wrote: > So they are user content. Absolutely. Don't delete them. As Misha said - they are not deleted (and I hope my mails did not implied that I suggested to do so). > This is very much like deleting user home pages when > deinstalling

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-05 Thread Andreas Tille
On Tue, Oct 05, 2010 at 05:46:08PM -0700, misha680 wrote: > I have actually already made a 1.6.1-2 and uploaded to Debian mentors with > the following changes: >* Change OpenMRS description to not use first person >* Purge OpenMRS database in postrm script if possible >* Update patch th

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-05 Thread Andreas Tille
On Tue, Oct 05, 2010 at 06:05:20PM -0700, misha680 wrote: > I like (from a technical viewpoint perhaps :) ) your idea of asking the user > for confirmation. > > Is there any good examples/reference for using debconf for such a purpose in > postrm? Yes, there is. At installation time you can ask

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-06 Thread Karsten Hilbert
On Wed, Oct 06, 2010 at 08:05:31AM +0200, Andreas Tille wrote: > Yes, there is. At installation time you can ask in the configure script > whether the databases should be deleted on a purge. While, in principle, a good idea -- at install time I don't have a clue as to whether I am going to want

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-06 Thread Misha Koshelev
Hi Guys: Sorry I've read all your emails but I'm a little slow on the uptake. Last night I actually whipped something up that almost works with debconf in postrm script, and there seemed to be some precedent for doing this: http://www.debian.org/News/weekly/2005/36/ "Purging Database Data? Phili

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-06 Thread Andreas Tille
On Wed, Oct 06, 2010 at 01:41:23PM -0500, Misha Koshelev wrote: > Sorry I've read all your emails but I'm a little slow on the uptake. No problem - nobody will ask you for speeding up. > ... > http://da2i.univ-lille1.fr/cgi-bin/man/man2html?debconf-devel+7 > http://manpages.ubuntu.com/manpages/h

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-06 Thread misha680
Hi Andreas et al: I've sent this to Andreas privately but will forward to list as it might be relevant to others. I appreciate your advice re policy. I have actually already implemented your policy-compliant solution (in current subversion). In any case, I think either way the end user will most

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-06 Thread Andreas Tille
On Wed, Oct 06, 2010 at 05:12:47PM -0700, misha680 wrote: > > 1. I have alerted Andreas to this and this might be a potentially > technically minor thing, but it would be nice to solve sooner rather than > later if possible. I will contact ftpmaster what might be the prefered solution here (there

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-07 Thread misha680
Andreas Tille-5 wrote: > > On Wed, Oct 06, 2010 at 05:12:47PM -0700, misha680 wrote: >> >> 1. I have alerted Andreas to this and this might be a potentially >> technically minor thing, but it would be nice to solve sooner rather than >> later if possible. > > I will contact ftpmaster what mig

Re: Removal of data on purge (Was: OpenMRS package is ready, I believe)

2010-10-08 Thread Sebastian Hilbert
On Thursday 07 October 2010 08:24:00 Andreas Tille wrote: > On Wed, Oct 06, 2010 at 05:12:47PM -0700, misha680 wrote: > > 1. I have alerted Andreas to this and this might be a potentially > > technically minor thing, but it would be nice to solve sooner rather than > > later if possible. > > I wil