Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ f361a6ee

Name Size
  Confd
  Cpu
  Curl
  DataCollectors
  HTools
  Hs2Py
  Hypervisor
  Monitoring
  Query
  Storage
BasicTypes.hs 7.8 kB
Common.hs 14.4 kB
Compat.hs 1.4 kB
Config.hs 11.6 kB
ConfigReader.hs 11.6 kB
ConstantUtils.hs 1.8 kB
Constants.hs 990 Bytes
Daemon.hs 14.8 kB
Errors.hs 6.2 kB
Hash.hs 1.8 kB
HsConstants.hs 4.8 kB
JQueue.hs 10.7 kB
JSON.hs 9.9 kB
Jobs.hs 3.3 kB
Logging.hs 4.5 kB
Luxi.hs 15.7 kB
Network.hs 3.5 kB
Objects.hs 24.9 kB
OpCodes.hs 27 kB
OpParams.hs 44.9 kB
Parsers.hs 1.7 kB
Path.hs 3.4 kB
PyConstants.hs.in 945 Bytes
PyValueInstances.hs 2 kB
Rpc.hs 16.2 kB
Runtime.hs 6.2 kB
Ssconf.hs 5 kB
THH.hs 46.1 kB
Types.hs 22.1 kB
Utils.hs 16.1 kB
Version.hs.in 246 Bytes

Latest revisions

# Date Author Comment
f361a6ee 09/12/2013 01:51 pm Jose A. Lopes

Haskell to Python constants: more constants

  • move several groups of constants, from Python to Haskell, which are
    currently being used in Haskell, including SSH and daemon related
    constants, policy allocation, blockdev driver manual (this is a
    single constant), auto repair related constants, and data collector...
26eca119 09/11/2013 11:01 am Jose A. Lopes

Add user separation constants

Add user separation constants, such as, 'daemonsGroup', 'rapiGroup',
and 'rapiUser', to the Haskell to Python constant generation
infrastructure.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Klaus Aehlig <>

9413ef24 09/10/2013 11:58 am Jose A. Lopes

Haskell to Python constants: add 'adminstAll'

Add constant 'adminstAll' to Haskell to Python constant generation.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Klaus Aehlig <>

f2b6e7d4 09/10/2013 11:58 am Jose A. Lopes

Add 'FrozenSet'

Add type 'FrozenSet' that wrap a Haskell 'Set', and a guarded
constructor for this type and a 'PyValue' instance.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Klaus Aehlig <>

4c9fdf69 09/10/2013 11:58 am Jose A. Lopes

Fix module documentation

Fix 'Ganeti.Hs2Py.ListContants.hs.in' template module documentation to
warn about automatic module generation.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Klaus Aehlig <>

c93041a5 09/10/2013 11:58 am Jose A. Lopes

Fix module documentation

Fix 'HsConstants' module documentation to warn about proper module
usage.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Klaus Aehlig <>

4651c69f 09/10/2013 11:58 am Jose A. Lopes

Wrap 'Set' in 'ListSet' for the opcodes

In what Haskell to Python opcodes are concerned, a Haskell 'Set' is
translated into a Python 'list'. In other words, currently, opcodes
that handle sets of parameters are actually handling lists because
this is how sets are currently encoded. This patch introduces a new...

3a933ed8 09/10/2013 11:58 am Jose A. Lopes

Fix 'List' instance of 'PyValue'

Fix 'List' instance of 'PyValue' to properly convert Haskell lists to
Python lists.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Guido Trotter <>

ce1b0c05 08/29/2013 04:05 pm Jose A. Lopes

Haskell to Python opcodes: fix Unit

Fix how Haskell to Python opcode generation handles unit. It seems
that, in 'template-haskell-2.7.0', unit is represented by Template
Haskell as a constructor of the form '(ConT name)', where 'name' is
the constructor name for 'Unit'. However, in 'template-haskell-2.8.0'...

73b63a40 08/29/2013 01:17 pm Jose A. Lopes

Import original constants instead of generated

Haskell to Python constant generation introduced duplicated constants
in Haskell. This patch eliminates the duplication and fixes Haskell
to import the correct constants, instead of the generated ones.

Signed-off-by: Jose A. Lopes <>...

View revisions

Also available in: Atom