Administration of different s9y installations

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
ads
Regular
Posts: 93
Joined: Sun Oct 29, 2006 11:39 am

Administration of different s9y installations

Post by ads »

Hello,

with the time i got more s9y installations which i have to look after. They are on different hosts and are used by different ppl. Now it is burdening to check each blog from time to time if there are plugin or theme updates available.

Is there a way to fetch the plugin update status for a blog from remote ... without writing a script to login and parse the result output?


Thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Administration of different s9y installations

Post by garvinhicking »

Hi!

Hm,nice idea. Hasn't come up yet. It would be possible to alter the spartacus plugin to get its unique "check URL" that tells you about version changes, I'm sure. Could be coded in an hour or two...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ads
Regular
Posts: 93
Joined: Sun Oct 29, 2006 11:39 am

Post by ads »

Nice would be something like:

GET http://my.blog/s9y/update_status.php

resulting in:

pluginname1: OK
pluginname2: OK
pluginname3: UPDATE
pluginname4: OLD

Where OLD means: no longer supported.
Such an output (more or less) would be easibly parseable by a cron script (i'm willing to write this one) to inform the admin about updates.

Don't know, if anyone knows Debian's cron-apt? Something like this.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Check the updated spartacus plugin:

http://svn.berlios.de/viewcvs/serendipi ... iew=markup

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ads
Regular
Posts: 93
Joined: Sun Oct 29, 2006 11:39 am

Post by ads »

I'm not entirely sure, how i should access the new functionality.
Can you give me an example please? Thanks
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

First, you need to update your spartacus plugin with that new file (also check out the lang_en.inc.php file in the same directory, by manipulating that ViewSVN link).

Then configure the spartacus plugin on the plugin you uploaded the file to. There are two new options, first you need to enable the remote admin logging, and second you need to enter a secret key for it.

Then you call the URL that is mentioned in the description of the first of the two new options.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ads
Regular
Posts: 93
Joined: Sun Oct 29, 2006 11:39 am

Post by ads »

Works fine for me (at least, the OK status), will see, if it works, if there are some updates available.

I promised a script to run as example from cron. You can find a first version at:

http://base.wars-nicht.de/projects/sere ... spartacus/

Explanation is in the .php file, i also created a sample config file.


Let me know, if you have more ideas.
ads
Regular
Posts: 93
Joined: Sun Oct 29, 2006 11:39 am

Post by ads »

It took some time but there aren't any updates since i installed the modified plugin version.

Last night my blog finally hit an UPGRADE for serendipity_event_linklist version 1.97.

So it seems, the extension is working.
ads
Regular
Posts: 93
Joined: Sun Oct 29, 2006 11:39 am

Post by ads »

I updated the software and wrote an explanation:

Manage Serendipity installations with Spartacus
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Thanks for the documentation!

I really believe that this kind of enhancement -- what real people need in the real world -- is what makes s9y such a wonderful blog engine.
Judebert
---
Website | Wishlist | PayPal
Post Reply