Re: Using database driven pages

2000-04-26 Thread Darren O. Benham
As a rule... just plan on NO mirroring of CGI driven pages...

On Wed, Apr 26, 2000 at 09:59:37AM +1000, Craig Small wrote:
> G'day,
>   The Debian Vendors page is getting rather large and, well a bit hard
> to manage and read.  I am thinking a database driven page would make 
> things easier for everyone.
> 
> I'd like to discuss with everyone here wether or not we agree that this
> is a good idea and if so how to implement it.  I don't think the entire
> Debian website should be database driven, but certainly some parts could
> benefit from it.
> 
> As far as loading is concerned, I just did a quick grep of the
> access.log and found 833 accesses to the vendors page between 
> 6am to 5pm, so we can assume, say, 1600 accesses a day for that page
> at least.
> 
> I'm not sure how many hits the mirrors get.
> 
>   - Craig
> -- 
> Craig Small VK2XLZ  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
> Eye-Net Consulting http://www.eye-net.com.au/<[EMAIL PROTECTED]>
> MIEEE <[EMAIL PROTECTED]> Debian developer <[EMAIL PROTECTED]>
> 
> 
> --  
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
Please cc all mailing list replies to me, also.
* http://benham.net/index.html<[EMAIL PROTECTED]>   <><  *
* Debian: Software in the Public Interest:  *
*   Project Secretary   Treasurer   *
*   Webmaster Team  *
*   BTS Team  siteROCK: *
*   Lintian TeamLinux Infrastructure Engineer   *


pgp19xdXBu1mK.pgp
Description: PGP signature


Re: Using database driven pages

2000-04-26 Thread James A. Treacy
On Wed, Apr 26, 2000 at 09:59:37AM +1000, Craig Small wrote:
> G'day,
>   The Debian Vendors page is getting rather large and, well a bit hard
> to manage and read.  I am thinking a database driven page would make 
> things easier for everyone.
> 
> I'd like to discuss with everyone here wether or not we agree that this
> is a good idea and if so how to implement it.  I don't think the entire
> Debian website should be database driven, but certainly some parts could
> benefit from it.
> 
This would be a good test of how well dynamic pages will work with our site.
We can easily revert if we need to. My vote is to go for it.

-- 
James (Jay) Treacy
[EMAIL PROTECTED]


Re: Using database driven pages

2000-04-26 Thread Craig Small
[cc'ed to debian-admin because it will probably be their decision]
On Tue, Apr 25, 2000 at 08:26:51PM -0400, James A. Treacy wrote:
> This would be a good test of how well dynamic pages will work with our site.
> We can easily revert if we need to. My vote is to go for it.

The next question is where to put it?  I can run a test system either
locally, which means it is not accessable and then push it onto another
site.

I'm doing some database/php work for the new maintainer group (which is
why I thought of doing the same thing for vendors) on pandora, but is
this the right place for it?

A home for this sort of stuff does not need to be decided NOW but it
will have to be decided soon.

  - Craig
-- 
Craig Small VK2XLZ  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.eye-net.com.au/<[EMAIL PROTECTED]>
MIEEE <[EMAIL PROTECTED]> Debian developer <[EMAIL PROTECTED]>


Re: Using database driven pages

2000-04-26 Thread Jason Gunthorpe

On Wed, 26 Apr 2000, Craig Small wrote:

> On Tue, Apr 25, 2000 at 08:26:51PM -0400, James A. Treacy wrote:
> > This would be a good test of how well dynamic pages will work with our site.
> > We can easily revert if we need to. My vote is to go for it.

> A home for this sort of stuff does not need to be decided NOW but it
> will have to be decided soon.

If we are going to be widely using databases, I suggest VA or master (once
the archive moves, it will have lots of free cycles)

I would like to see any important databases stored on RAID setups though,
not very keen on loosing everything since it would not longer be
mirrored...

Jason


Re: Do you have a little place on w.d.o for a translation center ?

2000-04-26 Thread Martin Quinson

On Wed, 26 Apr 2000, Lele Gaifax wrote:

> I think this is a very interesting work, and that it should be put on
> the Debian site. 

Thanks.
 
> I tried to run it at home, but it gave me a Perl error about
> a missing Language.pm. What version (or packages) of Perl should I
> use? 

Ooops, sorry. You need the package liblocale-codes-perl from potato.
You also need some dpkg packages, I think dpkg-dev should be enougth.

> MQ> You can find the french and the english version (proof that it
> MQ> can be translated :)
> 
> I'm willing to contribute the italian translation, if anybody else
> does not step in.

Feel free. You need to change all the .wml files (as usual), and the
english/international/dtc/dtc.def files. The last one should stay in this
rep.

But it would be easier when the pages are on the w.d.o web site...
 
Bye, Mt.

PS: The script has now run until the end. Some facts about potato :
193 packages of 3103 are ready for translation (6%)
166 packages contains po files (86% of above)
The best translating team is the german one, with 104 packages translated,
at 80% at average.
it is 35 differents laguages in po files in debian.
...
More at :
http://www.ens-lyon.fr/~mquinson/debian/dtc/

Bye, Mt.


Re: Using database driven pages

2000-04-26 Thread Thalia L. Hooker
To get around the mirroring issue, you could store the data into a 
database but use a cron script to generate the vendor pages at a 
pre-selected time. This is done in high traffic sites with data that 
doesn't change that often or when you don't need to see the changes 
until the next export. For the vendors page, a 24 hour lag is 
probably ok.

Thalia

> As a rule... just plan on NO mirroring of CGI driven pages...
> 
> On Wed, Apr 26, 2000 at 09:59:37AM +1000, Craig Small wrote:
> > G'day,
> >   The Debian Vendors page is getting rather large and, well a bit hard
> > to manage and read.  I am thinking a database driven page would make
> > things easier for everyone.
> > 
> > I'd like to discuss with everyone here wether or not we agree that this
> > is a good idea and if so how to implement it.  I don't think the entire
> > Debian website should be database driven, but certainly some parts could
> > benefit from it.
> > 
> > As far as loading is concerned, I just did a quick grep of the
> > access.log and found 833 accesses to the vendors page between 
> > 6am to 5pm, so we can assume, say, 1600 accesses a day for that page at
> > least.
> > 
> > I'm not sure how many hits the mirrors get.
> > 
> >   - Craig
> > -- 
> > Craig Small VK2XLZ  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA
> Please cc all mailing list replies to me, also.
>* http://benham.net/index.html<[EMAIL PROTECTED]>   


Re: DDP web now in webwml/english/doc/

2000-04-26 Thread peter karlsson
Josip Rodin:

> Feel free to hail, comment, bitch, yell, whatever :)

Just a small problem I found: The Makefile doesn't list dependencies on the
ddp.wml template, which will prohibit the pages from being remade properly
when it changes.

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


Re: DDP web now in webwml/english/doc/

2000-04-26 Thread Josip Rodin
On Wed, Apr 26, 2000 at 07:19:49PM +0200, peter karlsson wrote:
> Just a small problem I found: The Makefile doesn't list dependencies on the
> ddp.wml template, which will prohibit the pages from being remade properly
> when it changes.

Good catch. I've fixed it now by adding

filename.$(LANGUAGE).html: filename.wml $(TEMPLDIR)/ddp.wml

to the Makefile, for every filename that uses ddp template.

-- 
Digital Electronic Being Intended for Assassination and Nullification