1. 29 May, 2014 1 commit
  2. 26 May, 2014 1 commit
  3. 20 May, 2014 1 commit
  4. 12 May, 2014 1 commit
  5. 11 Apr, 2014 1 commit
  6. 04 Apr, 2014 2 commits
  7. 27 Mar, 2014 2 commits
  8. 18 Mar, 2014 1 commit
  9. 13 Mar, 2014 1 commit
  10. 11 Mar, 2014 1 commit
  11. 03 Mar, 2014 5 commits
  12. 26 Feb, 2014 1 commit
  13. 14 Feb, 2014 1 commit
  14. 13 Dec, 2013 1 commit
  15. 08 Nov, 2013 1 commit
  16. 10 Sep, 2013 1 commit
  17. 29 Aug, 2013 1 commit
    • Jose A. Lopes's avatar
      Setup constant generation infrastructure · 1b2adaa6
      Jose A. Lopes authored
      Setup a transitional Haskell to Python constant generation
      infrastructure.  This infrastructure is transitional and Python
      constants will not be migrated to Haskell all at once.  Instead, some
      constants will be incrementally pulled from Python and moved to
      Haskell.  This is a list of the relevant modules in this
      * Ganeti.HsConstants: contains the Haskell constants that are used
        both in Haskell (once re-exported through Ganeti.Constants) and
        generated in Python
      * Ganety.Hs2Py.ListConstants: contains the list of Haskell constants
        to be generated in Python; these constants are defined in the
        previous module and the list is automatically generated by the
      * hs2py-constants: Haskell program that outputs the actual constant
        definitions in Python; this task cannot be performed by 'hs2py' just
        yet because this programs depends on the 'Constants' module. But
        once all the constants have migrated to Haskell, then
        'hs2py-constants' and 'hs2py' can be merged.
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  18. 27 Dec, 2012 1 commit
    • Iustin Pop's avatar
      Move htest/ files under the test/ tree · 83846468
      Iustin Pop authored
      htest/data becomes test/data/htools (basically reverting commit
      ), and htest/* becomes test/hs/*.
      Most changes beside the rename are trivial s/…/…, with the exception
      of autotools/run-in-tempdir, which needed some more changes now that
      test/ is not just Python files:
      - test/py is still being copied
      - test/hs moves from individual symlinks to entire dir symlink
      - test/data is symlinked in its entirety
      Checked with make distcheck, pep8 and pylint, so at least VPATH builds
      are OK.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  19. 06 Dec, 2012 1 commit
    • Iustin Pop's avatar
      Fix build breakage in Jobs.hs test code · 3516b09a
      Iustin Pop authored
      Commit 3bdbe4b3
       (“Jobs.hs: move OpStatus and JobStatus ADTs to
      Types.hs”) removed the TemplateHaskell language pragma from
      htest/Test/Ganeti/Jobs.hs due to a hlint warning, but that is bad: it
      means the testSuite call is no longer interpreted as a splice, so it results in:
        Parse error: naked expression at top level
      With newer GHCs. To fix this, we restore the pragma, and add an hlint
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
  20. 05 Dec, 2012 1 commit
  21. 05 Sep, 2012 3 commits
  22. 04 Sep, 2012 2 commits
  23. 24 Aug, 2012 1 commit
  24. 24 May, 2011 1 commit
    • Iustin Pop's avatar
      Implement conversion of Python constants to Haskell · d99d1e36
      Iustin Pop authored
      With the merge of the repositories, we can now auto-generate the code
      for Haskell constants from the Python code.
      Currently this only handles the basic types (strings and
      integers). Handling containers such as lists and dictionaries is only
      possible if we would use a parser such that we recognise the element
      names. We could extend the convert-constants script if that becomes
      necessary, right now I'm looking at just the simple constants such as
      Iallocator modes, instance states, etc.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>