1. 14 Oct, 2011 1 commit
    • Iustin Pop's avatar
      Document some useful Haskell tips · ef958f2a
      Iustin Pop authored
      This improves devnotes.rst with some tricks for Haskell development,
      and additionally it does two Makefile improvements:
      
      - properly document lib/_vcsversion.py as a requirement for
        Constants.hs (but do not require rebuild when updated)
      - move HEXTRA at the end of the GHC invocation, so any command line
        options will indeed override the built-in ones (especially -osuf)
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      ef958f2a
  2. 12 Oct, 2011 1 commit
  3. 04 Oct, 2011 1 commit
  4. 03 Oct, 2011 2 commits
  5. 26 Sep, 2011 3 commits
  6. 16 Sep, 2011 1 commit
  7. 03 Sep, 2011 1 commit
  8. 30 Aug, 2011 4 commits
  9. 26 Aug, 2011 1 commit
  10. 23 Aug, 2011 1 commit
  11. 19 Aug, 2011 1 commit
  12. 12 Aug, 2011 2 commits
  13. 08 Aug, 2011 1 commit
  14. 05 Aug, 2011 1 commit
  15. 04 Aug, 2011 1 commit
  16. 02 Aug, 2011 1 commit
  17. 29 Jul, 2011 1 commit
  18. 28 Jul, 2011 1 commit
  19. 26 Jul, 2011 1 commit
    • Iustin Pop's avatar
      Fix recompilation of htools on regen-vcs-version · 13aeae6a
      Iustin Pop authored
      Currently, most htools code depends on Constants.hs which is generated
      from constants.py and also depends on _autoconf.py. Also, _autoconf.py
      depends on vcs-version, which all together means that when 'make
      regen-vcs-version' is run, for example by ./devel/upload, most of the
      Haskell code needs recompilation.
      
      Since htools already has its 'optimised' vcs-version (and doesn't use
      the _autoconf.VCS_VERSION constants), we can optimise this as follows:
      
      - _autoconf.py doesn't contain the VCS_VERSION anymore, and that is
        instead moved to _vcsversion.py
      - constants.py depends on and imports this new module
      - _autoconf.py doesn't get regenerated at vcs-version changes, but
        only at re-running configure/changing Makefile time
      
      The end result is that only htools/Ganeti/HTools/Version.hs is
      recompiled now, which is a significant speedup (usually < 1 second
      versus 10 seconds previously).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      13aeae6a
  20. 22 Jul, 2011 1 commit
  21. 19 Jul, 2011 6 commits
  22. 15 Jul, 2011 2 commits
  23. 14 Jul, 2011 1 commit
  24. 13 Jul, 2011 3 commits
  25. 11 Jul, 2011 1 commit
    • Iustin Pop's avatar
      Reverts the patch series about console wrappers · 7238edb5
      Iustin Pop authored
      This reverts commits 030a9cb8 and
      ae082df0.
      
      There are two problems:
      
      - Makefile.am breakage, which is trivial to revert
      - unittest breakage, which honestly I'm not sure how to fix and how
        serial consoles interact with the unpause helper
      
      After the reset, the startup --paused still works but won't unpause
      the instance automatically (if I understood the code correctly).
      
      Furthermore, the code also fixes a style issue in hv_kvm.py (too long
      line) introduced by the next commit after the above two.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      7238edb5