Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Build Changed is Building All Categories

Quote Reply
Build Changed is Building All Categories
I do a Build All.
Immediately after that I do a Build Changed.
It's doing a complete build in both the cases (except for the Detailed Pages)

Is this normal? Even Empty Categories are build Built in "Build Changed" mode.

Glinks3.0.1

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================

Last edited by:

HyperTherm: Apr 23, 2005, 12:56 PM
Quote Reply
Re: [HyperTherm] Build Changed is Building All Categories In reply to
It works on my copy here. Looking at nph-build.cgi, it should only be rebuilding if the Category Timestmp column is newer than the last_build time - date_offset.

Adrian
Quote Reply
Re: [brewt] Build Changed is Building All Categories In reply to
I tried again ... Build All followed by Build Changed .... All Categories are being built ...
Want me to pm the admin access?

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [HyperTherm] Build Changed is Building All Categories In reply to
Sure, probably easier that way.

Adrian
Quote Reply
Re: [HyperTherm] Build Changed is Building All Categories In reply to
Try changing nph-build.cgi (around line 138) from:
Code:
$PLG->dispatch('create_category_changed', \&_build_category, GT::SQL::Condition->new('Timestmp', '>=', $time));
to:
Code:
$PLG->dispatch('create_category_changed', \&_build_category, GT::SQL::Condition->new('Timestmp', '>', $time));

Adrian
Quote Reply
Re: [brewt] Build Changed is Building All Categories In reply to
No change. Same. Tried changing the Links.Timestamp too but same. Builds All (except for the detailed pages)

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [brewt] Build Changed is Building All Categories In reply to
Here is the observation:

Glinks3.0.1 -- GT libs 3.0.1 --> Problem Persists
Glinks3.0.0 -- GT libs 3.0.1 --> Problem Persists

Glinks3.0.0 -- GT libs 3.0.0 --> Everything Normal

In all cases the tables of 3.0.1 are used.
So it boils down to something in the 3.0.1 GT

A closer look shows that even the Detailed pages were wrongly being built (Build Changed)

I am getting it back to 3.0.1
[edit]
Your access to admin panel is on
[/edit]

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================

Last edited by:

HyperTherm: Apr 23, 2005, 4:01 PM
Quote Reply
Re: [HyperTherm] Build Changed is Building All Categories In reply to
At me the same problem.
On the Web directory and search engine updating with 3.0 to 3.01 - all works correctly.
On the DirList.net Directory updating from 2.2.1 till 3.01- at start of the nph-build.cgi --changed all catalogues are generated always anew!
It was necessary to create the cut down variant of a file nph-build.cgi for updating only the made changes.

_________________________________________________________________________________________________________________
Web directory and search engine | Dirlist.net Directory - Add your link today.
Quote Reply
Re: [Bigpat] Build Changed is Building All Categories In reply to
Guess i would wait for an official fix to this problem which has shown up only after upgrading to 3.0.1 and all was well in 3.0.0

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [HyperTherm] Build Changed is Building All Categories In reply to
It's happening because the value of 'time' has to be adjusted to match the times in Timestmp. In your case, it needs to be adjusted +13.5 hours. You can fix this by changing the Setup => Date Options => date_offset option to 13.5. I didn't do it on your installation since I'm not sure if you have anything else that's using dates (this will affect dates returned from GT::Date - you can make it only affect building by editing nph-build.cgi, and searching for where it uses date_offset).

Adrian
Quote Reply
Re: [brewt] Build Changed is Building All Categories In reply to
13.5 is the time zone difference between you and me i suppose ;)
Not sure how things are going to be affected in GMail.
It was working fine in 3.0.0 ...
It's only with 301 which has caused this
What needs to be added to nph-build.cgi?

If this is a change in GT::Date then yes i have few custom plugins going in GMail and i hope that doesn't break for some reason. Does it mean that across the board now all GT applications will have to be reconfig'd wrt this?

::confused::

[edit]
A Cateory with no new links

The values of Timestmp are:

2005-04-24 19:53:27 <--- Before Build all Started
2005-04-24 21:35:04 <--- Build All Finished

If 13.5 Hrs is added, well fine it would not do a rebuild as Time > is not satisfied. What happens if the Build Changed is Done at 13.6 Hrs after a complete build?
Just trying to understand this enw phenomenon in 3.0.1 ... i am using the correct timezone files and all dates are displayed fine...
[/edit]

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================

Last edited by:

HyperTherm: Apr 24, 2005, 9:11 AM
Quote Reply
Re: [brewt] Build Changed is Building All Categories In reply to
OK just for sake of seeing, i did that 13.5 Hrs adjustment in setup, and now the last build time global displaying the last build time shows me a date 13.5 Hrs in future. This is the global that i have:

sub {
#returns the time of the last build
Links::init_date();
return GT::Date::date_get ($CFG->{last_build}, '%yyyy%-%mmm%-%dd% %HH%:%MM%:%ss% %tt% (GMT %o%)');

and it returned:

2005-Apr-25 11:20:39 AM (GMT +0530) whereas it's 2005-April-24 9:50 PM (GMT +0530) If this carries on to Glinks Mailings too, then most of the mails would be going with "Future Dates" which would definitely be caught by SA.

So i am back to 0 offest....

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================

Last edited by:

HyperTherm: Apr 24, 2005, 9:28 AM
Quote Reply
Re: [brewt] Build Changed is Building All Categories In reply to
Just did following tests (as 0 offset was giving full build with Build Changed and +13.5 hours was causing last build time to be shown in "Future"

Set offset to 0.1 (Don't really know if this ios the correct thing to do)
Build Changed worked fine

So why is it that a 0 offset is causing this Complete Build with "Build Changed"

Never really tested where a Category and Changed link therein gets rebuilt with a non zero offset. Tired :|

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [HyperTherm] Build Changed is Building All Categories In reply to
It should be working on your installation. There's still a few issues that need to be worked out. I'll work on it on Monday and we'll get an update posted to Gossamer Update.

Adrian
Quote Reply
Re: [brewt] Build Changed is Building All Categories In reply to
I had one addition just now ... (get few as it's a paid site), and did Build Changed (with that 0.1 offset in place) and it did work fine. Would wait for update before reverting the offset back to '0'

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [HyperTherm] Build Changed is Building All Categories In reply to
It is set to 0 already.

Adrian
Quote Reply
Re: [brewt] Build Changed is Building All Categories In reply to
Hmmm... i just did a Build Changed and it built all. Switched back to 0.1 offset and did a proper "Build Changed" so im back to 0.1 offset.

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [HyperTherm] Build Changed is Building All Categories In reply to
I am having this problem as well...the prior versions were building changed just fine, the latest one builds all every single time. I have messed around with this time offset and saw no change. If I understand you correctly, I am supposed to input the difference between the my server (central time) and where I physically am (pacific time). Why does this matter, and how is your script accessing my PC to read the time anyway? Or am I not getting it?

Rather confused I guess, but bottom line is build changed isn't working for me and it only started with the new version.
Quote Reply
Re: [fantasyman] Build Changed is Building All Categories In reply to
We should have an update to fix this in a few days.

Adrian
Quote Reply
Re: [brewt] Build Changed is Building All Categories In reply to
Hi Adryan!

From the moment of opening this subject has passed five days, and the problem till now is not eliminated.
At me the quantity of the changed links every day grows and accordingly, all previous changed links for five days and all catalogues every day are generated!!!
I with impatience wait a patch eliminating this incorrect job GL 3.01

BR,
Bigpat

_________________________________________________________________________________________________________________
Web directory and search engine | Dirlist.net Directory - Add your link today.
Quote Reply
Re: [Bigpat] Build Changed is Building All Categories In reply to
I've got a fix in place in cvs, but I'm not 100% sure that it will work in all cases since there's always a few weird cases in which something is different. The thing is I don't want to have to release multiple versions of the fix. I've sent the patch to HyperTherm to test, but he hasn't gotten back to me yet. If you would like to help me test the patch them let me know and I'll send you the patch.

Adrian
Quote Reply
Re: [brewt] Build Changed is Building All Categories In reply to
Ok, I wait it

_________________________________________________________________________________________________________________
Web directory and search engine | Dirlist.net Directory - Add your link today.
Quote Reply
Re: [Bigpat] Build Changed is Building All Categories In reply to
I wait it. Send a patch, I am ready to try.

_________________________________________________________________________________________________________________
Web directory and search engine | Dirlist.net Directory - Add your link today.
Quote Reply
Re: [brewt] Build Changed is Building All Categories In reply to
An update has been added to the update system that should correct these problems.

Adrian
Quote Reply
Re: [brewt] Build Changed is Building All Categories In reply to
After reception of official updating the problem was removed. Thanks!

_________________________________________________________________________________________________________________
Web directory and search engine | Dirlist.net Directory - Add your link today.