What is "diff engine" ?

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
wintermute
Registered User
Posts: 53
Joined: Fri Sep 03, 2004 11:58 pm
Location: Istanbul

What is "diff engine" ?

Post by wintermute »

Hello all,

Could you please tell me what does "diff engine" do in phpBB 3.0? I'm very curious about it.

Best wishes,
Greetings to everyone...
Obi_Wan
Registered User
Posts: 83
Joined: Thu Aug 28, 2003 9:32 am
Contact:

Re: What is "diff engine" ?

Post by Obi_Wan »

I havn't used the update yet however I believe it is for updating the phpbb 3 files when the update is going to be installed. Instead of installing just the database changes and files have to be done manually.
Image
May /dev/null be with you!
APTX
Registered User
Posts: 680
Joined: Thu Apr 24, 2003 12:07 pm

Re: What is "diff engine" ?

Post by APTX »

In theory it's something that will alow you to easily update your board even if it has mods installed.
Don't give me my freedom out of pity!
Yoda_IRC
Registered User
Posts: 158
Joined: Tue Mar 01, 2005 10:19 pm

Re: What is "diff engine" ?

Post by Yoda_IRC »

APTX wrote: In theory it's something that will alow you to easily update your board even if it has mods installed.

Surely if you change things enough its still going to confuse any diff system.

What happens if the changed line is one that you have also changed, how is it going to resolve that?
Ectoman
Registered User
Posts: 192
Joined: Sat Dec 15, 2001 3:53 pm
Location: Denver CO
Contact:

Re: What is "diff engine" ?

Post by Ectoman »

I bet it will work even better for updates after gold is released.. as most changes from version to version will be small. Could there potentially be dozens and dozens of version changes?
BondGamer
Registered User
Posts: 113
Joined: Mon Dec 15, 2003 8:20 pm
Contact:

Re: What is "diff engine" ?

Post by BondGamer »

Yoda_IRC wrote: Surely if you change things enough its still going to confuse any diff system.

What happens if the changed line is one that you have also changed, how is it going to resolve that?

It will probably give you a message telling you the line could not be found and you would have to edit that part manually.
User avatar
Timmer
Registered User
Posts: 9
Joined: Tue May 09, 2006 8:35 pm
Location: Grants Pass, OR
Contact:

Re: What is "diff engine" ?

Post by Timmer »

APTX wrote: In theory it's something that will alow you to easily update your board even if it has mods installed.

For those of us who don't mod, an easier update process would be greatly appreciated!
I got a postcard from my friend George. It was a satellite photo of the entire Earth. On the back he wrote, "Wish you were here."
APTX
Registered User
Posts: 680
Joined: Thu Apr 24, 2003 12:07 pm

Re: What is "diff engine" ?

Post by APTX »

Yoda_IRC wrote: Surely if you change things enough its still going to confuse any diff system.

What happens if the changed line is one that you have also changed, how is it going to resolve that?

That is called a collision. The updater found 4 of them in one file (the only one I touched :)) and it gave me 2 options and the notice to change the lines myself. It shows you the difference in the files so it's not too difficult/time consuming.
Don't give me my freedom out of pity!
User avatar
Timmer
Registered User
Posts: 9
Joined: Tue May 09, 2006 8:35 pm
Location: Grants Pass, OR
Contact:

Re: What is "diff engine" ?

Post by Timmer »

Perhaps I misunderstood this "diff engine." So let me ask this question:

How will updates be handled in Olympus? Will we still have to download, unpack, disable our boards, run the upgrade script, re-enable our board, etc? Or can there be a more automated way to "check for updates" and have them installed automatically?

I apologize if this is answered somewhere already.
I got a postcard from my friend George. It was a satellite photo of the entire Earth. On the back he wrote, "Wish you were here."
APTX
Registered User
Posts: 680
Joined: Thu Apr 24, 2003 12:07 pm

Re: What is "diff engine" ?

Post by APTX »

The updater has the ability to upload the new files via FTP if your PHP has FTP support. The alternative is that you download an archive of your choice and upload it yourself.
Don't give me my freedom out of pity!
Post Reply