Cleanup Jobset serialization

[?]
Oct 24, 2013, 3:01 PM
YI3BZG5NWMKBT7T2HEOHVHSZBQ5KPDWSI3VRYOMQ346LRFB4MR2AC

Dependencies

  • [2] 7ECJWNVX Cleanup Project model
  • [3] LZVO64YG Merge in the first bits of the API work
  • [4] SYLVCTT6 Start api cleanup with the User model
  • [5] KYSBJAYN Allow dashes in jobset input names
  • [*] X27GNHDV * Basic job info in the database.
  • [*] KSBB33RE Add a dashboard

Change contents

  • edit in src/lib/Hydra/Schema/Jobsets.pm at line 310
    [8.2105]
    [8.2105]
    my %hint = (
    relations => {
    jobsetinputs => "name"
    }
    );
  • edit in src/lib/Hydra/Schema/Jobsets.pm at line 317
    [8.2106]
    [7.3226]
    sub json_hint {
    return \%hint;
    }
  • replacement in tests/api-test.pl at line 3
    [3.36481][2.445:474]()
    use Test::Simple tests => 7;
    [3.36481]
    [3.2064]
    use Test::Simple tests => 9;
  • edit in tests/api-test.pl at line 41
    [3.37908][2.475:491]()
    =begin comment
  • replacement in tests/api-test.pl at line 46
    [3.38310][3.527:620]()
    ok($jobset->{jobsetinputs}->[0]->{name} eq "my-src", "The new jobset has a 'my-src' input");
    [3.38310]
    [3.620]
    ok($jobset->{jobsetinputs}->[0] eq "my-src", "The new jobset has a 'my-src' input");
    =begin comment