Welcome to Geeklog, Anonymous Tuesday, July 15 2025 @ 03:55 am EDT
Geeklog Forums
Plugin Repository Development Thread
Page navigation
Status: offline
Forum User
Full Member
Registered: 08/04/03
Posts: 1298
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
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

45
41
Quote
Status: offline
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Quote by: cordiste
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?Hello Joe,
I was thinking to new users (geeklog 1.6 and higher) who need to downgrade (I never needed this feature ) 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
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.
34
37
Quote
Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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
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
37
32
Quote
Status: offline
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Yes, just manual and automatic possibilities for the plugin manager will be enough. It was just to take care about another point of view 
Thanks for this little brainstorm
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

Thanks for this little brainstorm

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
39
39
Quote
Status: offline
Forum User
Full Member
Registered: 12/29/04
Posts: 555
I think I've got it.
Solved.
Oh wait that makes too much sense.
-s
- 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
38
35
Quote
Status: offline
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
31
37
Quote
Page navigation
All times are EDT. The time is now 03:55 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content