1. 10 Aug, 2011 18 commits
  2. 09 Aug, 2011 4 commits
  3. 06 Aug, 2011 1 commit
    • Robert Ricci's avatar
      New script to re-write history of git moves · 061b0df5
      Robert Ricci authored
      This script is intended for use with 'git filter-branch' - it takes
      a directory, finds all files that have been moved into that directory
      and where they came from, and produces a script that moves (in the
      filesystem sense, not the git sense) them from their old locations
      to their new ones.
      
      Then, you give this script to 'git filter-branch --tree-filter', and
      it will re-write all history so that it looks like the files were
      always in their new locations.
      
      Written specifically for the move of the clientside stuff into its
      own directory, and then off into its own repository.
      061b0df5
  4. 02 Aug, 2011 1 commit
  5. 29 Jul, 2011 8 commits
  6. 28 Jul, 2011 7 commits
    • Leigh Stoller's avatar
      Add back useprepass check. · 4ec85d39
      Leigh Stoller authored
      4ec85d39
    • Mike Hibler's avatar
    • Leigh Stoller's avatar
      Power "saving" additions from Barry Trent, who got them from Kevin · 03478fb9
      Leigh Stoller authored
      Lahey.
      
      Power saving turns off nodes that have been sitting in PXEWAIT (and
      are thus free) for more then a set amount of time (see sitevar
      general/idlepower_idletime, which defaults to 3600 seconds).
      
      The driver script is tbsetup/idlepower.in and needs to be added to
      /etc/crontab at sites that want to do this. Even so, operation is
      enabled by the sitevar general/idlepower_enable. Each time it runs, it
      checks for nodes that need to be turned off, and then calls power.
      Note: This should be a daemon not a cron job.
      
      To be considered for power saving, you must add an attribute to the
      node_type_attributes table called 'idlepower_enable', set to 1.
      
      Locally, I hacked up stated and power to make the state transitions
      legal so that stated does not whine. I added POWEROFF as a valid
      transition from any state, to opmodes NORMAL, NORMALv1, and NORMALv2.
      Barry's original patch already had a state transition for PXEKERNEL.
      In power, I added code to look at the actual operation, and in the
      case of "on", do not send an event if the node is not in POWEROFF,
      since a user can foolishly say power on anytime, and the node is on
      nothing is every going to change, and the state transition would be
      wrong.
      
      node_reboot takes of powering nodes on, when they are in POWEROFF.
      
      Barry on copyright issues:
       "I'm not sure those rights are mine to grant! Remember that this code
       came originally from Kevin Lahey (kml@patheticgeek.net) and
       originated at DETER (although he's apparently not there anymore). I
       don't foresee a problem from our point of view (but I'll double
       check, of course). Shall I try to contact Kevin try to sort this mess
       out, or do you think it's better to coordinate from your end?"
      03478fb9
    • Leigh Stoller's avatar
      Allow '*' for state1 (source state) in the state_transition table, · a6b87170
      Leigh Stoller authored
      which says that any source state is okay, for the specified target
      state. Basically a convenience.
      a6b87170
    • Leigh Stoller's avatar
      Add ExecQuiet() function (stolen from libinstall) to run a command, · 6f773c65
      Leigh Stoller authored
      capturing and returning all output. Convenient.
      6f773c65
    • Leigh Stoller's avatar
      Minor bug fix. · d191c7b4
      Leigh Stoller authored
      d191c7b4
    • Leigh Stoller's avatar
      Minor bug fix. · 93ff80fc
      Leigh Stoller authored
      93ff80fc
  7. 27 Jul, 2011 1 commit