Re: "Sitemap" webpage

2001-07-06 Thread Tomohiro KUBOTA
Hi,

At Fri, 6 Jul 2001 18:53:57 +0200 (CEST),
peter karlsson <[EMAIL PROTECTED]> wrote:

> I have committed a fix now. It seems to work on my local machine (I
> can't read Japanese, but I can see that there is no mis-encoding left).

Thanks.  I checked.

I found many items read only "Debian".  These pages have titles of
"Debian ", which are "Debian "
in bytes.  Thus, the first  matches the regexp to end $title.
(Note the second  also cannot end $title.  Well,  cannot
be a end sign in any )

  $title =~ s/^#use .* title="(.+?)(" .*$|"$|\e.*$)/$1/;

I think it should be modified as:

  $title =~ s/^#use .* title="(.+?)("\s.*$|"$)/$1/;

I tested locally (as an independent perl script) and it works well
for such pages.

(I also modified to use \s instead of 0x20 space because it can
match tab.  This is not related to the problem we are discussing
now.)

---
Tomohiro KUBOTA <[EMAIL PROTECTED]>
http://www.debian.or.jp/~kubota/
"Introduction to I18N"  http://www.debian.org/doc/manuals/intro-i18n/



Bug#103749: marked as done (www.debian.org: link from autobuilder page to buildd stats?)

2001-07-06 Thread Debian Bug Tracking System
Your message dated Fri, 6 Jul 2001 15:18:42 -0600
with message-id <[EMAIL PROTECTED]>
and subject line Bug#103749: www.debian.org: link from autobuilder page to 
buildd stats?
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--
Received: (at submit) by bugs.debian.org; 6 Jul 2001 20:39:40 +
>From [EMAIL PROTECTED] Fri Jul 06 15:39:40 2001
Return-path: <[EMAIL PROTECTED]>
Received: from mta02-svc.ntlworld.com [:::62.253.162.42] 
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 15IcNy-0004iM-00; Fri, 06 Jul 2001 15:39:34 -0500
Received: from riva.ucam.org ([62.253.132.222]) by mta02-svc.ntlworld.com
  (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP
  id <[EMAIL PROTECTED]>;
  Fri, 6 Jul 2001 21:39:23 +0100
Received: from cjw44 by riva.ucam.org with local (Exim 3.22 #1 (Debian))
id 15IcNn-0002LU-00; Fri, 06 Jul 2001 21:39:23 +0100
Date: Fri, 6 Jul 2001 21:39:23 +0100
From: Colin Watson <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: www.debian.org: link from autobuilder page to buildd stats?
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.18i
X-Reportbug-Version: 1.18
Organization: riva.ucam.org
Sender: Colin Watson <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]

Package: www.debian.org
Severity: wishlist

Hi,

I've just noticed the new autobuilder page linked off Developers'
Corner: thanks! It would be good if it could also link to
http://buildd.debian.org/stats/graph.png, which shows how up-to-date the
various architectures are. I found out about that from somebody at the
Debian Conference, and I'd like it to be easily findable.

Thanks,

-- 
Colin Watson  [EMAIL PROTECTED]

---
Received: (at 103749-done) by bugs.debian.org; 6 Jul 2001 21:18:51 +
>From [EMAIL PROTECTED] Fri Jul 06 16:18:51 2001
Return-path: <[EMAIL PROTECTED]>
Received: from opensource.lineo.com [:::204.246.147.130] 
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 15Iczz-00069t-00; Fri, 06 Jul 2001 16:18:51 -0500
Received: by opensource.lineo.com (Postfix, from userid 1011)
id 8F6DF193392; Fri,  6 Jul 2001 15:18:42 -0600 (MDT)
Date: Fri, 6 Jul 2001 15:18:42 -0600
From: Matt Kraai <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Bug#103749: www.debian.org: link from autobuilder page to buildd 
stats?
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Fri, Jul 06, 2001 
at 09:39:23PM +0100
Delivered-To: [EMAIL PROTECTED]

On Fri, Jul 06, 2001 at 09:39:23PM +0100, Colin Watson wrote:
> I've just noticed the new autobuilder page linked off Developers'
> Corner: thanks! It would be good if it could also link to
> http://buildd.debian.org/stats/graph.png, which shows how up-to-date the
> various architectures are. I found out about that from somebody at the
> Debian Conference, and I'd like it to be easily findable.

OK, I've gone ahead and added a link at the bottom of the page.
Thanks for bringing this to our attention.

Matt



Bug#103749: www.debian.org: link from autobuilder page to buildd stats?

2001-07-06 Thread Colin Watson
Package: www.debian.org
Severity: wishlist

Hi,

I've just noticed the new autobuilder page linked off Developers'
Corner: thanks! It would be good if it could also link to
http://buildd.debian.org/stats/graph.png, which shows how up-to-date the
various architectures are. I found out about that from somebody at the
Debian Conference, and I'd like it to be easily findable.

Thanks,

-- 
Colin Watson  [EMAIL PROTECTED]



Re: "Sitemap" webpage

2001-07-06 Thread peter karlsson
Tomohiro KUBOTA:

> Could someone CVS committer please implement this to
> webwml/english/sitemap.wml ?

I have committed a fix now. It seems to work on my local machine (I
can't read Japanese, but I can see that there is no mis-encoding left).

-- 
\\//
peter - http://www.softwolves.pp.se/

  Statement concerning unsolicited e-mail according to Swedish law:
  http://www.softwolves.pp.se/peter/reklampost.html



Re: "Sitemap" webpage

2001-07-06 Thread Tomohiro KUBOTA
Hi,

At Fri, 6 Jul 2001 17:21:34 +0200,
Josip Rodin <[EMAIL PROTECTED]> wrote:

>>   my $title = `egrep '^#use .* title=' $page `; chomp $title;
>>   $title =~ s/^#use .* title="([^"]+)".*$/$1/;

> I suppose we could just change that regexp to match everything after the
> opening double quote up to the next space, and strip off the ending quote.

Nice idea.

Just an improvement:  I think some titles may include whitespaces.
Thus, the end of the title should be checked by two continuing
bytes of double quote and following whitespace/linefeed byte.
Since ISO-2022-JP cannot end with JIS X 0208 shift state (where
0x22 may appear for Japanese characters), 0x22 cannot appear at
the end of the title string.  And more, since the byte range of
JIS X 0208 is 0x21 - 0x7e, 0x22-and-whitespace bytes cannot
appear in ISO-2022-JP strings.

Could someone CVS committer please implement this to
webwml/english/sitemap.wml ?

---
Tomohiro KUBOTA <[EMAIL PROTECTED]>
http://www.debian.or.jp/~kubota/
"Introduction to I18N"  http://www.debian.org/doc/manuals/intro-i18n/



Processed: Re: Bug#103694: packages.d.o doesn't search on subwords in package names

2001-07-06 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> severity 103694 wishlist
Bug#103694: packages.d.o doesn't search on subwords in package names
Severity set to `wishlist'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Darren Benham
(administrator, Debian Bugs database)



Bug#103694: packages.d.o doesn't search on subwords in package names

2001-07-06 Thread Josip Rodin
severity 103694 wishlist
thanks

On Fri, Jul 06, 2001 at 10:52:01AM +0200, Marko Schulz wrote:
> Package: www.debian.org
> 
> Packages.debian.org does not search on subwords in package names, even
> when this is selected. Searching for all packages which names contain
> 'screen' as a subword only yields the package 'screen':
> 
>   
> http://packages.debian.org/cgi-bin/search_packages.pl?keywords=screen&searchon=names&subword=1&version=stable&release=all
> 
> but should also show packages such as 'xscreensaver'. 

Like, read the web page?

"Subword searching only checks for arbitrary suffixes, not prefixes."

> Where is the source for the search script available? I might write a
> patch for it myself.

We should probably just upgrade to a newer swish++ version...

-- 
Digital Electronic Being Intended for Assassination and Nullification



Re: "Sitemap" webpage

2001-07-06 Thread Josip Rodin
On Fri, Jul 06, 2001 at 09:36:50PM +0900, Tomohiro KUBOTA wrote:
> I checked webwml/english/sitemap.wml and found:
> 
>   my $title = `egrep '^#use .* title=' $page `; chomp $title;
>   $title =~ s/^#use .* title="([^"]+)".*$/$1/;
> 
> This seems to be the code to extract title for sitemap items.

Yes.

> On the other hand, I don't understand how wml parser extracts
> titles.  I found webwml/english/template/debian/template.wml
> have a simple line of:
> 
>   $(title)
> 
> but I don't know where $(title) comes from.  All what I know
> is that generated Debian web pages are correct.

That variable is created in the headers such as

#use wml::foo::bar title="whatever"

This, I believe, is handled by the first WML pass, which is a Perl script. :)

I suppose we could just change that regexp to match everything after the
opening double quote up to the next space, and strip off the ending quote.

-- 
Digital Electronic Being Intended for Assassination and Nullification

I'm not on -i18n so please cc: to -www or to me if posting there.



Re: "Sitemap" webpage

2001-07-06 Thread Tomohiro KUBOTA
Hi,

At 06 Jul 2001 08:46:08 +0900,
Olaf Meeuwissen <[EMAIL PROTECTED]> wrote:

> But some sites screw up the charset :-(  Claiming to use one encoding
> and using another.

Yes.  We must not do such a poor mistake! :-)


> Hmm, that sounds like it could be an inconsistency in the parser rules
> (not that I know anything about wml though).

I checked webwml/english/sitemap.wml and found:

  my $title = `egrep '^#use .* title=' $page `; chomp $title;
  $title =~ s/^#use .* title="([^"]+)".*$/$1/;

This seems to be the code to extract title for sitemap items.
I have no idea how to easily internationalize this code.  Since
Perl itself is not internationalized yet, it would be difficult
to implement i18n software in Perl.

On the other hand, I don't understand how wml parser extracts
titles.  I found webwml/english/template/debian/template.wml
have a simple line of:

  $(title)

but I don't know where $(title) comes from.  All what I know
is that generated Debian web pages are correct.

---
Tomohiro KUBOTA <[EMAIL PROTECTED]>
http://www.debian.or.jp/~kubota/
"Introduction to I18N"  http://www.debian.org/doc/manuals/intro-i18n/



Bug#103694: packages.d.o doesn't search on subwords in package names

2001-07-06 Thread Marko Schulz
Package: www.debian.org

Packages.debian.org does not search on subwords in package names, even
when this is selected. Searching for all packages which names contain
'screen' as a subword only yields the package 'screen':

  
http://packages.debian.org/cgi-bin/search_packages.pl?keywords=screen&searchon=names&subword=1&version=stable&release=all

but should also show packages such as 'xscreensaver'. 

Where is the source for the search script available? I might write a
patch for it myself.

-- 
marko schulz

  Dieser Satz beinhalten drei Fehller.