Re: dehs live code

2007-05-09 Thread Gustavo Franco

Bluefuture wrote:

Hi Gustavo,


(...) 

Btw, I would like to suggest point out (or ommit) the packages where
version naming scheme don't match, like in a52dec. It's the easier
scenario: If the upstream part of the version (upstream or debian)
contains "[a-Z]" and the other doesn't, the version naming scheme
can't be compared in a sane way, eg: "snapshot" against "1.0" (-X
intentionally ommitted). Thoughts?


I think that the compare function could be improved more because, as u
can see, actually is very simple (from dehs svn repo):

function is_updated ($up_vers,$debian_vers) {
if ($up_vers=='') return 0;
passthru("dpkg --compare-versions '$up_vers' eq '" .
vers_conv($debian_vers) . "'",$great);
if ($great!=0) return 1;
	else return 0;
}


Any suggestion to improve it?


Yes, sort of:

function is_updated ($up_vers, $debian_vers) {
  if ($up_vers=='') return 0;
  if (!(($debian_vers =~ /\d+\.?/) && ($up_vers =~ /\d+\.?/))) return 0;
  ...
}

I did some tests and I think that the results of the regex match above 
are flexible enough to not break anything, see the results:


debian version: 1.0 - upstream version: 1.0 (sane)
debian version: 1.0-1 - upstream version: 1.0-1 (sane)
debian version: 2.0 - upstream version: 1.0 (sane)
debian version: 2.0-1 - upstream version: 1.0-1 (sane)
debian version: 1.0 - upstream version: 2.0 (sane)
debian version: 1.0-1 - upstream version: 2.0-1 (sane)
debian version: 1.0~1 - upstream version: 2.0~1 (sane)
debian version: 1.0:1 - upstream version: 2.0:1 (sane)
debian version: 1.0-1 - upstream version: snapshot2 (sane)

debian version: snapshot - upstream version: foobar (insane)
debian version: 1.0 - upstream version: snapshot (insane)
debian version: snapshot - upstream version: 1.0 (insane)

regards,
Gustavo Franco - <[EMAIL PROTECTED]>


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re: dehs live code

2007-05-09 Thread Bluefuture
Hi Gustavo,
> 
> 
> What about the false positives like gdm and gnome-screensaver?
> 
That page list debian package not in sync with upstream. So if a debian
package has not a well done watch file probably we could have a debian
version more new that the upstream one. I suggest to send a bug with a
patch to correct the watch file. For example GDM is on sync on
experimental but not on unstable (because unstable and experimental
packages could have different watch file for example to follow different
development and stable upstream releases).   

> Btw, I would like to suggest point out (or ommit) the packages where
> version naming scheme don't match, like in a52dec. It's the easier
> scenario: If the upstream part of the version (upstream or debian)
> contains "[a-Z]" and the other doesn't, the version naming scheme
> can't be compared in a sane way, eg: "snapshot" against "1.0" (-X
> intentionally ommitted). Thoughts?
> 
I think that the compare function could be improved more because, as u
can see, actually is very simple (from dehs svn repo):

function is_updated ($up_vers,$debian_vers) {
if ($up_vers=='') return 0;
passthru("dpkg --compare-versions '$up_vers' eq '" .
vers_conv($debian_vers) . "'",$great);
if ($great!=0) return 1;
else return 0;
}

Any suggestion to improve it?

regards,
Ste


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: dehs live code

2007-05-09 Thread Gustavo Franco

Bluefuture wrote:
Hi, 
after etch release this is a list of debian packages not in sync with

upstream version[1] with upstream news or changelog data where available
(click on the upstream version number). Packages are sorted with popcon
data.


Great stuff, thanks!


I have also set the dehs "live" project directory on alioth readable for
all.

Any help or coordination with some qa project of google soc 2007 it is
appreciated.


What about the false positives like gdm and gnome-screensaver?

Btw, I would like to suggest point out (or ommit) the packages where 
version naming scheme don't match, like in a52dec. It's the easier 
scenario: If the upstream part of the version (upstream or debian) 
contains "[a-Z]" and the other doesn't, the version naming scheme can't 
be compared in a sane way, eg: "snapshot" against "1.0" (-X 
intentionally ommitted). Thoughts?


regards,
Gustavo Franco - <[EMAIL PROTECTED]>


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



dehs live code

2007-05-09 Thread Bluefuture
Hi, 
after etch release this is a list of debian packages not in sync with
upstream version[1] with upstream news or changelog data where available
(click on the upstream version number). Packages are sorted with popcon
data.

I have also set the dehs "live" project directory on alioth readable for
all.

Any help or coordination with some qa project of google soc 2007 it is
appreciated.

Cheers,
Ste

[1]http://dehs.alioth.debian.org/no_updated.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XS-Vcs-field

2007-05-09 Thread Felipe Sateler
Doesn't the PTS also use this information to inform of vcs commits to the
suscribed users?

-- 

  Felipe Sateler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XS-Vcs-field

2007-05-09 Thread Raphael Hertzog
Hello,

On Wed, 09 May 2007, Felipe Sateler wrote:
> Doesn't the PTS also use this information to inform of vcs commits to the
> suscribed users?

No. The PTS forward VCS notifications that it receives, but it doesn't
generate them on its own. Each package/project has to setup its VCS
to send the notifications to [EMAIL PROTECTED]

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: XS-Vcs-field

2007-05-09 Thread Stefano Zacchiroli
On Tue, May 08, 2007 at 05:57:23PM -0500, Manoj Srivastava wrote:
> Umm, sure. I had not given an example of the control file, since
>  that was the same as the control file for vim. Perhaps I need to make
>  this more explicit, since you were confused. 

No, it was indeed clear.

I just think that two examples of the same concept should better be
uniform, as upon fast reading of a page the eye tend to skim quickly
over a page and finding similar text blocks it's easier by visual
comparison.

Cheers.

-- 
Stefano Zacchiroli -*- PhD in Computer Science ... now what?
[EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/
(15:56:48)  Zack: e la demo dema ?/\All one has to do is hit the
(15:57:15)  Bac: no, la demo scema\/right keys at the right time


signature.asc
Description: Digital signature