Skip to content
Snippets Groups Projects
  1. Oct 29, 2010
    • Michael Hanselmann's avatar
      Makefile: Streamline directory creation · c964d962
      Michael Hanselmann authored
      
      Some directories don't exist in the repository, but are required at build time
      (e.g. doc/html). Until now some were created explicitly, some through the
      target “stamp-directories” and other target simply relied on a previous target
      to create the directory.
      
      This patch tries to clean this up by getting rid of “stamp-directories” and
      instead use rules to recreate any missing directory. As described in a comment
      in the code, a file inside each directory is necessary, named “.dir”.
      
      Order-only dependencies are used for directory creation to avoid rebuilding
      where only the “.dir” file is missing (see “info make”, section “4.3 Types of
      Prerequisites”).
      
      The target for building the documentation is also changed to use “…/index.html”
      instead of a hidden file. Some style changes are also made.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      c964d962
  2. Oct 27, 2010
  3. Oct 26, 2010
  4. Oct 22, 2010
  5. Oct 15, 2010
    • Iustin Pop's avatar
      Crude workaround for pylint breakage · f1763373
      Iustin Pop authored
      
      The way we currently call pylint, the exact order it inspect modules in
      lib/http/ depends on the filesystem order. This is not good, and if
      lib/http/server.py is loaded before lib/http/__init__.py, it will throw
      a "R0921:763:HttpMessageReader: Abstract class not referenced" (as that
      class is used in server.py).
      
      For the short-term fix, we just add server.py after "ganeti", so that
      it gets parsed (again?) and pylint sees the usage of the class.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      f1763373
  6. Oct 13, 2010
  7. Sep 06, 2010
  8. Aug 19, 2010
  9. Aug 17, 2010
  10. Jul 28, 2010
  11. Jul 20, 2010
  12. Jul 19, 2010
    • Iustin Pop's avatar
      Introduce git reference/tag tracking for debugging · 84a12e40
      Iustin Pop authored
      
      This patch adds a new vcs-version file that is generated via git (and
      can be adapted if VCS is changed) and then embebbded as VCS_VERSION in
      the constants module.
      
      This means two things:
      - local modifications without committing to git (or when using a tar.gz
        archive + mods) will not be reflected
      - version is fixed at the time of the last make regen-vcs-version (dist time,
        or devel/upload which calls this)
      
      Thus this is more geared at developers rather than end users.
      
      The patch:
      
      - adds rules for generating the vcs-version file
      - adds a dist-hook for re-generating the file (if possible) and copying
        the updated version to the distdir
      - modifies devel/upload to re-generate the file before upload
      
      The output of --version will look like:
      gnt-cluster (ganeti v2.2.0beta0-184-gebca7e6) 2.2.0~beta0
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      84a12e40
  13. Jul 16, 2010
    • Michael Hanselmann's avatar
      Convert RPC client to PycURL · 33231500
      Michael Hanselmann authored
      
      Instead of using our custom HTTP client, using PycURL's multi
      interface allows us to get rid of the HTTP client threadpool.
      The majority of the code is still in the ganeti.http.client
      module.
      
      A simple per-thread HTTP client pool gives cURL a chance to
      cache and retain as much information as possible (e.g. SSL certs).
      Unused HTTP clients (e.g. due to removed nodes) are deleted after
      25 requests going through the pool.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      33231500
  14. Jul 15, 2010
  15. Jul 09, 2010
  16. Jul 06, 2010
  17. Jul 02, 2010
  18. Jul 01, 2010
  19. Jun 30, 2010
  20. Jun 29, 2010
  21. Jun 17, 2010
  22. Jun 14, 2010
  23. Jun 10, 2010
  24. Jun 04, 2010
Loading