Revision 7c18ef8e
b/configure.ac | ||
---|---|---|
1 | 1 |
# Configure script for Ganeti |
2 | 2 |
|
3 | 3 |
AC_PREREQ(2.59) |
4 |
AC_INIT(ganeti, 1.2b1, ganeti@googlegroups.com)
|
|
4 |
AC_INIT(ganeti, 1.2b2, ganeti@googlegroups.com)
|
|
5 | 5 |
AC_CONFIG_AUX_DIR(autotools) |
6 | 6 |
AM_INIT_AUTOMAKE([foreign tar-ustar dist-bzip2]) |
7 | 7 |
|
... | ... | |
19 | 19 |
AC_MSG_WARN([docbook2man not found.]) |
20 | 20 |
fi |
21 | 21 |
|
22 |
AC_SUBST(PACKAGE_VERSION) |
|
23 |
|
|
22 | 24 |
AC_CONFIG_FILES([Makefile man/Makefile doc/Makefile |
23 | 25 |
testing/Makefile tools/Makefile |
24 | 26 |
lib/Makefile scripts/Makefile daemons/Makefile |
25 |
doc/examples/Makefile]) |
|
27 |
doc/examples/Makefile lib/version.py])
|
|
26 | 28 |
|
27 | 29 |
AC_OUTPUT |
b/lib/Makefile.am | ||
---|---|---|
1 |
MAINTAINERCLEANFILES = version.py |
|
2 |
EXTRA_DIST = version.py.in |
|
3 |
nodist_pkgpython_PYTHON = version.py |
|
1 | 4 |
pkgpython_PYTHON = __init__.py backend.py cli.py cmdlib.py config.py \ |
2 | 5 |
objects.py errors.py logger.py ssh.py utils.py rpc.py \ |
3 | 6 |
bdev.py hypervisor.py opcodes.py mcpu.py constants.py \ |
b/lib/constants.py | ||
---|---|---|
21 | 21 |
|
22 | 22 |
"""Module holding different constants.""" |
23 | 23 |
|
24 |
from ganeti import version |
|
25 |
|
|
24 | 26 |
# various versions |
25 | 27 |
CONFIG_VERSION = 3 |
26 | 28 |
PROTOCOL_VERSION = 2 |
27 |
RELEASE_VERSION = "1.2a1"
|
|
29 |
RELEASE_VERSION = version.RELEASE_VERSION
|
|
28 | 30 |
OS_API_VERSION = 4 |
29 | 31 |
EXPORT_VERSION = 0 |
30 | 32 |
|
b/lib/version.py.in | ||
---|---|---|
1 |
#!/usr/bin/python |
|
2 |
# |
|
3 |
|
|
4 |
# Copyright (C) 2007 Google Inc. |
|
5 |
# |
|
6 |
# This program is free software; you can redistribute it and/or modify |
|
7 |
# it under the terms of the GNU General Public License as published by |
|
8 |
# the Free Software Foundation; either version 2 of the License, or |
|
9 |
# (at your option) any later version. |
|
10 |
# |
|
11 |
# This program is distributed in the hope that it will be useful, but |
|
12 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
14 |
# General Public License for more details. |
|
15 |
# |
|
16 |
# You should have received a copy of the GNU General Public License |
|
17 |
# along with this program; if not, write to the Free Software |
|
18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|
19 |
# 02110-1301, USA. |
|
20 |
|
|
21 |
|
|
22 |
"""Ganeti version |
|
23 |
""" |
|
24 |
|
|
25 |
RELEASE_VERSION = "@PACKAGE_VERSION@" |
Also available in: Unified diff