pgfoundry search tool fails for project names with underscores

Lists: pgsql-www
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-www(at)postgreSQL(dot)org
Subject: pgfoundry search tool fails for project names with underscores
Date: 2009-06-07 13:55:51
Message-ID: 12722.1244382951@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

I went to http://pgfoundry.org/ and typed "pg_migrator" into the search
box. Got nothing. Some further experimentation suggests that it fails
to find any project name with an underscore in it, which is mighty
unfortunate considering how many of them have underscores.

regards, tom lane


From: Guillaume Smet <guillaume_ml(at)smet(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-www(at)postgreSQL(dot)org
Subject: Re: pgfoundry search tool fails for project names with underscores
Date: 2009-06-07 15:17:40
Message-ID: 4A2BDA14.8060005@smet.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

Tom,

Tom Lane a écrit :
> I went to http://pgfoundry.org/ and typed "pg_migrator" into the search
> box. Got nothing. Some further experimentation suggests that it fails
> to find any project name with an underscore in it, which is mighty
> unfortunate considering how many of them have underscores.

I spent most of the week-end working on the pgFoundry upgrade to
FusionForge 4.8 but it's not fixed in recent versions of
GForge/FusionForge either (I just checked on my local pgFoundry instance
running Branch_4.8).

I'll fix it and commit what's needed to make it work in FusionForge
repository.

We'll see then if we can backport it to the current code running on
pgfoundry.org while finishing the upgrade.

--
Guillaume


From: Guillaume Smet <guillaume(dot)smet(at)gmail(dot)com>
To: pgsql-www(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: pgfoundry search tool fails for project names with underscores
Date: 2009-06-07 18:17:34
Message-ID: 1d4e0c10906071117u6f2babf7j83085b2ebe1631e1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Sun, Jun 7, 2009 at 5:17 PM, Guillaume Smet<guillaume_ml(at)smet(dot)org> wrote:
> I'll fix it and commit what's needed to make it work in FusionForge
> repository.

Done:
https://fusionforge.org/scm/viewvc.php/branches/Branch_4_8/gforge/common/search/SearchQuery.class.php?root=fusionforge&r1=7334&r2=7763&view=patch

The old file used by pgFoundry is called SearchQuery.class (without
the .php suffix at the end).

I don't think it changed too much so it should be easily
backpatchable. Please ping me if there is any problem.

--
Guillaume