Remove obsolete/broken timeline feature

[?]
Nov 6, 2013, 2:20 PM
W3XAFDK6SOUDOUIVCQC5PGA4KMJUAGYL4UTGYAR5LRL6GZE2IA4QC

Dependencies

  • [2] LZVO64YG Merge in the first bits of the API work
  • [3] 5IK6NYKF
  • [4] U72VNKRU Remove unused file
  • [5] MOX7XJ2E Merge the BuildSchedulingInfo table into the Builds table
  • [6] 2BUX775I * More release -> view.
  • [7] OR5SJ42Y Show releases in a tab on the project page
  • [8] EFWN7JBV * Added a status page that shows all the currently executing build steps.
  • [9] T2232OBS * Add some DB indices to make the /releases page much faster.
  • [10] LSZLZHJY Allow users to edit their own settings
  • [11] N45RZUQ6 Reduce I/O in build listings by only fetching required columns
  • [12] G2WXEQHE Remove the Errors page
  • [13] WNQRX7QB Doh
  • [14] R6B5CAFF Let Builds.timestamp refer to the time the build was added
  • [15] PPJN6SDP * paging for releases page
  • [16] TRDGNILT Remove unused file
  • [17] XJRJ4J7M Add user registration
  • [18] P5X4P6VK * Renaming "release sets" to "views" (not finished yet). Having
  • [19] OX6NYJDV Split viewing and editing a jobset
  • [20] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [21] 3PNG7NIB Remove trailing whitespace
  • [22] JOVVHIJX Remove all entry points to modify machines
  • [23] ZB3JV52W Add a "My jobsets" tab to the dashboard
  • [24] QMPX3JDF * hydra: show queue optimization
  • [25] RSEGBU6C Hydra/20: Jobset clone feature
  • [26] 6KIJX24R Get rid of unnecessary [%- and -%] tags
  • [27] ZNFDFJHG * Provide a redirect to the latest successful release in a release set
  • [28] D5QIOJGP * Move everything up one directory.
  • [29] FHF6IZJQ * Basic release management: releases are now dynamically computed as
  • [30] HPEG2RHV Merge the BuildResultInfo table into the Builds table
  • [31] 5NO7NCKT * Refactoring.
  • [32] PZL3SZM3 Give every page a consistent title
  • [33] IN272KZW * Automatically keep all builds in the latest successful release in
  • [34] 5DSDXORD hydra: missing plain.tt
  • [35] HZWUT4YN Allow users to reproduce builds on their own systems
  • [36] FV2M6MOT hydra: use autoconf/-make
  • [37] SZYDW2DG hydra: added some user admin
  • [38] 64IV56HI Replace bootstrap tarball
  • [39] 6FRLEP4P first try for timeline of last 24 hours in hydra
  • [40] LFVXESGI Remove already disabled jobstatus code
  • [41] ZFEN2MAO Simplify jobset cloning
  • [42] JARRBLZD Bootstrapify the Hydra forms (except the project and jobset edit pages)
  • [43] KSBB33RE Add a dashboard
  • [44] JFZNAYJX * Showing releases.
  • [45] KXGOUX7P * Creating releases.
  • [46] KKJNJHO5 Update bootstrap to 2.0.3
  • [47] 3JBUMW3E forgot to commit a file
  • [48] GRVVUPQH * hydra: wider timeline
  • [49] JLDUSNUO * Unify rendering of finished and scheduled builds.
  • [50] R2PON6R7 Allow non-admin users to see the machine status page
  • [51] XDDCO6CH * hydra: add dependency list with links to logfiles
  • [52] WDKFN4B2 Make sign in a modal dialog box rather than a separate page
  • [53] 6KJXJB7N qualify ordery_by clauses when necessary, remove unnecessary order_by's, reported by Ludo, resulted in errors in sqlite
  • [54] RBNQKATL * Adding persistant releases. A release is a named set of builds.
  • [55] AWZPRK2O first try for timeline of last 24 hours in hydra
  • [56] ZWCTAZGL added newsitems, added some admin options to clear various caches.
  • [57] SMTMFEKE hydra: add missing templates
  • [58] C3AG65SW Add one-shot jobsets
  • [59] EYNG4EL4 * Regenerate the bindings from a clean sqlite database.
  • [60] UICHT2PS Add a search feature
  • [61] A52HEFHQ * Allow builds to be restarted (if they failed with a transient error,
  • [62] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website
  • [63] J3RYO2CU Remove the jobs status page
  • [64] AK2UZDS2 Jobset page: Add a new tab to show job status in a matrix
  • [65] D7X6XTKQ Integrate the "Job status" and "All jobs" tabs
  • [66] QTC3SYBM Jobset page: Load the jobs and status tabs on demand
  • [67] UWVMQIAC * Refactoring.
  • [68] JY7BXXOP Split viewing and editing a project
  • [69] VG4QG336 Remove tablesorter
  • [70] 75XUS62Y * Added a page to quickly see all failed builds and failed evaluations
  • [71] 36M6DGIT Show the runtime/build dependencies in the build page
  • [72] AS2OXLRM * Editing releases.
  • [73] WRIU3S5E * UI for cloning builds (not functional yet).
  • [74] NEQ4BISO Add bootstrap.zip
  • [75] VH5ZABDR Add a page to show the latest evaluations for the entire server
  • [76] VCG6KNUX Remove the "clone build" feature
  • [77] SHIENRAL Clean up root controller
  • [78] U4TD3AIQ Add support for viewing jobset evaluations
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • edit in src/lib/Hydra/Controller/Root.pm at line 76
    [3.250][3.2120:2122](),[3.593][3.2120:2122](),[3.609][3.2120:2122](),[2.22254][3.2120:2122](),[3.2120][3.2120:2122](),[3.2122][3.375:376](),[3.376][3.545:546](),[3.1211][3.545:546](),[3.545][3.545:546](),[3.546][3.0:47](),[3.47][3.0:22](),[3.22][3.495:524](),[3.524][3.52:82](),[3.52][3.52:82](),[3.82][3.729:730](),[3.120][3.729:730](),[3.199][3.729:730](),[3.1000][3.729:730](),[3.729][3.729:730](),[3.730][3.121:164](),[3.164][3.4194:4311](),[3.4311][3.2254:2294](),[3.2294][3.4352:4365](),[3.4352][3.4352:4365]()
    }
    sub timeline :Local {
    my ($self, $c) = @_;
    my $pit = time();
    $c->stash->{pit} = $pit;
    $pit = $pit-(24*60*60)-1;
    $c->stash->{template} = 'timeline.tt';
    $c->stash->{builds} = [ $c->model('DB::Builds')->search
    ( { finished => 1, stoptime => { '>' => $pit } }
    , { order_by => ["starttime"] }
    ) ];
  • file deletion: timeline.tt (----------)
    [3.1486][3.2561:2596](),[3.2596][3.560:560]()
    [% USE date %]
    [% WRAPPER layout.tt title="Timeline" %]
    [% PROCESS common.tt %]
    <script type="text/javascript">
    Timeline_urlPrefix="http://simile.mit.edu/timeline/api/";
    </script>
    <script src="http://simile.mit.edu/timeline/api/timeline-api.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function() {
    doItNow()
    });
    var tl;
    function doItNow() {
    var eventSource = new Timeline.DefaultEventSource();
    var bandInfos = [
    Timeline.createBandInfo({
    eventSource: eventSource,
    width: "100%",
    intervalUnit: Timeline.DateTime.HOUR,
    intervalPixels: 200
    })
    ];
    tl = Timeline.create(document.getElementById("my-timeline"), bandInfos);
    var centerd = Timeline.DateTime.parseIso8601DateTime("[% date.format(pit, '%Y-%m-%dT%H:%M:%S') %]");
    tl.getBand(0).setCenterVisibleDate( centerd );
    var event_data =
    { "dateTimeFormat": "iso8601", "events":[
    { "start": "[% date.format(pit, '%Y-%m-%dT%H:%M:%S') %]",
    "end": "[% date.format(pit, '%Y-%m-%dT%H:%M:%S') %]",
    "title": "Now"
    }
    [% FOREACH build IN builds %]
    , { "start": "[% date.format(build.get_column("starttime"), '%Y-%m-%dT%H:%M:%S') %]",
    "end": "[% date.format(build.get_column("stoptime"), '%Y-%m-%dT%H:%M:%S') %]",
    "isDuration": "true",
    "title": "[% build.id %]",
    "link": "[% c.uri_for('/build' build.id) %]",
    "color": "[% IF build.get_column("buildstatus") == 0 %]green[%ELSE%]red[% END%]"
    }
    [% END %]
    ]};
    eventSource.loadJSON(event_data, document.location.href);
    }
    </script>
    <div id="my-timeline" style="height: 700px; width: 100%;border: 1px solid #aaa"></div>
    <noscript>
    This page uses Javascript to show you a Timeline. Please enable Javascript in your browser to see the full page. Thank you.
    </noscript>
    [% END %]