Skip to content
Snippets Groups Projects
  1. Sep 27, 2012
  2. Jul 23, 2012
    • Iustin Pop's avatar
      Ensure a stable content of the bash completion file · f5ce7613
      Iustin Pop authored
      
      Currently, the order of commands in the bash completion file is
      random, because the sub-commands are not sorted. This makes it harder
      to investigate the differences in packaged Ganeti or in installed
      Ganeti, since chunks in this file will have a random order.
      
      To fix this, we sort the subcommands based on the first subcommand in
      a given group ('first' also in sorted order); this results in a stable
      contents of file, as tested by building it many times and checking for
      differences.
      
      The patch also does a few other minor changes to the file
      (e.g. updating copyright years, etc.).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      f5ce7613
  3. May 22, 2012
  4. May 07, 2012
    • Iustin Pop's avatar
      Implement reverse mapping of values to names · 79a04823
      Iustin Pop authored
      
      This adds a bit of dumb mapping of values to names, while trying to be
      safe. This is the best we can do without resorting to parsing or
      interpreting ASTs.
      
      The difference in the output is:
      
       -- | Converted from Python list or set ADMINST_ALL
       adminstAll :: [String]
      -adminstAll = ["down", "offline", "up"]
      +adminstAll = [adminstDown, adminstOffline, adminstUp]
      
      Since for most such values we use strings, we don't gain in type
      safety on the Haskell side. But it makes the output more readable and
      it might open up other opportunities later.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      79a04823
    • Iustin Pop's avatar
      Implement support for multi-module export · 09dc9a02
      Iustin Pop authored
      
      This add support for exporting constants from multiple modules (as
      opposed to hard-coding constants), and also makes the output more
      readable by skipping things we know for sure we don't want to convert
      (as opposed to things we would like to but don't know _how_ to
      convert).
      
      Additionally, we export the constants from the luxi module too.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      09dc9a02
  5. May 04, 2012
  6. Apr 26, 2012
  7. Mar 19, 2012
  8. Mar 13, 2012
  9. Mar 05, 2012
  10. Feb 27, 2012
  11. Jan 13, 2012
  12. Jan 09, 2012
  13. Jan 06, 2012
  14. Jan 05, 2012
  15. Dec 22, 2011
  16. Dec 21, 2011
  17. Nov 21, 2011
  18. Nov 14, 2011
  19. Nov 08, 2011
  20. Nov 07, 2011
  21. Nov 02, 2011
  22. Nov 01, 2011
    • Michael Hanselmann's avatar
      rpc: Improve argument definitions · cd40dc53
      Michael Hanselmann authored
      
      Instead of in-place code now each argument has an (optional) kind
      assigned. The RPC client will then take care of encoding each argument
      according to its definition. A new base (_RpcClientBase) is added to
      take care of encoding and dispatching calls.
      
      Future patches will also use these definitions in the node daemon.
      
      A nice side-effect of this change is the ability to use stand-alone
      functions, as opposed to class member methods, for most of the encoding.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      cd40dc53
  23. Oct 26, 2011
  24. Oct 07, 2011
  25. Aug 30, 2011
Loading