Automatic update of ACE2 addons / cronjob / Question

Support and feedback for UniAdmin

Automatic update of ACE2 addons / cronjob / Question

Postby MattM » Sat Dec 01, 2007 1:25 pm

want me to open read access for anon users for the ua repo?
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Automatic update of ACE2 addons / cronjob / Question

Postby zanix » Sat Dec 01, 2007 7:13 pm

I already did, a few hours ago
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Automatic update of ACE2 addons / cronjob / Question

Postby MattM » Sun Dec 02, 2007 3:15 am

awesome, ill start making stubs for the higher layers of this auto update idea
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Automatic update of ACE2 addons / cronjob / Question

Postby lunzet » Sun Dec 02, 2007 3:57 am

Can you already shed some light on how it will work? Can it be scheduled for automatic updates? or do I need to run my cronjob, retrieve the new files and then UA will detect those as new and calculate the MD5?

Thanks
User avatar
lunzet
WR.net Journeyman
WR.net Journeyman
 
Posts: 119
Joined: Sat Jan 13, 2007 1:23 pm

Automatic update of ACE2 addons / cronjob / Question

Postby MattM » Sun Dec 02, 2007 11:29 am

since http is asynchronous (server cant act on its own without a request from an http client) it will need something like cron or task scheduler, chances are the admin user/pass will be sent to a special URL
Last edited by MattM on Sun Dec 02, 2007 11:29 am, edited 1 time in total.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Automatic update of ACE2 addons / cronjob / Question

Postby lunzet » Sun Dec 02, 2007 7:22 pm

That sounds very nice to me. Looking forward to get more info ....
User avatar
lunzet
WR.net Journeyman
WR.net Journeyman
 
Posts: 119
Joined: Sat Jan 13, 2007 1:23 pm

Automatic update of ACE2 addons / cronjob / Question

Postby benv666 » Mon Dec 03, 2007 5:10 pm

Nice to see this being worked on.
If I can be of use testing this stuff, let me know :)
benv666
WR.net Apprentice
WR.net Apprentice
 
Posts: 42
Joined: Wed May 09, 2007 5:04 pm
Location: The Netherlands

Re: Automatic update of ACE2 addons / cronjob / Question

Postby MattM » Tue Dec 04, 2007 2:14 am

zanix wrote:PleegWat and I are kicking around ideas on the IRC chat room


What ideas did you guys have?
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Automatic update of ACE2 addons / cronjob / Question

Postby zanix » Tue Dec 04, 2007 2:19 am

Not many to be honest
He said after roster 2.0 final is done, he'll help out on uniadmin
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Automatic update of ACE2 addons / cronjob / Question

Postby lunzet » Thu Dec 06, 2007 3:16 am

Any guess when Roster 2 will be final?
User avatar
lunzet
WR.net Journeyman
WR.net Journeyman
 
Posts: 119
Joined: Sat Jan 13, 2007 1:23 pm

Automatic update of ACE2 addons / cronjob / Question

Postby zanix » Thu Dec 06, 2007 3:58 am

When it's ready
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Automatic update of ACE2 addons / cronjob / Question

Postby tuigii » Thu Dec 06, 2007 4:33 am

MattM wrote:since http is asynchronous (server cant act on its own without a request from an http client) it will need something like cron or task scheduler, chances are the admin user/pass will be sent to a special URL

Since a couple of weeks, some of the bigger webhosters 'over here' even offer for their low cost web hosting plans some kind of cron facilities on their server manage pages.

I'll gues that will be the one for me to use when I want to make this kind of stuff fully automatic.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Automatic update of ACE2 addons / cronjob / Question

Postby lunzet » Tue Dec 11, 2007 8:21 am

Yeah cron+wget is exactly my strategy also
User avatar
lunzet
WR.net Journeyman
WR.net Journeyman
 
Posts: 119
Joined: Sat Jan 13, 2007 1:23 pm

Re: Automatic update of ACE2 addons / cronjob / Question

Postby Exerladan » Thu Jan 24, 2008 1:44 am

Hi folks, I've worked on similar functionnalities :
- update all old wowace addons
- split "load on demand" addons (with shell script interpretation and path verification)
- preserve addons obligation while updating through wowace

This version is working, but can be improved.

For updating all wowace addons, I've used chained ajax requests, in order to stop process if user leaves the wowace page (problems in addon_temp directory if you have at the same time 2 addons updates). Another reason I use AJAX is the time limitation of a php execution.

About cron job, some providers can schedule a call to an url, so I've thinked about a script that update on wowace addon and finish by a HEAD http request (like GET method but without waiting for response body part). So it can launch another script with another time limit, etc...
Attachments
uniadmin-patch-0.79-wowace.zip
(113.03 KiB) Downloaded 390 times
Last edited by Exerladan on Thu Jan 24, 2008 2:15 am, edited 1 time in total.
Exerladan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 101
Joined: Tue Jul 25, 2006 2:47 pm

Automatic update of ACE2 addons / cronjob / Question

Postby zanix » Thu Jan 24, 2008 2:19 am

Does this patch the release version or the current svn build?
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

PreviousNext

Return to UniAdmin

Who is online

Users browsing this forum: No registered users and 0 guests

cron