savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] gnu webpages doc?


From: Sylvain Beucler
Subject: Re: [Savannah-hackers-public] gnu webpages doc?
Date: Sat, 7 Nov 2009 08:00:16 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

On Fri, Nov 06, 2009 at 04:15:08PM -0600, Karl Berry wrote:
>     The file with that information is in gnu-content/cvs/index.txt .
>     Do you want to edit it?
> 
>     cvs -d:pserver:address@hidden:/web/administration co 
> administration/content/
> 
> I made some changes to the symlinks (and other text) there.

Nice!

>     You can detect the group type using $project->getType() or
>     $project->getTypeName().
> 
> I couldn't find examples of using those in the php, and wasn't sure whether
> the value to compare to would be "gnu" or "GNU" or something else.  Help?

I expect you'll get the same values than in:
http://savannah.gnu.org/cooperation/groups.tsv

> Anyway, for now I wrote the conditional like this:
>   if ($project->getTypeBaseHost() == "savannah.gnu.org") {
> since that function was clear from other uses in the file.

This will probably match the "www.gnu.org portions", which may or may
not be relevant.

-- 
Sylvain




reply via email to

[Prev in Thread] Current Thread [Next in Thread]