1. 17 Apr, 2012 4 commits
    • Robert Ricci's avatar
      Bug fix: fix prototype for commit_mail() · 720403f4
      Robert Ricci authored
      720403f4
    • Robert Ricci's avatar
      Add host and path headers to gitmail · 05a4a77b
      Robert Ricci authored
      For now, these go into headers (X-Git-Repo-Host and X-Git-Repo-Path)
      Might consider moving them to the body of the mail at some point.
      
      Note that I *don't* attempt to figure out the actual 'URL' for the
      repo, since that is *not* necessarily automatically derivable: eg.
      it might be any of ssh,git, or http protocols, and the path (esp.
      for git: and http:) might not match the path in the filesystem. So
      this suggests that wat goes into the body of the mail ought to be
      set with a config variable.
      05a4a77b
    • Robert Ricci's avatar
      Show commit range on updates · b6dc5a0e
      Robert Ricci authored
      Show the old and new values of the ref, in a form that is suitable for
      passing to 'git log', etc. The idea is to make it easier for the reader
      of the mail to go look at more detailed information than is in the mail,
      if they so choose.
      
      Use short form of the hashes to make it fit nicely into one line
      of text.
      b6dc5a0e
    • Robert Ricci's avatar
      3b96945a
  2. 16 Apr, 2012 3 commits
  3. 15 Apr, 2012 3 commits
  4. 13 Apr, 2012 6 commits
    • Mike Hibler's avatar
      Remove dependency on a racy state transition. · 089676f5
      Mike Hibler authored
      The recent reboot-node-if-going-from-PXEWAIT-to-SECURELOAD change to
      bootinfo was checking that the node was in PXEKERNEL/PXEBOOTING. However,
      the transition from PXEWAKEUP->PXEBOOTING may not have happened yet.
      
      However, the check for PXEBOOTING was unnecessary anyway, since bootinfo
      is the one that sends that state and it *always* does it just before calling
      query_bootinfo_db (the guy relying on the racy state change). Thus, the node
      is intended to be in PXEBOOTING even if that hasn't yet been recorded in
      the DB. So just remove the state check (we still check the op_mode).
      
      Note that this only affects nodes that are using the secure diskload MFS.
      089676f5
    • Leigh B Stoller's avatar
      Minor bug fix. · a0d750ac
      Leigh B Stoller authored
      a0d750ac
    • Mike Hibler's avatar
      Add -L option to capture to print out how long it has been since last output. · 8da97950
      Mike Hibler authored
      We currently put out a time stamp when we detect output after being idle for
      a long time. But the time stamp is the time at which we started getting output
      again, so it doesn't give us any idea how long it was idle (i.e., when the
      last previous output happened).
      
      So -L changes the format of the stamp from "STAMP{ctime-string}" to
      "STAMP{idle@ctime-string}", where "idle" is the number of seconds it has been
      since the last output.
      8da97950
    • Mike Hibler's avatar
      Fix another cause of trafgen not building. · 09b1ba5d
      Mike Hibler authored
      This might have been fixed in later gmakes, but at least for the circa-FBSD6
      version, the shell PWD variable is not correctly set when a shell script is
      run from a make target via:
          $(MAKE) -C foo target
      instead of:
          cd foo && $(MAKE) target
      In the former case, $PWD would not reflect that it was in "foo".
      The upshot is that the tg2.0 tarball was being extracted in the "event"
      directory rather than "event/trafgen" so the make rules could not find it.
      The same basic shell script worked for iperf and rude because they were
      invoked via the latter form.
      
      Anyway, now we just use dir=`pwd` instead of dir=$PWD.
      09b1ba5d
    • Mike Hibler's avatar
      f1601281
    • Leigh B Stoller's avatar
      Accept history records from CMs that are disabled; this bit is just a · d103f159
      Leigh B Stoller authored
      flag for ListComponents.
      d103f159
  5. 12 Apr, 2012 5 commits
  6. 11 Apr, 2012 9 commits
  7. 10 Apr, 2012 3 commits
  8. 09 Apr, 2012 7 commits