Skip to content
Snippets Groups Projects
  1. Mar 22, 2011
    • Iustin Pop's avatar
      Makefile.am: add rules for htools compilation · d6159933
      Iustin Pop authored
      
      This patch adds some (not very nice) rules for htools
      compilation. Since automake only knows about some languages, and
      doesn't have a real extension mechanism, I cheat and declare them as
      "buildable scripts", instead of programs. Rationale:
      
      automake support for dir_PROGRAMS is limited to a few languages; in
      all cases, it assumes that translation from sources to binaries occurs
      in two steps, compilation and linking; it's not easy to change its
      assumption.
      
      In our case, where “ghc --make” does both steps, it's hard to force it
      into the automake model.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      d6159933
  2. Mar 18, 2011
  3. Mar 01, 2011
  4. Feb 24, 2011
  5. Feb 23, 2011
  6. Feb 09, 2011
    • Iustin Pop's avatar
      Fix html docs builds · a2d917f3
      Iustin Pop authored
      
      This fixes the doc builds broken by commit b292b986, but is only an
      ugly workaround due to our dependency chain.
      
      opcodes.py imports (both directly and indirectly) constants.py, which
      imports _autoconf.py. Hence one could say that all .py files have a
      logical dependency on _autoconf.py, since you can't "import opcodes"
      before _autoconf.py is built. So the sphinx rule should depend on
      _autoconf.py as a prerequisite.
      
      But we can't use a normal prerequisite, since that would cause the
      html docs to be rebuilt whenever _autoconf.py gets rebuilt, i.e. even
      on end-users machines after ./configure; this is bad, and it also
      breaks distcheck (as the html files are not removed in distclean,
      since we do want them distributed).
      
      So we only add an order-only prerequisite, which does the right thing
      (although our dependency chain is still ugly).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarAdeodato Simo <dato@google.com>
      a2d917f3
  7. Feb 04, 2011
  8. Jan 31, 2011
  9. Jan 27, 2011
  10. Jan 26, 2011
  11. Jan 18, 2011
  12. Jan 12, 2011
    • Michael Hanselmann's avatar
      Add Ganeti 2.4 design document · 78b40c5e
      Michael Hanselmann authored
      
      It contains links to the two implemented designs. The detailed documents
      are removed from the visible table of contents to not show up on their
      own.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      78b40c5e
    • Iustin Pop's avatar
      Run pylint over QA code too · 3582eef6
      Iustin Pop authored
      
      Right now, the QA code is not covered by pylint, and this shows at
      least one low-impact bug.
      
      This patch does the necessary changes to make QA pylint-clean, and the
      changes the makefile to run pylint for it.
      
      Notable changes:
      
      - qa_utils.GenericQueryTest: randfields was not used at all, and my
        belief is that it was indented to be used in order not to modify the
        input list; so I replaced randfields with fields, so we only shuffle
        the our local copy
      - qa_node.TestOutOfBand was using it's own copy of AcquireNode(), so I
        replaced it with the existing version
      - qa_os: was using 'dir' in a couple of places, replaced with dirname
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      3582eef6
  13. Jan 11, 2011
  14. Jan 10, 2011
  15. Jan 07, 2011
  16. Jan 06, 2011
  17. Jan 05, 2011
Loading