1. 13 May, 2013 1 commit
  2. 24 Dec, 2012 1 commit
  3. 19 Dec, 2012 3 commits
  4. 12 Dec, 2012 1 commit
  5. 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
      ignore.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      3516b09a
  6. 05 Dec, 2012 1 commit
  7. 05 Sep, 2012 3 commits
  8. 04 Sep, 2012 2 commits
  9. 24 Aug, 2012 1 commit
  10. 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>
      d99d1e36