/[drupal]/contributions/modules/hosting/task.hosting.inc
ViewVC logotype

Log of /contributions/modules/hosting/task.hosting.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 24 05:54:15 2009 UTC (4 weeks, 6 days ago) by anarcat
Branch: MAIN
CVS Tags: DRUPAL-6--0-4-ALPHA3, HEAD
Changes since 1.14: +6 -0 lines
Diff to previous 1.14
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.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 24 02:54:54 2009 UTC (4 weeks, 6 days ago) by anarcat
Branch: MAIN
Changes since 1.13: +0 -10 lines
Diff to previous 1.13
#593536 - remove the task from the queue earlier

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 9 15:53:07 2009 UTC (7 weeks ago) by anarcat
Branch: MAIN
Changes since 1.12: +1 -3 lines
Diff to previous 1.12
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.12 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 9 15:49:37 2009 UTC (7 weeks ago) by anarcat
Branch: MAIN
Changes since 1.11: +1 -0 lines
Diff to previous 1.11
add 'delta' field to tasks so we know how much time they took

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 9 15:49:05 2009 UTC (7 weeks ago) by anarcat
Branch: MAIN
Changes since 1.10: +4 -5 lines
Diff to previous 1.10
do not create a new revision when removing the task from the queue
print related notice at the proper time

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 20 21:24:28 2009 UTC (6 months, 1 week ago) by adrian
Branch: MAIN
CVS Tags: DRUPAL-5--0-2, DRUPAL-6--0-2-BETA1, DRUPAL-6--0-3, DRUPAL-6--0-3-RC1, DRUPAL-6--0-3-RC2, DRUPAL-6--0-3-RC3, DRUPAL-6--0-3-RC4, DRUPAL-6--0-4-ALPHA1, DRUPAL-6--0-4-ALPHA2
Branch point for: DRUPAL-5
Changes since 1.9: +4 -0 lines
Diff to previous 1.9
Tweak task statuses a bit so they do not show error while they are being processed still

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 20 20:59:19 2009 UTC (6 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.8: +4 -1 lines
Diff to previous 1.8
#434772 - update hosting to expect 0 on success of drush command

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 18 01:56:12 2009 UTC (6 months, 1 week ago) by adrian
Branch: MAIN
CVS Tags: DRUPAL-5--0-2-RC1
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
Typo

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 18 01:52:17 2009 UTC (6 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.6: +2 -0 lines
Diff to previous 1.6
#461808 - roll back db_rewrite_sql addition on queries with no user interaction

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 7 22:04:10 2009 UTC (6 months, 3 weeks ago) by adrian
Branch: MAIN
CVS Tags: DRUPAL-5--0-2-BETA1
Changes since 1.5: +8 -6 lines
Diff to previous 1.5
#456622 - ensure that drush_invoke operates in a clean namespace and does not mistake drupal hooks as its own. Check the issue for the conversion script.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 4 15:56:12 2009 UTC (6 months, 3 weeks ago) by adrian
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4
Added a --debug to switch between post and get in the hosting task. Removed some cruft from hosting.module and fixed the broken hosting clients block, which was causing weird non existent blocks to show up in the block listing

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 17 19:57:43 2009 UTC (7 months, 1 week ago) by adrian
Branch: MAIN
CVS Tags: DRUPAL-5--0-2-ALPHA1
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
Fix some errors on import, and a race condition on site verification

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 16 23:59:50 2009 UTC (7 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
Fix some minor site status issues, accidental triggering of verify tasks and add in pages for site disabled and site maintained redirects

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 16 01:46:51 2009 UTC (7 months, 1 week ago) by adrian
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1
Some small fixes to the hosting queue. and start the long trek of fixing up dns_server

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 7 00:29:52 2009 UTC (7 months, 3 weeks ago) by adrian
Branch: MAIN
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

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2