Topics

User Functions

Events

There are no upcoming events

What's New

Stories

1 new Stories in the last 2 weeks

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Saturday, May 25 2013 @ 09:58 AM EDT


 Forum Index > Development & Coding > Geeklog New Topic Post Reply
 Plugin Repository Development Thread
First | Previous | 1 2 | Next | Last
   
1000ideen
 05/18/09 12:39PM  
+++++
Full Member

Status: offline


Registered: 08/04/03
Posts: 1273
Hm, that`s an interesting point a little bit like the WindowsXP recovery points or so. I remember that fantasctico also offers updates of the auto installed software and makes a backup of at least the MySQL in a safe place.

So the repository would make a backup of MySQL and also plugin files if an old version existed before. Does not sound too difficult, does it?

Yes, I like the idea, could have been mine Exclaimation

 
Profile Email Website
 Quote
jmucchiello
 05/18/09 12:56PM  
+++++
Full Member

Status: offline


Registered: 08/29/05
Posts: 985
Quote by: cordiste

Hello Joe,

I was thinking to new users (geeklog 1.6 and higher) who need to downgrade (I never needed this feature Smile ) and he do not known nothing about manual upgrade or downgrade.

But after all, maybe the plugin manager can downgrade a plugin with the upgrade function if we choose an older version?

::Ben

The problem is the plugin writes all the code to do upgrades. You aren't going to find a plugin author who is going to spend time writing downgrade functions. For one thing they are guaranteed to be buggy because it is not something you'll be testing very often or very rigorously. Again, this is not something simple for the repository/upgrade code to handle. How would it store a snapshot of the system before the upgrade? Some plugin upgrades involve row level changes to entire tables. How do you reverse that? What if a field is dropped? What could be done to recreate the data in the dropped field?

All I'm saying is this is not going to be a problem 99% of the time. I don't think finding an automated solution for this is proportional to the amount of usage it would see. When those post-1.6 only users have this kind of problem, they will have to learn about Geeklog under the hood.

 
Profile Email
 Quote
Dirk
 05/18/09 01:58PM  
AAAAA
Admin

Status: online


Registered: 01/12/02
Posts: 13027
I guess if Geeklog knew the tables belonging to a plugin, it could make a backup of those somehow and then offer a rollback if needed.

It would require some cooperation from the plugin and would probably be a lot of work for what is - I hope - a rare use case. And it's certainly outside of the scope of the Plugin Repository project.

bye, Dirk

 
Profile Email Website
 Quote
::Ben
 05/18/09 02:52PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1359
Yes, just manual and automatic possibilities for the plugin manager will be enough. It was just to take care about another point of view Wink

Thanks for this little brainstorm Smile

We could start another post to build a plugins list we would like to include in the main geeklog repository or maybe start a new wiki page. With this list we could see if some plugins need some upgrade to be repository ready and start to maintain some very old but usefull ones.

::Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
suprsidr
 05/18/09 04:40PM  
+++++
Full Member

Status: offline


Registered: 12/29/04
Posts: 552
I think I've got it.
  • Backup your database
  • Install/upgrade your cool plugin
  • If you don't like it, restore your DB backup and re-upload the old version

Solved.

Oh wait that makes too much sense.

-s

FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 
Profile Email Website
 Quote
::Ben
 05/18/09 06:17PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1359
A plugins list is now in the wiki.

::Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
First | Previous | 1 2 | Next | Last
Content generated in: 0.79 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content