Skip to main content.

Thursday, August 12, 2004

Yet another addition in CVS: when on the admin area as a super-admin, the Nucleus version number in the top-right corner is now clickable, and points to a version check page.

Comments

Nice feature, are you planning on doing any kind of tracking with this.

Posted by hcgtv at Thursday, August 12, 2004 16:22:57

Hey i wanted to code something like this /inside/ the admin area :-). Thus with some sort of xml-rpc mechanism that would automatically check every 24 hours or so and then show a mesage /inside/ the admin area when a new version is available

Some background: For me this is rather complicated to program, i'm just a beginner, but i got this idea when i started thinking about the Plugin Upgrades (which i'm going to implement once i feel ready for it, and have the time, first want to learn the core a bit (well lot) more).
Admun then got the idea to make a feature to automatically update plugins from inside the admin area. I'm thinking about implementing this after i have done the plugin upgrade-methods. If i start with implementing this, i would start with a simple Nucleus-version-checker, because that would use the same techniques

Posted by TeRanEX at Thursday, August 12, 2004 20:12:16

@TeRanEX: Sorry, didn't know about that :)

I got the idea for this version check from FeedDemon, which has something similar.

One thought about automatic update checking: couldn't this be done as a plugin? I guess it doesn't need much interaction with the core (only needs to fetch the version numbers of core/plugins + a hook to output version warnings on). I can also imagine not everyone wants auto-update-checks enabled (e.g. if they're using Nucleus on an intranet).

Posted by karma at Thursday, August 12, 2004 20:22:16

yeah..... I have some crazy idea from time to time. 8)

see here http://dev.nucleuscms.org/d...

BTW, radek is planning a similar feature for Bcms 3.3, as he claimed......

Posted by admun at Thursday, August 12, 2004 21:24:38

karma,

I think you are right, the pluaing auto update check function should be able to implemnet as a plugin.

The complicated part is the server side, the infrastructure and maintainence, IMHO.

Posted by admun at Thursday, August 12, 2004 21:31:09

Indeed, it could be done using a plugin. But my "order of ideas" was different: I first thought: hey i want to try to implement making it possible to automatically update plugins. _After_ that i thought: hey that could also be used for Nucleus Core :d So once we have the infrastructure to check and update plugins, why not use it for the core itself? ofcourse it should be possible to dissable this feature.

Posted by TeRanEX at Thursday, August 12, 2004 22:40:44

There are two things here:

1. check if a newer version of a plugin/core is available
2. automatically install that new version

The second parts scares me a bit. I know I wouldn't trust it :) It would also require write access to the nucleus directories.

Anyway, both could be done using a plugin, in my eyes. Even for the core. Uninstalling or not having it installed would mean the feature is disabled.

Posted by karma at Friday, August 13, 2004 09:42:00

ah but i would only automatically install new versions of plugins. Installing a new Nucleus version would indeed be too risky. It certainly could be done as a plugin but wouldn't this be a nice feature for the core? (if not i'll try writing it as a plugin)
(could you maybe open your blog for registration, so that we don't have to type the captcha's everytime? ;-) )

Posted by TeRanEX at Sunday, August 15, 2004 21:19:43

@teranex: I think what you are trying to say is: "I'ld like it in the core, so the update mechanism will be present and on by default in each nucleus installation"

I still believe the best place to put the upgrade checking functionality in is a plugin. We might want to "ship" it together with Nucleus by default, or recommend it as a must-have. I just don't see any advantage of having it in the core, or technical reasons to do so.

Posted by karma at Monday, August 16, 2004 18:39:55

As for site registration, try http://karma.nucleuscms.org...

Posted by karma at Monday, August 16, 2004 18:41:04

> "I'ld like it in the core, so the update
> mechanism will be present and on by
> default in each nucleus installation"

Indeed, but if you don't like it, i'll make a plug for it :-)

> As for site registration
THX!

*update*: see http://dev.budts.be/item/49 ;-)

Posted by TeRanEX at Tuesday, August 17, 2004 00:02:46

Add Comment

This item is closed, it's not possible to add new comments to it or to vote on it