Log of /contributions/modules/hosting/hosting.queues.inc
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.55 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 24 05:54:15 2009 UTC
(5 weeks, 1 day ago)
by
anarcat
Branch:
MAIN
Changes since
1.54: +0 -2 lines
Diff to
previous 1.54
mark the task as processing even if called directly
the previous patch here assumed wrongly that tasks were always called through the dispatch
Revision
1.53 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 9 15:53:07 2009 UTC
(7 weeks, 1 day ago)
by
anarcat
Branch:
MAIN
Changes since
1.52: +1 -1 lines
Diff to
previous 1.52
API: drop the redundant hosting_task_queue table
the table was reproducing the status field from hosting_task and was
making it difficult to reliably manipulate the status of a task.
all instances of $node->queued should now be replaced by
$node->task_status == HOSTING_TASK_QUEUED
all uses of the timestamp in the hosting_task_queue table should instead
use the task node changed field
queries that used the hosting_task_queue table for listing pending queue
should instead look directly in the hosting_task table and look for
HOSTING_TASK_QUEUED status, be sure to join with the node table to avoid
duplicate entries due to revisions
we also introduce a HOSTING_TASK_PROCESSING status for tasks since the
queue "locking" (ie. not starting two tasks at a time) was relying on
the duplicate information
Revision
1.49 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu May 28 05:54:42 2009 UTC
(6 months ago)
by
adrian
Branch:
MAIN
CVS Tags:
DRUPAL-6--0-2-BETA1
Changes since
1.48: +1 -1 lines
Diff to
previous 1.48
#319277 - some more bug fixes. primarily the site create form now withs, with the fixed javascript. And some other things i cant recall right now. Id say it is now > 90% of the way done.
Revision
1.47 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Apr 7 00:29:51 2009 UTC
(7 months, 3 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.46: +0 -72 lines
Diff to
previous 1.46
Refactor hosting task command to use the drush_invoke api, and take advantage of the custom logging callback. Significantly cleaned up the hosting task command through this
Revision
1.42 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Apr 1 13:25:44 2009 UTC
(7 months, 4 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.41: +12 -36 lines
Diff to
previous 1.41
Several changes relating to queue handling (all tasks are executed in their own process using the new drush_backend_fork(). Fixed the fracas was task vs task_queue statuses. needs HEAD of drush fr that function. Fix a small bug in the edit queue frequence setting page where number of items per execution got wiped out.
Revision
1.34 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 17 15:46:42 2009 UTC
(9 months, 1 week ago)
by
adrian
Branch:
MAIN
Changes since
1.33: +5 -111 lines
Diff to
previous 1.33
First commit towards 0.2 front end.
1. Added the drush_path to the web server node type. Also added hook_update for it.
2. Changed command line generation to point at the drush path.
3. Added the code needed to call remote sites. Hosting can now manage sites on multiple server. (this is working, but not fully tested and will remain an experimental feature until 0.3).
4. Started excising provision from hosting. This is not completely done yet.
It is important to note that NEW INSTALLS with hostmaster are completely broken, you need to install 0.1 completely, and then replace hosting with this checkout, physically remove the drush, provision and cvs_deploy modules from the hostmaster directory, and then run update.php
You will need to then remove the symlink to drush.php in the root directory, and configure the drush_path to the drush 2.x drush.php location. Provision 0.2 will need to be installed in ~/.drush
HEAD might be broken after this, but it's a start towards 0.2
Revision
1.33 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Dec 11 05:13:04 2008 UTC
(11 months, 2 weeks ago)
by
adrian
Branch:
MAIN
CVS Tags:
DRUPAL-5--0-1,
DRUPAL-5--0-1-RC1
Changes since
1.32: +6 -4 lines
Diff to
previous 1.32
#343428 - move to proc_open, instead of exec, which makes the serialization parsing rock solid. Also, we can now pass an optional array to the calling script, which will allow us to not pass sensitive information over the command line
Revision
1.32 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Dec 3 00:14:29 2008 UTC
(11 months, 3 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.31: +11 -0 lines
Diff to
previous 1.31
Move the --backend to the end of the command for easier copying, and initialize $return and $code variables to fix logging problem
Revision
1.28 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Nov 28 02:38:31 2008 UTC
(12 months ago)
by
adrian
Branch:
MAIN
Changes since
1.27: +3 -0 lines
Diff to
previous 1.27
Upon a site install that fails with the error PROVISION_SITE_INSTALLED, it generates an import command which then successfully gets most sites, and turns them usable. This introduces the new hook_hosting_failed_task, which allows you to do some damage control
Revision
1.27 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Nov 24 18:40:21 2008 UTC
(12 months ago)
by
adrian
Branch:
MAIN
Changes since
1.26: +4 -4 lines
Diff to
previous 1.26
Platform verification now creates incomplete site nodes for each site to be imported, and then creates import tasks for each site
Revision
1.24 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Nov 6 19:09:10 2008 UTC
(12 months, 3 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.23: +6 -1 lines
Diff to
previous 1.23
Updated hosting_cron and hosting_stats modules to make sure they do not have any major issues before release
Revision
1.23 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Oct 30 15:16:18 2008 UTC
(12 months, 4 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.22: +0 -1 lines
Diff to
previous 1.22
Create a domain_exists hook to plug in all kinds of checks against domains, to allow for hosting alias module
Revision
1.22 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Oct 30 12:41:17 2008 UTC
(12 months, 4 weeks ago)
by
adrian
Branch:
MAIN
Changes since
1.21: +13 -0 lines
Diff to
previous 1.21
Retry button, and some changes to the node view layout of sites / tasks to allow modules to plug in extra fields into the info block
Revision
1.21 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 28 22:49:58 2008 UTC
(13 months ago)
by
adrian
Branch:
MAIN
Changes since
1.20: +2 -1 lines
Diff to
previous 1.20
Somehow removed the filter_xss from the clean_output function, adding it back in. Missed an occurrence of hosting_generate_command when i changed the parameter order. #327355
Revision
1.20 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 27 20:49:45 2008 UTC
(13 months ago)
by
adrian
Branch:
MAIN
Changes since
1.19: +19 -51 lines
Diff to
previous 1.19
Redid the map_values hook to allow contrib modules to add fields to the comman line. it is now called hook_provision_args
Revision
1.15 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 20 16:56:24 2008 UTC
(13 months, 1 week ago)
by
adrian
Branch:
MAIN
Changes since
1.14: +18 -7 lines
Diff to
previous 1.14
#321942 (primarily) - now generates a synch command when new platforms are created, to synch the settings to the back end.
Revision
1.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Oct 16 22:13:55 2008 UTC
(13 months, 1 week ago)
by
adrian
Branch:
MAIN
Changes since
1.12: +2 -2 lines
Diff to
previous 1.12
#321940 - remove --uri from drush.php calls. since it will always be the default site now, no longer need to specify
Revision
1.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 27 05:12:10 2008 UTC
(17 months ago)
by
adrian
Branch:
MAIN
Changes since
1.9: +15 -10 lines
Diff to
previous 1.9
Made the hosting setup command responsible for a few more things, no actually runs dispatch itself to make sure it's working, before creating the cron entry. Lowered the frequency on the tasks queue to make wizard quicker. Cleaned up the hosting task log screen, so that usable output is gotten when drupal just returns a database connection error or similar
Revision
1.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jun 23 22:31:49 2008 UTC
(17 months ago)
by
adrian
Branch:
MAIN
Changes since
1.7: +15 -6 lines
Diff to
previous 1.7
Add a hosting setup drush command which configures the cron entry for the dispatcher. Needed to finish the wizard properly for release
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 20 21:33:11 2008 UTC
(17 months, 1 week ago)
by
adrian
Branch:
MAIN
Changes since
1.5: +13 -6 lines
Diff to
previous 1.5
Changed how dates are displayed in most views, and wrote a small handler to show the offset between when a task was created and when it was completed
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 20 17:56:36 2008 UTC
(17 months, 1 week ago)
by
anarcat
Branch:
MAIN
Changes since
1.3: +0 -4 lines
Diff to
previous 1.3
don't stop processing the queue on task failure. we assume tasks are intelligent enough to manage dependencies by themselves. Should close #273007
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 20 17:53:55 2008 UTC
(17 months, 1 week ago)
by
anarcat
Branch:
MAIN
Changes since
1.2: +2 -2 lines
Diff to
previous 1.2
set the last_run and running parameters for queues to exactly the same timestamp, regardless of the time variable_set() takes to run
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 20 16:07:20 2008 UTC
(17 months, 1 week ago)
by
adrian
Branch:
MAIN
Centralized all command generation in hosting, making sure everything is run through escapeshellcmd and escapeshellarg.
Introduces hosting dispatch and hosting_queues hook, which allows you to create new queues that will be managed by hosting, by defining a hook
and a simple function.
Updated hosting_stats and hosting_cron to be (more) current, and implement the queue api.
Incomplete queue configuration form, that allows you to set the frequency that events occur at. Supports configuration of both batch and serial queues.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.