You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by "Adam R. B. Jack" <aj...@trysybase.com> on 2004/03/19 18:39:02 UTC

Why is LSD site one day behind?

It is, isn't it? At least the date at the bottom of the page shows a day
old.

    http://lsd.student.utwente.nl/gump/

I assume the content is a day old, also, right? If not, forget the rest of
this...

Quite likely this is occurring due to me changing things to split
documentation into two, and also use a staging area & Antoine's new Sync (it
started happening about the time).

Step 1: prepareDocumentation:

1) [Wipe] Wipes the work directory
2) [Sync] Copies the forrest template into the work directory (creating
src/documentation/...)
3) [Copy] Copies the site forrest template (if exists) on top of work

Note: this is an earlier step because things like syndicate, generate
results, have to create files in src/documentation/content/... for the
forrest publish to pick them up and publish them.

Step 2: forrest Documentation:

1) Write xdocs to a work directory, src/documentation/content/xdocs/
2) Generate site to a staging directory (forrest-staging under basedir)
3) [Sync] Sync staging with log.
4) [Wipe] Clean out work and staging.

This code is in gump/forrest/document.py -- and I can't see a logic bug. I
certainly can't figure out how we are getting a days lag, unless it is to do
with (somehow) the staging area being sync'ed prior to the site being
generated or something. No clues...

Can anybody see anything I am too close to see?

regards,

Adam
--
Experience the Unwired Enterprise:
http://www.sybase.com/unwiredenterprise
Try Sybase: http://www.try.sybase.com


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Why is LSD site one day behind?

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
How weird:

The forrest skin uses:

    <script type="text/javascript" language="JavaScript"><!--
              document.write(" - "+"Last Published: " +
document.lastModified);
            //  --></script>

to give me:

    Last Published: 03/18/2004 22:31:43

Display the "published" date on the bottom. It seems to be showing (to me)
that is published at 10:31 MST on the 18th -- which is about right for early
on the 19th for LSD! I was expecting CST not MST!

So, maybe we don't have an issue... (other than forrest not showing
timezone).

Ok, I'm done. Hope things are stable...

regards,

Adam
----- Original Message ----- 
From: "Adam R. B. Jack" <aj...@trysybase.com>
To: "Gump code and data" <ge...@gump.apache.org>
Sent: Friday, March 19, 2004 10:39 AM
Subject: Why is LSD site one day behind?


> It is, isn't it? At least the date at the bottom of the page shows a day
> old.
>
>     http://lsd.student.utwente.nl/gump/
>
> I assume the content is a day old, also, right? If not, forget the rest of
> this...
>
> Quite likely this is occurring due to me changing things to split
> documentation into two, and also use a staging area & Antoine's new Sync
(it
> started happening about the time).
>
> Step 1: prepareDocumentation:
>
> 1) [Wipe] Wipes the work directory
> 2) [Sync] Copies the forrest template into the work directory (creating
> src/documentation/...)
> 3) [Copy] Copies the site forrest template (if exists) on top of work
>
> Note: this is an earlier step because things like syndicate, generate
> results, have to create files in src/documentation/content/... for the
> forrest publish to pick them up and publish them.
>
> Step 2: forrest Documentation:
>
> 1) Write xdocs to a work directory, src/documentation/content/xdocs/
> 2) Generate site to a staging directory (forrest-staging under basedir)
> 3) [Sync] Sync staging with log.
> 4) [Wipe] Clean out work and staging.
>
> This code is in gump/forrest/document.py -- and I can't see a logic bug. I
> certainly can't figure out how we are getting a days lag, unless it is to
do
> with (somehow) the staging area being sync'ed prior to the site being
> generated or something. No clues...
>
> Can anybody see anything I am too close to see?
>
> regards,
>
> Adam
> --
> Experience the Unwired Enterprise:
> http://www.sybase.com/unwiredenterprise
> Try Sybase: http://www.try.sybase.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org