Bug#890083: [PATCH] dl10n-check script: dpkg: warning: --compare-versions used with obsolete relation operator '>'

2018-04-14 Thread Christian PERRIER
Quoting Laura Arjona Reina (larj...@debian.org):
> Please ignore the former patch.
> 
> The correct patch is this one:

As we say in French : MDR:-)

There hasn't been as much activity on i18n infrastructure than today
during last months (if not years) and both of us report the same bug
with the same patch...:-)

I "git pulled" again





signature.asc
Description: PGP signature


Bug#887107: https://i18n.debian.org/material/data/unstable.gz not updated since 2017-11-23

2018-04-14 Thread Laura Arjona Reina
Hello

I've had a look at today's log and there is only the warning that is
reported in bug  #890083 (dpkg --compare-versions using obsolete operator).

Guillem Jover ACK'ed my patch for #890083 and thus I have applied it in
the repo.

Christian, do you mind to update again the repo in tye?

Let's hope tomorrow we have our unstable.gz updated :)
Cheers
-- 
Laura Arjona Reina
https://wiki.debian.org/LauraArjona



Bug#890083: [PATCH] dl10n-check script: dpkg: warning: --compare-versions used with obsolete relation operator '>'

2018-04-14 Thread Laura Arjona Reina
Please ignore the former patch.

The correct patch is this one:

diff --git a/dl10n-check b/dl10n-check
index 4bad7a1..7b6b0cf 100755
--- a/dl10n-check
+++ b/dl10n-check
@@ -281,7 +281,7 @@ PKG: while ($dsc = shift @pkg_list) {
 $data->maintainer($pkg, $maint);
 my $newer = ($data->version($pkg) ne $ver);
 if ($newer) {
-$newer = system ("dpkg","--compare-versions",
$data->version($pkg), "\>", $ver);
+$newer = system ("dpkg","--compare-versions",
$data->version($pkg), "gt", $ver);
 }
 if ((!$force) && $newer==0 && $data->version($pkg) ne ""
 && !( $force_material &&

(also attached)

Cheers
-- 
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
diff --git a/dl10n-check b/dl10n-check
index 4bad7a1..7b6b0cf 100755
--- a/dl10n-check
+++ b/dl10n-check
@@ -281,7 +281,7 @@ PKG: while ($dsc = shift @pkg_list) {
 $data->maintainer($pkg, $maint);
 my $newer = ($data->version($pkg) ne $ver);
 if ($newer) {
-$newer = system ("dpkg","--compare-versions", $data->version($pkg), "\>", $ver);
+$newer = system ("dpkg","--compare-versions", $data->version($pkg), "gt", $ver);
 }
 if ((!$force) && $newer==0 && $data->version($pkg) ne ""
 && !( $force_material &&


Bug#890083: dl10n-check script: dpkg: warning: --compare-versions used with obsolete relation operator '>'

2018-04-14 Thread Laura Arjona Reina
Package: debian-i18n
Tags: patch

I'm attaching a diff that I think it solves the issue.
It simply changes '\>' for 'gt'

If nobody shouts I'll commit this in a while.

Cheers

-- 
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
diff --git a/dl10n-check b/dl10n-check
index 4bad7a1..a0b2d85 100755
--- a/dl10n-check
+++ b/dl10n-check
@@ -25,6 +25,7 @@ use Locale::Country;
 use Debian::L10n::Db;
 use Debian::L10n::Debconf;
 
+use lib './lib';
 use Debian::Pkg::DebSrc;
 
 my $progname= $0; $progname= $& if $progname =~ m,[^/]+$,;
@@ -281,7 +282,7 @@ PKG: while ($dsc = shift @pkg_list) {
 $data->maintainer($pkg, $maint);
 my $newer = ($data->version($pkg) ne $ver);
 if ($newer) {
-$newer = system ("dpkg","--compare-versions", $data->version($pkg), "\>", $ver);
+$newer = system ("dpkg","--compare-versions", $data->version($pkg), "gt", $ver);
 }
 if ((!$force) && $newer==0 && $data->version($pkg) ne ""
 && !( $force_material &&


Bug#887107: https://i18n.debian.org/material/data/unstable.gz not updated since 2017-11-23

2018-04-14 Thread Laura Arjona Reina
Hi again

El 14/04/18 a las 07:31, Christian PERRIER escribió:

> And I launched thte
> /srv/i18n.debian.org/etc/cron.d/10gen-material-unstable script
> manually, just to see what happens. 
I've had a look at the log and added one more package to the exception
list (gcc-7).
I think after that the script should update the material (until some
other package is updated in unstable and produces error :s ).

I've requested to join the debian-i18n unix group (RT#7216), but in the
meanwhile (or for the case it's not appropriate), do you mind to git
pull again?

> Indeed, we get a daily cron
> message which I (sadly) ignored for ages.that's quite probably the
> problem.
>
> debian-i18n crontab on tye has:
> MAILTO="brot...@debian.org,bubu...@debian.org,f...@debian.org,nek...@debian.org,taf...@debian.org"
>
> but it seems that all of us are ignoring these mails nowadays.
>
> I don't remember how one can be added to the right group on Debian
> machines and be allowed to "sudo" to debian-i18n. I suspect this
> should be done with a ticket to the Debian admin team.
>
> At minimum, I can add your mail address to this crontab, Laura, tthat
> may help
Thanks, I'll try to have a look at those mails and see if there is
something I can do.
Cheers

-- 
Laura Arjona Reina
https://wiki.debian.org/LauraArjona