The Oven

Plugin World => General Plugins => Plugins => Topic started by: Lancelot on June 29, 2011, 04:35:40 PM

Title: Update XXX (Exact and Secure)
Post by: Lancelot on June 29, 2011, 04:35:40 PM
[attach=1]


Big "Update" button: Updates all project plugins from server  :thumbsup:

This is the only plugin and only way you can safely update all project plugins.  :great:

***
After Many years Plugin evolved to "Update Project (Exact and Secure)" Plugin -> http://theoven.org/index.php?topic=3073.0
With passing time Utils\Update XXX (Exact and Secure) will be depricated and all projects continue using "Update Project (Exact and Secure)" Plugin


Available at:
Utils\Update XXX (Exact and Secure)

:turtle:
Title: Re: Update_BLexact Plugin
Post by: Lancelot on November 21, 2015, 03:53:14 PM
Plugin updated with
"Preserve Plugin Settings"

so when you update all plugins from server, your plugin settings stays same.  :great:

Credits to Galapo's Plugin Manager.   :thumbsup: :cool:

:turtle:

edit:
Saved:
initial topic post ( June 29, 2011, 06:35:40 AM ) saved :
initial title: Update_BLexact Plugin

Hi all,

I was making my updates with blexact and a set of batches for a long while,
(update with blexact on a seperate folder, than projectdirectories and copy with a batch....)
I decide to make this plugin for my confort, but it became quite good I use it a lot... so decide to share adding some nice cosmetics.....

what it does:
"Start Download" button:
downloads - updates exact copy of project server.

"Copy Project Folders" button:
(I call myself reset)
Deletes all project folders
than restore from download folder



Tip: if you already have a copy of project, click "Open Dir" and copy PE project's "Projects" folder inside


I made 2 plugins for Gena and Win7PE SE ( later Win8PE SE) , it is quite easy to increase number.....

Available on your "Utils"  :rolleyes:  folder


Along with above simple instruction, there are quite nice features which would be easy to figure out  :great:


Tip:
Do not use "Project folder" ( ex: \Projects\Gena ) for your personal plugins,
 since this procedure make project folder full syncronised with server, any other stuff bye bye,

For your personal plugins use
Gena\Utils\"Share Plugins" or Win7-8PESE\"Share Plugins"
and / or "MyPlugins Add" http://TheOven.org/index.php?topic=193

January 23, 2013




Edit: 2015.10.24
now all projects have
Utils\Update XXX (Exact and Secure)

available  :smile:
Title: Re: Update XXX (Exact and Secure)
Post by: Lancelot on August 04, 2017, 12:22:02 PM
Replied http://theoven.org/index.php?topic=2180.0 here :


Just to my better understanding:
plugin have its own topic
http://theoven.org/index.php?topic=159.0

If I perform a "Utils\Update (Exact and Secure)" then WinBuilder checks if there are differences between the existing files
Wrong winbuilder does not check anything.
BLExactServer.exe utility checks differences between files.


XXX_PC.Script

in \Projects\ and the available XXX_PC.Script on the remote (WinBuilder) home servers.
wrong, all project folders checked, not only plugins.
wrong, there is no winbuilder server. Servers organised using genVirginLocalFolder.exe utility


If there is a difference then the (Exact and Secure) procedure ALWAYS overwrites the current local XXX_PC.Script file with the remote version.
Wrong logic. If there is difference, there is newer version on server.

There is no check by (Exact and Secure) if the local XXX_PC.Script is newer (and then skip the overwrite).
Wrong, Only new files downloaded after check.
Wrong, You can not have newer file than server.

And there is no other kind of write protection for the local XXX_PC.Script
Wrong logic, you do not follow instructions, Personal plugins are under \MyPlugins_Direct\ folders .

Update (Exact and Secure) only updates Project folders.

As a result, There no need of any kind of write protection for the local XXX plugin.


**
Procedure is simple:

As Default:
Plugin with BlexactServer get exact copy of server on folder B)
Than plugin optionally saves plugin setting with PluginManager
Than plugin deletes Project folders
Than plugin copy B) to  Project folders
Than plugin restores plugins settings with Plugin Manager

Same things one do manually during an update of a project, only automated by a plugin.

:turtle: