Skip to content
Snippets Groups Projects
  1. Oct 08, 2012
    • Iustin Pop's avatar
      Merge ganeti-master-cleaner back into ganeti-cleaner · 46118ed2
      Iustin Pop authored
      
      As I wrote during/after the review on commit 2958c56e, “ganeti-cleaner:
      Separate queue cleaning code”, while I appreciated the permission
      separation, I didn't like too much the file-based approach:
      
      - it is a very simple script, and lots of the code is duplicated
        between the two; I wouldn't like to see "ganeti-vmcapable-cleaner",
        "ganeti-master-candidate-cleaner", etc. in the future
      - ganeti-master-cleaner "pollutes" the namespace, creating
        tab-completion conflicts with ganeti-masterd
      
      This patch simply merges the master-cleaner back into cleaner, while
      keeping the separate user permissions scheme, separate log files, etc.
      
      Additionally, it fixes two bugs in the unit-test (not run with set -u
      and wrong path in the master-cleaner log files test; yay for even
      worse safety than Python?).
      
      And finally, since we have now support for --help-completion, it adds
      bash completion support for this script :) (needs to be applied on top
      of my argument support patch series).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      46118ed2
  2. Sep 28, 2012
  3. Sep 27, 2012
    • Michael Hanselmann's avatar
      Cleanup of build-time shell variable replacements · 6e3bf290
      Michael Hanselmann authored
      
      Instead of having a different set in (almost) every shell script, this
      inserts the most commonly used variables at build time. This way the
      code for injecting a root directory for virtual clusters also is just
      needed once.
      
      I chose inserting the variables using “sed” at build time over a runtime
      script as the latter would need to be located from within the script and
      the path would be different depending on the environment (unittest vs.
      actual installation).
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      6e3bf290
  4. Aug 05, 2011
  5. Aug 04, 2011
  6. Oct 29, 2010
  7. Jun 10, 2010
  8. May 18, 2010
  9. Feb 02, 2010
  10. Aug 28, 2009
  11. Feb 14, 2008
  12. Oct 12, 2007
  13. Sep 13, 2007
  14. Jul 16, 2007
Loading