Re: Some thoughts about packaging and compilation...

Stéphane Téletchéa <[email protected]> Fri, 25 Aug 2006 10:40:27 +0200
Newsgroups gmane.text.refdb.devel
Organization INRA
Message-ID <[email protected]>
Markus Hoenicka a écrit :
> Hi Stéphane,
> 
> Stéphane Téletchéa writes:
>  > 	b) i add the 'status' option in the cases (not sure this is completely 
>  > portable), and correct the *) case since it misses some existing options:
>  > 
>  > Original:
>  >       *)
>  > -       echo "Usage: $(basename $0) {start|stop}" >&2
>  > -       exit 1;;
>  > Corrected:
>  > 
>  > +       echo "Usage: $(basename $0) 
>  > {start|stop|status|restart|force-reload}" >&2
>  > +       RETVAL 1
>  > +       ;;
>  > 
>  > In your provided script, the options restart and force-reload are 
>  > mentionned so i presume this is a good thing to indicate it in the Usage 
>  > line. (do not bother about the RETVAL 1, this is exactly the same as 
>  > exit 1).
>  > 
> 
> I've added restart and force-reload to the usage message. What is
> "status" supposed to do?

Most of the time, it indicates :

service refdb status
refdb is running...

But it may report:
refdb is stopped
of refdb is stop but the subsystem is dead.

Actually, this is done by grepping /var/run/refdb.pib and/or 
/var/lock/subsys/refdb

But as i told, it is probably Mandriva or at least SYS-V's specific 
(thus not very portable). It was just for your information, just in case.

>  > 3 - some permissions seem incorrect:
>  > -rwxr-xr-x  1 steletch mig  1403 avr 14 00:07 AUTHORS*
>  > -rwxr-xr-x  1 steletch mig 29746 avr 14 00:07 COPYING*
>  > -rwxr-xr-x  1 steletch mig  2964 jun 25 23:38 INSTALL*
>  > -rwxr-xr-x  1 steletch mig 10280 avr 14 00:07 missing*
>  > -rwxr-xr-x  1 steletch mig 30690 jun 25 15:39 NEWS*
>  > -rwxr-xr-x  1 steletch mig  8876 mai 26 15:47 README*
>  > -rw-r--r--  1 steletch mig 12660 mai 27 23:18 UPGRADING
>  > 
>  > All of these should be 644 instead of 755 (no executable bit ...) since 
>  > they are only texty files ;-).
>  > 
> 
> I'm sorry that you had to bug me so long to make me fix it. This does
> not mean that I only fix bugs that make their way into the bug tracker
> :-) I was simply too busy updating my laptop during the past days.
> 
>  > Those are details but since i cannot help much in coding, i try to get 
>  > some feedback on little things ;-)
>  > 
> 
> Your input is much appreciated. For a programmer other stuff may
> always appear more important, but these pesky details often affect the
> user experience more than a serious bug that occurs only once in a
> while. Don't hesitate to mention these annoyances, as unimportant as
> they may seem.
> 
> regards,
> Markus

I did use the bug tracking system since it is the way i do for other 
stuff (and i think this is the easiest way to do it).

I wasn't aware of it before getting the mail about it, next time i'll 
find something, i'll use it, this is a robust way to work off-line (i.e 
not expecting an answer while other persons have other things to do).

Last, while i'll be confident (when i'll have made backports of refdb to 
Mandriva 2006.0 and did more thorough tests), i'll send you the 
description for the rpm installation.

Cheers,

Stéphane

-- 
Stéphane Téletchéa, PhD.                  http://www.steletch.org
Unité Mathématique Informatique et Génome http://migale.jouy.inra.fr/mig
INRA, Domaine de Vilvert                  Tél : (33) 134 652 891
78352 Jouy-en-Josas cedex, France         Fax : (33) 134 652 901

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642