* For products that are directories (like manuals), allow a default

[?]
Mar 6, 2009, 1:34 PM
D3DIBMOKXK2E65267BEEWQL4S4NSHGZBCY7YTU34JSEPZ7AKNBRQC

Dependencies

  • [2] EJSBLCLT * Dying considered harmful.
  • [3] JRU2LRPZ
  • [4] 5NO7NCKT * Refactoring.
  • [5] EYNG4EL4 * Regenerate the bindings from a clean sqlite database.
  • [6] FHF6IZJQ * Basic release management: releases are now dynamically computed as
  • [7] B72GLND4
  • [8] YAPITGB3 * Boolean inputs.
  • [9] SMM4HQTP * Put actions related to builds under /build (e.g. /log/<buildid>
  • [10] CLJQCY2X * Store info about all the build actions and allow them to be
  • [11] LBNVQXUB * Build the /build stuff in a separate controller.
  • [12] PHX2HIVG * Store info about the build inputs in the build record.
  • [13] IK53RV4V
  • [14] 7YBYT2LQ
  • [15] YTZOC7C5 * Editing of jobset inputs.
  • [16] S66BOMVU * Added authentication.
  • [17] 3ZCEPLNO
  • [18] BHZXGT2H * Channels: provide an index page that lists all the packages in the
  • [19] TWVSALRL * Allow the maximum number of concurrent builds per platform to be
  • [20] TQKGQ5R3
  • [21] KOTB7BKV
  • [22] J5UVLXOK * Start of a basic Catalyst web interface.
  • [23] JLDUSNUO * Unify rendering of finished and scheduled builds.
  • [24] TLZ2SPBR
  • [25] BVOPAMLS
  • [26] ZEHSSVFG
  • [27] MOCEUXZA * Support serving products that are directories (such as manuals or
  • [28] WYN733ST * Store build duration, handle cached builds.
  • [29] GWCV3TQV * BuildInputs table: link to dependencies, include store paths.
  • [30] 67P45PY4
  • [31] X27GNHDV * Basic job info in the database.
  • [32] JFZNAYJX * Showing releases.
  • [33] 2JMJKP4P
  • [34] VJHIHMEH * Store the meta.longDescription and meta.license attributes in the
  • [35] BD3GRK4B * Get rid of "positive failures" and separate log phases.
  • [36] L2E6EVE2 * Merged the Build and Job tables.
  • [37] R5D7DZPE
  • [38] VCOSLZRP
  • [39] RU7AQO7U * Role-based access control. Only admins can create projects. Only
  • [40] ECBA3GQO * Make the schema class names match the case of the SQL table names.
  • [41] DVNWJXWW * Generic declaration of build products.
  • [42] ZVTSOVHN * Support Subversion checkouts.
  • [43] C2DCO6AS
  • [44] M552HLIA * Support variant builds.
  • [45] 6BLUKEQ2 * Caching of "path" inputs, and fake a revision number for those.
  • [46] H7CNGK4O * Log evaluation errors etc. in the DB.
  • [47] CMU3YKOU * Store the release name.
  • [48] V4RNHJNR * Add a link to each project's homepage. Suggested by karltk.
  • [49] SHBLLAVH * More global substitution.
  • [*] N22GPKYT * Put info about logs / build products in the DB.

Change contents

  • replacement in src/lib/Hydra/Controller/Build.pm at line 83
    [4.2343][4.2343:2398]()
    my ($self, $c, $productnr, $filename, @path) = @_;
    [4.2343]
    [4.2398]
    my ($self, $c, $productnr, @path) = @_;
  • edit in src/lib/Hydra/Controller/Build.pm at line 90
    [4.2672]
    [4.2672]
    # If the product has a name, then the first path element can be
    # ignored (it's the name included in the URL for informational purposes).
    shift @path if $product->name;
  • edit in src/lib/Hydra/Controller/Build.pm at line 110
    [4.1405]
    [4.3258]
    notFound($c, "Path $path is a directory.") if -d $path;
  • replacement in src/lib/Hydra/Schema/BuildInputs.pm at line 39
    [4.782][4.725:867]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7Th7GxvR7m/DdodQqlmJXQ
    [4.782]
    [4.924]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:H25BhHe9wbU6nj6fSKjZnw
  • edit in src/lib/Hydra/Schema/BuildProducts.pm at line 30
    [4.809]
    [4.4698]
    { data_type => "text", is_nullable => 0, size => undef },
    "defaultpath",
  • replacement in src/lib/Hydra/Schema/BuildProducts.pm at line 38
    [4.4922][4.868:1010]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FFVpdoV0vBLhF9yyKJSoTA
    [4.4922]
    [4.5064]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rfkj/A+Li7Q0hWydqtJHAw
  • replacement in src/lib/Hydra/Schema/BuildResultInfo.pm at line 34
    [4.2382][4.1011:1153]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CkjyZptB79J32VhDbXhKEg
    [4.2382]
    [4.2524]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wmL9881G+dZrgHKM83dHXw
  • replacement in src/lib/Hydra/Schema/BuildSchedulingInfo.pm at line 30
    [4.4473][4.1154:1296]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HeodRHEOs/do8RKwDJhaXg
    [4.4473]
    [4.4615]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6cTj5JovtTmtemvQjWtucQ
  • replacement in src/lib/Hydra/Schema/BuildSteps.pm at line 38
    [4.2816][4.1297:1439]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kKpIuRMrqdh7m4M5XPIEgg
    [4.2816]
    [4.2958]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LyNlkn5XjBnLp7M4ipB/ZQ
  • replacement in src/lib/Hydra/Schema/Builds.pm at line 79
    [4.6194][4.1515:1657]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fGOOscNFEgDZpeVpA6HH0w
    [4.6194]
    [4.3377]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8U9CmcfeowLJVViKiR3n1g
  • replacement in src/lib/Hydra/Schema/CachedPathInputs.pm at line 25
    [4.1497][4.1658:1800]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0wY3JTSelPQSTbxpNQDJjg
    [4.1497]
    [4.1639]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+F3EiYsvXuOjnGDrkhLxng
  • replacement in src/lib/Hydra/Schema/CachedSubversionInputs.pm at line 23
    [4.2342][4.1801:1943]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eZPs3SB3XZW5BNQOQFrFBw
    [4.2342]
    [4.2484]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O0QvXjOulMVTjhW4rRHkmQ
  • replacement in src/lib/Hydra/Schema/JobsetInputAlts.pm at line 34
    [4.1831][4.1944:2086]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:atlyxsSKg41KbDkbCfuvHQ
    [4.1831]
    [4.1973]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qXh+0QbMUHIDmQCG9T5qdA
  • replacement in src/lib/Hydra/Schema/JobsetInputs.pm at line 46
    [4.1681][4.2087:2229]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:85ro4sVmhc3HwAjgoA6p6w
    [4.1681]
    [4.1823]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TUTdwfhSsFMKBXa/wKenOQ
  • replacement in src/lib/Hydra/Schema/Jobsets.pm at line 53
    [4.2992][4.2230:2372]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c5PqrzN43jEGGrzKqI6WWQ
    [4.2992]
    [4.3134]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dVevQ8lPI2/IRpYoJgzLBA
  • replacement in src/lib/Hydra/Schema/Projects.pm at line 48
    [4.3685][4.2373:2515]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7iZYMDM+wn+Neud0Fm1ZMA
    [4.3685]
    [4.3827]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Q5mSKzMxB9px2ja8NjK/9Q
  • replacement in src/lib/Hydra/Schema/ReleaseSetJobs.pm at line 35
    [4.6070][4.2516:2658]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Rs3CRPpzFi30sAeHVe1yQA
    [4.6070]
    [4.6212]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+Ky8V3sZIgT22hgF27Y0cw
  • replacement in src/lib/Hydra/Schema/ReleaseSets.pm at line 32
    [4.7142][4.2659:2801]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PA+dfXHaBsSx9kE1mEZZ9w
    [4.7142]
    [4.7284]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f+4AnWTJsi4RDfxoJxECgw
  • replacement in src/lib/Hydra/Schema/SystemTypes.pm at line 19
    [4.2105][4.2802:2944]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:olHboRdtxD6E7Ukr4aCLCA
    [4.2105]
    [4.2247]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Af/LU15/hpXngfrBrDMI/A
  • replacement in src/lib/Hydra/Schema/UserRoles.pm at line 20
    [4.3736][4.2945:3087]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Q7Nd3wv7Y3184GhkE/pdFA
    [4.3736]
    [4.3878]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/yDlbFhRYDzf+0VHzygrhA
  • replacement in src/lib/Hydra/Schema/Users.pm at line 33
    [4.3782][4.3088:3230]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:z8fRKy//Mx8wqymMgOcrWA
    [4.3782]
    [4.3924]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d7M/Q6OucU9NUCSB5zZK7Q
  • replacement in src/lib/Hydra/Schema.pm at line 11
    [4.6498][4.3231:3373]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-04 14:50:30
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QcB8T/bY2/Pw34uuYXt2Cw
    [4.6498]
    [4.6640]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-06 14:20:12
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hRwus0A1vxnFCzQxghFgTw
  • replacement in src/root/common.tt at line 45
    [3.227][3.227:401]()
    [% IF build.schedulingInfo.busy %]runningBuild[% END %] [% IF build.schedulingInfo.disabled == 1 || build.project.enabled == 0 %]disabledBuild[% END -%]
    [3.227]
    [3.401]
    [% IF build.schedulingInfo.busy %]runningBuild[% ELSIF build.schedulingInfo.disabled == 1 || build.project.enabled == 0 %]disabledBuild[% END %]
  • replacement in src/root/product-list.tt at line 9
    [4.2174][4.3992:4081]()
    [% uri = c.uri_for('/build' build.id 'download' product.productnr product.name) %]
    [4.2174]
    [4.2262]
    [% uri = "${c.uri_for('/build' build.id 'download' product.productnr)}"
    _ (product.name ? "/" _ product.name : "")
    _ (product.defaultpath ? "/" _ product.defaultpath : "") %]
  • replacement in src/script/hydra_build.pl at line 212
    [4.5818][4.2690:2753]()
    /^([\w\-]+)\s+([\w\-]+)\s+(\S+)$/ or next;
    [4.5818]
    [4.5875]
    /^([\w\-]+)\s+([\w\-]+)\s+(\S+)(\s+(\S+))?$/ or next;
  • edit in src/script/hydra_build.pl at line 216
    [4.5983]
    [2.0]
    my $defaultPath = $5;
  • edit in src/script/hydra_build.pl at line 221
    [4.3841]
    [4.1233]
    # !!! validate $path, $defaultPath
  • edit in src/script/hydra_build.pl at line 235
    [4.1773]
    [4.4182]
    my $name = $path eq $outPath ? "" : basename $path;
  • replacement in src/script/hydra_build.pl at line 247
    [4.4397][4.4397:4446]()
    , name => basename $path
    [4.4397]
    [4.6257]
    , name => $name
    , defaultpath => $defaultPath
  • edit in src/script/hydra_build.pl at line 282
    [4.8088]
    [4.8088]
    die "build $buildId already done" if defined $build->resultInfo;
  • edit in src/script/hydra_build.pl at line 289
    [4.8345]
    [4.7245]
    $build->buildsteps->delete_all;
    $build->buildproducts->delete_all;
  • edit in src/sql/hydra.sql at line 143
    [4.4867]
    [4.4867]
    defaultPath text, -- if `path' is a directory, the default file relative to `path' to be served