Skip to content
Snippets Groups Projects
  1. Mar 12, 2013
  2. Mar 11, 2013
  3. Mar 08, 2013
  4. Mar 06, 2013
  5. Mar 05, 2013
    • Iustin Pop's avatar
      Merge branch 'devel-2.7' · 9b154e2b
      Iustin Pop authored
      
      * devel-2.7:
        Update required pylint version
        Constants.hs.in: improve Haddock markup in the template
        convert-constants: generate better Haddock markup
        Expand Haddock to run over test files as well
      
      Conflicts:
              Makefile.am (curl changes and new hs directories)
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
      9b154e2b
    • Iustin Pop's avatar
      Update required pylint version · 099e9213
      Iustin Pop authored
      
      This should help a lot of users, since pylint 0.21.1 was quite an old
      version…
      
      The tree is "clean" w.r.t. the new pylint version.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
      099e9213
    • Iustin Pop's avatar
    • Iustin Pop's avatar
      convert-constants: generate better Haddock markup · 25d7b289
      Iustin Pop authored
      
      Currently the Python source constants are used as-is, which is not
      nice on the eyes (especially for unqualified names, it was hard to
      separate them visually).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
      25d7b289
    • Iustin Pop's avatar
      Expand Haddock to run over test files as well · 7ddd8e4c
      Iustin Pop authored
      
      This patch does multiple enhancements to the way we build the Haddock
      docs, motivated by the fact that if we don't run Haddock over test
      files as well, bad formatting can be submitted and will accumulate
      over time (without any checks).
      
      The patch does:
      
      - replace manual built ALL_APIDOC_HS_DIRS with automatically built one
        (from HS_DIRS)
      - change Haddock so that it runs from the top directory (instead of
        from src/)
      - change HsColour target file to be built via bash parameter
        substitution, rather than sed (I don't know how to do it in one go,
        so I use 2 intermediate variables)
      - change 'hs-apidoc' target so that it depends on the real target
        file; in case no source file has been modified, running 'make
        hs-apidoc' twice will not result in two runs
      - run HsColour/Haddock under en_US.UTF-8 locale, otherwise they can't
        parse correctly the Unicode chars in the test files
      
      Additionally, wrong formatting (oops) in a test file has been
      corrected.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
      7ddd8e4c
    • Iustin Pop's avatar
      Merge branch 'devel-2.7' · 491d02ca
      Iustin Pop authored
      
      * devel-2.7: (23 commits)
        Add export lists for files which didn't have them
        Fix Haskell compatibility tests with disabled file storage
        Fix QA with disabled file storage
        Fix convert-constants handling of booleans
        Fix handling of disabled (shared) file storage
        Fix low verbosity levels in htools
        Fix improperly formatted docstring
        Allow iallocator to work without LVM storage
        Allow rpc.MakeLegacyNodeInfo to parse non-LVM results
        Fix LUTestAllocator with instance alloc
        Fix confd issue regarding --no-lvm-storage
        Fix networks in _PrepareNicModifications()
        Fix sphinx label namespace
        Clarify use of move-instance with self-signed certificates
        Remove early returns in network LUs
        Fix HooksDict() in case of no tags
        Add networks to _AllIDs()
        Fix locking in LUNetworkConnect()
        Fix networks in LUInstanceSetParams()
        Fix another docstring typo
        ...
      
      Conflicts:
              src/Ganeti/Query/Node.hs (trivial; function rename in master
                                        and 'vgs' change in devel-2.7)
              also exported new entity from TestCommon.hs (used in master)
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
      491d02ca
Loading