1. 21 Jun, 2013 1 commit
  2. 22 May, 2013 1 commit
  3. 03 May, 2013 1 commit
  4. 01 May, 2013 1 commit
  5. 02 Apr, 2013 1 commit
  6. 28 Mar, 2013 2 commits
  7. 21 Mar, 2013 1 commit
  8. 25 Feb, 2013 1 commit
  9. 20 Feb, 2013 1 commit
    • Iustin Pop's avatar
      Switch the curl bindings from optional to required · 1ca709c1
      Iustin Pop authored
      Currently, we support curl being optional via some sporting exercises:
      ifdefs in the code, data types that represent 'Curl is disabled'
      state, etc. However, with the future work on RPC, we would have to
      even make the dependencies list conditional on it, etc. This is too
      much work, when the curl library is included even in stable
      This patch changes curl from option to required, the same as the other
      base libraries.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
  10. 08 Jan, 2013 1 commit
  11. 12 Dec, 2012 1 commit
  12. 10 Dec, 2012 1 commit
  13. 21 Nov, 2012 1 commit
  14. 13 Nov, 2012 1 commit
  15. 26 Oct, 2012 1 commit
  16. 10 Oct, 2012 1 commit
    • Iustin Pop's avatar
      Improve Haskell configure options and detection · 21a5e56c
      Iustin Pop authored
      This patch cleans up  the Haskell library detection and defaults.
      First, it makes the base compiler/libraries required, per the email discussion.
      It then adds two new small autoconf macros, on to check for a required
      Haskell library and one to do custom action based on test results. We
      use these macros to cleanup and simplify a bit the module detection:
      - rapi, confd, and split query are auto detected and enabled if _all_
        required libraries are present
      - unittests are enabled if _all_ required libraries are present
      The patch also updates the documentation regarding required libraries.
      After this patch, base Ganeti fully buildable on Debian Squeeze/Ubuntu
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  17. 02 Oct, 2012 1 commit
  18. 04 Sep, 2012 1 commit
  19. 13 Aug, 2012 1 commit
    • Iustin Pop's avatar
      Switch the Luxi interface from Strings to ByteStrings · e821050d
      Iustin Pop authored
      I'm doing this change for future performance optimisations. Currently
      we use the Luxi interface just as a client, so not in the hot path,
      but when we'll use this as a server interface, we're interested to
      both reduce the space and time consumption of the interface.
      We have to simultaneous changes here:
      - switch from using socket-related function (sendto, recv, etc.) to
        handle-based functions, since the standard network library doesn't
        work with sockets
      - switch from using Strings for the internal buffer to strict
        ByteStrings; the only downside is that we now have the issue of
        decoding/encoding from binary to UTF-8 strings, a fact which brings
        its own issues into the mix (we have to check for failed decodings,
        etc.); but this is similar to what we'll have to handle on the
        Python side when moving to Python 3.x
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  20. 27 Jul, 2012 1 commit
  21. 06 Jul, 2012 1 commit
  22. 25 Jun, 2012 1 commit
  23. 24 May, 2012 1 commit
  24. 27 Mar, 2012 1 commit
  25. 10 Feb, 2012 1 commit
  26. 18 Nov, 2011 1 commit
    • Iustin Pop's avatar
      htools: adjust imports for newer compilers · 7345b69b
      Iustin Pop authored
      While testing with ghc 7.2, I saw that some imports we are using are
      very old (from ghc 6.8 time), even though current libraries are using
      different names.
      We fix this and bump minimum documented version to ghc 6.12, as I
      don't have 6.10 to test anymore (possibly still works with that
      version, but better safe - both Ubuntu Lucid and Debian Squeeze ship
      with 6.12 nowadays).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
  27. 14 Nov, 2011 1 commit
  28. 27 Sep, 2011 1 commit
  29. 26 Sep, 2011 1 commit
  30. 15 Sep, 2011 1 commit
  31. 21 Jul, 2011 1 commit
  32. 18 Apr, 2011 1 commit
  33. 31 Mar, 2011 1 commit
  34. 23 Mar, 2011 1 commit
  35. 01 Dec, 2010 1 commit
  36. 10 Nov, 2010 1 commit
  37. 19 Aug, 2010 1 commit
  38. 20 Jul, 2010 1 commit
  39. 01 Jul, 2010 1 commit
    • Michael Hanselmann's avatar
      RAPI client: Switch to pycURL · 2a7c3583
      Michael Hanselmann authored
      Currently the RAPI client uses the urllib2 and httplib modules from
      Python's standard library. They're used with pyOpenSSL in a very fragile
      way, and there are known issues when receiving large responses from a RAPI
      By switching to PycURL we leverage the power and stability of the
      widely-used curl library (libcurl). This brings us much more flexibility
      than before, and timeouts were easily implemented (something that would
      have involved a lot of work with the built-in modules).
      There's one small drawback: Programs using libcurl have to call
      curl_global_init(3) (available as pycurl.global_init) while exactly one
      thread is running (e.g. before other threads) and are supposed to call
      curl_global_cleanup(3) (available as pycurl.global_cleanup) upon exiting.
      See the manpages for details. A decorator is provided to simplify this.
      Unittests for the new code are provided, increasing the test coverage of
      the RAPI client from 74% to 89%.
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>