Statistics
| Branch: | Tag: | Revision:

root / autotools @ a10caf87

# Date Author Comment
a10caf87 10/27/2009 01:53 pm Michael Hanselmann

bash_completion: Move common code into function

This reduces the size of the script by about 9 kB.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

11c684bf 10/02/2009 06:53 pm Michael Hanselmann

Disallow "xrange" function

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

9648f1b4 10/02/2009 03:03 pm Michael Hanselmann

check-python-code: Show line number for problems

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Olivier Tharan <>

064c21f8 09/18/2009 01:53 pm Iustin Pop

Remove explicit DEBUG_OPT and add it by default

Since >90% of the commands take the “--debug” option, and all should
actually take it (the gnt-job command is currently missing it), it makes
sense to simply remove this and add it by default in cli.py.

Signed-off-by: Iustin Pop <>...

1f4e391b 09/16/2009 07:13 pm Michael Hanselmann

Show "--help" in bash completion

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

b757f830 09/11/2009 05:34 pm Michael Hanselmann

check-python-code: Report EOL whitespace

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Luca Bigliardi <>

eed5c5df 09/11/2009 05:33 pm Michael Hanselmann

Check for tabs and long lines in Python code

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

e948770c 09/10/2009 07:01 pm Michael Hanselmann

Move LoadModule function to ganeti.build

It should only be used at build-time.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

2d3ed64b 09/04/2009 06:58 pm Michael Hanselmann

Add bash completion for --node node1[:node2]

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Luca Bigliardi <>

5b0ca9d4 09/04/2009 06:58 pm Michael Hanselmann

Add more debugging to bash completion

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Luca Bigliardi <>

d6f5892b 09/03/2009 06:44 pm Michael Hanselmann

Move LoadModule function to utils

It can be used by unittests for daemons/* or scripts/*.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Luca Bigliardi <>

63d44c55 08/28/2009 06:24 pm Michael Hanselmann

Bash completion: Implement dynamic option value completion

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Olivier Tharan <>

30d44392 08/28/2009 06:24 pm Michael Hanselmann

Bash completion: Add function to get all iallocators

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Olivier Tharan <>

d4b94fe8 08/28/2009 06:24 pm Michael Hanselmann

Bash completion: Simplify option completion

This makes the output file quite a bit smaller and is needed
in preparation for non-static option completion (e.g. list of
nodes).

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Olivier Tharan <>

632d5090 08/28/2009 06:24 pm Michael Hanselmann

Bash completion: Support for --foo=bar option format

That is with the equal sign.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

580ef58d 08/28/2009 06:24 pm Michael Hanselmann

Bash completion: Small optimizations

$2 doesn't contain the correct value when completing something like
"--disk-template=…". Getting it via COMP_WORDS is better.

Short options (e.g. -I) can't have an equal sign.

Also add useful debugging commands for development....

5431eff1 08/26/2009 07:08 pm Michael Hanselmann

bash completion: Allow arguments with min < max arguments

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

b959138f 08/25/2009 06:38 pm Michael Hanselmann

Add script to run build commands in temporary directory

Python always compiles imported modules. By running these targets
in a temporary directory we don't pollute the source tree.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

434c34a5 08/25/2009 06:38 pm Michael Hanselmann

Simplify manpage building

This eliminates one temporary directory in the process.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

5a78e2e7 08/25/2009 06:38 pm Michael Hanselmann

Handle more errors in bash completion

Don't print error messages if cluster hasn't been initialized yet.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

83ec7961 08/24/2009 06:01 pm Michael Hanselmann

Add ArgHost class

It expands to the hostnames known by bash.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

4f3d5b76 08/24/2009 04:53 pm Michael Hanselmann

Use script to generate bash completion

Completion for tools/burnin is not yet implemented. It needs to be
converted to definition-based options handling first.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

65dfd777 10/02/2008 01:22 pm Michael Hanselmann

Use docbook2* paths found during configure for actual build

docbook-wrapper had the names for the docbook2* programs hardcoded. This
patch changes Makefile.am and the wrapper script to pass them via
another argument.

Another issue where rapi.in was built before rapi-resources.sgml is...

8ab8e969 07/01/2008 03:13 pm Michael Hanselmann

Set locale when using docbook programs

At least docbook2man inserts a date formatted using the current
locale into its output.

Reviewed-by: iustinp

e8230860 06/19/2008 03:56 pm Michael Hanselmann

Use a single Makefile.am instead of many

This change allows us to use cleaner dependencies between
directories. The build system is basically rewritten in large parts
and may contain bugs.

Reviewed-by: iustinp

6e06b36c 11/26/2007 05:48 pm Iustin Pop

Add checking of python modules at ./configure time

This patch adds checking for our external python modules at the
./configure stage, as it's better to check than rely on documentation.

The patch adds one autoconf macro from the autoconf macro archive
(http://autoconf-archive.cryp.to)...