This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Ganeti core".
The branch, master has been updated
via 80c80adcadacf1a4941aba46eb9340fe1130dff7 (commit)
via bdf161f151c38ba2a2c8cf0ca9631649795b6b06 (commit)
via 21acbeed3a16717154685a810d90c44f744e0da5 (commit)
via c6f36bceefe5a31f1928965d1cfeea7828d4e68a (commit)
via 8798eea992174bb60e2e3322787aef633898c3d2 (commit)
from 0d575b2a561658bee5cc5f38ead0f812639e80ae (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 80c80adcadacf1a4941aba46eb9340fe1130dff7
Author: Klaus Aehlig <[email protected]>
Date: Wed Nov 12 13:36:22 2014 +0100
Support forthcoming disks
...as per our resource-reservation design.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Niklas Hambuechen <[email protected]>
commit bdf161f151c38ba2a2c8cf0ca9631649795b6b06
Author: Klaus Aehlig <[email protected]>
Date: Wed Nov 12 12:25:32 2014 +0100
Use Template Haskell to generate Disk Objects
...instead of the manual creation. Having a single declaration
not only is easier to read, but it also improves maintainability
as changes have to be carried out in one place only.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Niklas Hambuechen <[email protected]>
commit 21acbeed3a16717154685a810d90c44f744e0da5
Author: Klaus Aehlig <[email protected]>
Date: Tue Nov 11 14:50:29 2014 +0100
Move Disk definition to a separate module
Move the definition of Disk from Ganeti.Objects to
a separate module. This allows convenient exportation of
all generated acessor functions when we start supporting
forthcoming disks. This module gets reexported from
Ganeti.Objects so that other modules are not affected.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Niklas Hambuechen <[email protected]>
commit c6f36bceefe5a31f1928965d1cfeea7828d4e68a
Author: Klaus Aehlig <[email protected]>
Date: Wed Nov 12 18:41:29 2014 +0100
Instance ArrayObject objects with forthcoming variant
Note that, at the moment, Dict and Array instances of
Instances and Disks are only used in tests. So, when
adding those instances, we do not have to worry
about backwards compatibility. We add the "forthcoming"
field in front of the Array representation; in this way,
if new fields will be added later, the old representation
will be a prefix of the then new one.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Niklas Hambuechen <[email protected]>
commit 8798eea992174bb60e2e3322787aef633898c3d2
Author: Klaus Aehlig <[email protected]>
Date: Wed Nov 12 16:35:57 2014 +0100
Instance DictObject for objects with forthcoming variant
As dictionaries are the main form of communication, all our objects
are instances of DictObject. Also create such an instance for objects
that have a forthcoming variant, by dispatching on which of the two is
the case.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Niklas Hambuechen <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 1 +
src/Ganeti/Config.hs | 28 +++--
src/Ganeti/Objects.hs | 254 +------------------------------------
src/Ganeti/Objects/Disk.hs | 271 ++++++++++++++++++++++++++++++++++++++++
src/Ganeti/Query/Instance.hs | 4 +-
src/Ganeti/THH.hs | 27 ++++-
test/hs/Test/Ganeti/Objects.hs | 44 ++++---
7 files changed, 344 insertions(+), 285 deletions(-)
create mode 100644 src/Ganeti/Objects/Disk.hs
hooks/post-receive
--
Ganeti core
--
---
You received this message because you are subscribed to the Google Groups
"ganeti-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.