Обсуждение: pgfoundry search tool fails for project names with underscores

Поиск
Список
Период
Сортировка

pgfoundry search tool fails for project names with underscores

От
Tom Lane
Дата:
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


Re: pgfoundry search tool fails for project names with underscores

От
Guillaume Smet
Дата:
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



Re: pgfoundry search tool fails for project names with underscores

От
Guillaume Smet
Дата:
On Sun, Jun 7, 2009 at 5:17 PM, Guillaume Smet<guillaume_ml@smet.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