* Store meta.maintainers.

[?]
Jul 7, 2009, 2:33 PM
5MNUNZWR3HN5OOY4G6UQ5CMJTOSQIEFSJR5VOU4NE2KYLJAYRA3AC

Dependencies

  • [2] GNIEG2GC * Disambiguate jobs by jobset name. I.e. jobs with the same name in
  • [3] HVXL2XUZ
  • [*] 4N5APGRG * Start of a helper tool to evaluate job expressions efficiently.
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] N22GPKYT * Put info about logs / build products in the DB.
  • [*] POPU2ATH * hydra_scheduler: use eval-jobs.

Change contents

  • edit in src/c/hydra_eval_jobs.cc at line 137
    [3.1269]
    [3.1269]
    string maintainers;
    MetaValue value = meta["maintainers"];
    if (value.type == MetaValue::tpString)
    maintainers = value.stringValue;
    else if (value.type == MetaValue::tpStrings) {
    foreach (Strings::const_iterator, i, value.stringValues) {
    if (maintainers.size() != 0) maintainers += ", ";
    maintainers += *i;
    }
    }
    xmlAttrs["maintainers"] = maintainers;
  • edit in src/root/build.tt at line 115
    [2.3990]
    [6.7673]
    </tr>
    <tr>
    <th>Maintainer(s):</th>
    <td>[% IF build.maintainers %]<tt>[% HTML.escape(build.maintainers) %]</tt>[% ELSE %]<em>(not given)</em>[% END %]</td>
  • edit in src/script/hydra_scheduler.pl at line 292
    [2.4732]
    [8.1125]
    , maintainers => $job->{maintainers}