From 6079233a07374e6a9f96ec57d5db6016e8939e1d Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 15 Aug 2015 19:13:49 -0400 Subject: Add Makefile and remove the scripts directory --- scripts/create-sample-lead-time.php | 70 ------------------------------------- 1 file changed, 70 deletions(-) delete mode 100755 scripts/create-sample-lead-time.php (limited to 'scripts/create-sample-lead-time.php') diff --git a/scripts/create-sample-lead-time.php b/scripts/create-sample-lead-time.php deleted file mode 100755 index d4d82006..00000000 --- a/scripts/create-sample-lead-time.php +++ /dev/null @@ -1,70 +0,0 @@ -#!/usr/bin/env php -create(array('name' => 'Test Lead/Cycle time')); - -$container['db']->table('tasks')->insert(array( - 'title' => 'Lead time = 4d | Cycle time = 3d', - 'date_creation' => strtotime('-7 days'), - 'date_started' => strtotime('-6 days'), - 'date_completed' => strtotime('-3 days'), - 'is_active' => 0, - 'project_id' => 1, - 'column_id' => 1, -)); - -$container['db']->table('tasks')->insert(array( - 'title' => 'Lead time = 1d | Cycle time = 1d', - 'date_creation' => strtotime('-7 days'), - 'date_started' => strtotime('-7 days'), - 'date_completed' => strtotime('-6 days'), - 'is_active' => 0, - 'project_id' => 1, - 'column_id' => 1, -)); - -$pds->updateTotals(1, date('Y-m-d', strtotime('-6 days'))); - -$container['db']->table('tasks')->insert(array( - 'title' => 'Lead time = 7d | Cycle time = 5d', - 'date_creation' => strtotime('-7 days'), - 'date_started' => strtotime('-5 days'), - 'date_completed' => strtotime('today'), - 'is_active' => 0, - 'project_id' => 1, - 'column_id' => 1, -)); - -$pds->updateTotals(1, date('Y-m-d', strtotime('-5 days'))); - -$container['db']->table('tasks')->insert(array( - 'title' => 'Lead time = 1d | Cycle time = 0', - 'date_creation' => strtotime('-3 days'), - 'date_started' => 0, - 'date_completed' => 0, - 'is_active' => 0, - 'project_id' => 1, - 'column_id' => 1, -)); - -$pds->updateTotals(1, date('Y-m-d', strtotime('-4 days'))); - -$container['db']->table('tasks')->insert(array( - 'title' => 'Lead time = 1d | Cycle time = 1d', - 'date_creation' => strtotime('-3 days'), - 'date_started' => strtotime('-3 days'), - 'date_completed' => 0, - 'is_active' => 0, - 'project_id' => 1, - 'column_id' => 1, -)); - -$pds->updateTotals(1, date('Y-m-d', strtotime('-3 days'))); -- cgit v1.2.3