Commit Graph

170 Commits

Author SHA1 Message Date
Jim Meyering
480a489ee4 maint: use a git submodule for gnulib
* .gitmodules: New file, to track gnulib.
* .gnulib: Submodule directory.
* Makefile.am (EXTRA_DIST): Don't list config.rpath or
gitlog-to-changelog.
* autogen.sh: Adapt to use the new submodule.
* cfg.mk: New file.
(SUBDIRS): Add gnulib/lib and gnulib/tests.
(dist-hook): Reflect new location of getlog-to-changelog.
* configure.ac: Set build-aux/ as AUX_DIR.
Invoke gl_EARLY and gl_INIT.
(AC_CONFIG_FILES): Add gnulib/lib/Makefile and gnulib/tests/Makefile.
2009-08-03 15:14:30 +02:00
Jim Meyering
e6a3836772 build: avoid locale-specific changes in generated, VC'd file
When I build with LC_ALL=C in my environment,
the all-local rule generates po/POTFILES.in that
is sorted differently from the on that is checked in:

    diff --git a/po/POTFILES.in b/po/POTFILES.in
    index ca01b3d..154915a 100644
    --- a/po/POTFILES.in
    +++ b/po/POTFILES.in
    @@ -63,12 +63,11 @@ fish/tilde.c
     fish/time.c
     inspector/virt-inspector.pl
     java/com_redhat_et_libguestfs_GuestFS.c
    -ocaml/guestfs_c_actions.c
     ocaml/guestfs_c.c
    +ocaml/guestfs_c_actions.c
     perl/bindtests.pl
    -perl/Guestfs.c
    -perl/lib/Sys/Guestfs/Lib.pm
     perl/lib/Sys/Guestfs.pm
    +perl/lib/Sys/Guestfs/Lib.pm
     python/guestfs-py.c
     ruby/ext/guestfs/_guestfs.c
     src/guestfs-actions.c

If we generate that file so that sort always uses the C locale, then,
this type of difference will not arise.  Here's the patch to fix the
rule as well as to reflect the change in the generated file:

>From 609e1d1840da25614a7c9e8954e5356050c9f2ad Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Wed, 29 Jul 2009 08:13:35 -0400
Subject: [PATCH] build: avoid locale-specific changes in generated, VC'd file

* Makefile.am (all-local): Use LC_ALL=C to sort in C locale.
* po/POTFILES.in: Regenerate.
2009-07-29 15:58:41 +01:00
Richard Jones
f9de01b9b9 Add libguestfs-test-tool.
This is an end-user testing tool, designed to test basic functionality
of libguestfs/qemu/kernel combination on the end-user's final host
machine.

It does not perform a thorough test, but should be enough to find
most booting issues.

Also this is intended to be used when reporting bugs.
2009-07-22 23:00:30 +01:00
Richard Jones
4d321bc8f1 Fixes for non-srcdir builds: Only include POTFILES from SUBDIRS directories. 2009-07-16 19:30:12 +01:00
Richard Jones
ebc5a981dc Fix non-srcdir builds: Don't include generated *_protocol.c files in POTFILES. 2009-07-16 18:32:57 +01:00
Richard Jones
6bb4c300ad Don't clean up some non-generated files. 2009-07-16 18:31:25 +01:00
Richard Jones
811b4a51dc Fix for non-srcdir builds: more misc fixes. 2009-07-16 18:23:53 +01:00
Richard Jones
fd6fecea05 Miscellaneous fixes for non-srcdir builds. 2009-07-16 17:15:40 +01:00
Richard Jones
bdf7a27a79 New tool virt-cat: display a file in a virtual machine.
This script is just a simpler way to cat a file from a VM.  It
is otherwise equivalent to using guestfish.

 virt-cat someguest /etc/fstab

 virt-cat someguest /var/log/messages | tail
2009-07-15 16:35:54 +01:00
Richard Jones
b3595c5553 Make Perl strings translatable using perl-libintl.
All Perl strings are now marked as translatable using __"string"
or __x("string {placeholder}", placeholder => $_).  Perl strings
now get copied to the PO files.

The po/POTFILES.in file is now updated automagically whenever we
add new *.c, *.pl or *.pm files into the repository.
2009-07-15 15:30:23 +01:00
Richard Jones
67a3d3e391 Added framework for 'virt-df' command. 2009-07-10 10:44:20 +01:00
Richard Jones
6e790a9d6b Added outline of the virt-v2v script. 2009-07-10 10:22:47 +01:00
Richard W.M. Jones
e909c5e31f Add libguestfs(3) as an alias manpage for guestfs(3). 2009-07-01 14:51:06 +01:00
Richard Jones
27161658c8 New website, change et.redhat.com references to libguestfs.org 2009-06-09 11:20:05 +01:00
Richard Jones
dcd8742578 Move pure regression tests to their own subdirectory. 2009-06-04 15:06:28 +01:00
Richard W.M. Jones
d5424b938a Distribute bindtests file. 2009-05-28 20:28:04 +01:00
Richard W.M. Jones
e2206733d1 Move C API tests out of root build dir into 'capitests' subdir. 2009-05-28 13:15:34 +01:00
Richard W.M. Jones
a1e8cdf2a2 Move the appliance and build scripts into new appliance/ subdirectory. 2009-05-28 13:00:31 +01:00
Richard Jones
c59310f777 Removed contrib/*.spec files. 2009-05-27 17:11:57 +01:00
Richard Jones
7682199cfc README, TODO and HACKING files are now shown on the website. 2009-05-27 11:40:59 +01:00
Richard Jones
7784b51430 Individual tests can be skipped by setting SKIP_TEST_<CMD>[_<N>]=1 2009-05-21 20:21:43 +01:00
Richard Jones
b28815d7bf Add test-bootbootboot.sh script to EXTRA_DIST. 2009-05-21 17:16:00 +01:00
Richard Jones
d70248333e Gettextize the source, make library strings translatable. 2009-05-21 12:01:36 +01:00
Richard Jones
29204fe10d Intltoolize the source. 2009-05-21 10:54:32 +01:00
Richard Jones
123ad23a7e test-bootbootboot.sh is a test, not a source file. 2009-05-19 12:29:27 +01:00
Richard Jones
7b309445d4 Skip 'zerofree' test if the command doesn't exist in the appliance. 2009-05-19 12:29:04 +01:00
Richard W.M. Jones
7ca3bda166 Enable run-time conditional test prerequisites. 2009-05-14 14:43:53 +01:00
Richard Jones
09c42a97da Test booting repeatedly to track down qemu boot hangs. 2009-05-13 11:16:24 +01:00
Richard Jones
e595146b5c test-command is not an actual test program. 2009-05-12 17:55:33 +01:00
Richard Jones
45d78361d7 Test the 'command' and 'command_lines' functions thoroughly. 2009-05-12 17:16:59 +01:00
Richard Jones
03ff42cb2e Remove the specfile from the tarball. Include contrib/ dir. 2009-05-12 12:58:45 +01:00
Richard Jones
d43dac6948 Partial Haskell bindings. 2009-05-10 13:52:49 +01:00
Richard Jones
c419731e3a Add 'make valgrind' target to run tests under valgrind. 2009-05-09 13:40:31 +01:00
Richard Jones
77c3f9d0ed Add test script to test recovery from qemu failure. 2009-05-08 15:20:20 +01:00
Richard Jones
0fea1c7671 Replace rtl8139 network card with virtio-net. 2009-04-30 22:39:36 +01:00
Jim Meyering
41b959fd9b build: don't tell "make clean" to remove my '~' backup files
Hi Rich,

automake's policy on what to remove via "make clean" is reasonable:
if running build rules creates it, then "make clean" can and should remove it.
However, even if build rules happen
to create backup files, please remove only the specific ones
they can create, not all of the ones in a directory.  Just in case
someone relies on those and expect them to hang around...

>From 1e8be391ac17b4ddcf9671e8413d2660844e6993 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Thu, 30 Apr 2009 15:47:52 +0200
Subject: [PATCH] build: don't tell "make clean" to remove my '~' backup files

* Makefile.am (CLEANFILES): Don't remove '~' backup files.
* daemon/Makefile.am: Ditto.
* examples/Makefile.am: Ditto.
* fish/Makefile.am: Ditto.
* images/Makefile.am: Ditto.
* inspector/Makefile.am: Ditto.
* java/Makefile.am: Ditto.
* ocaml/Makefile.am: Ditto.
* ocaml/examples/Makefile.am: Ditto.
* perl/Makefile.am: Ditto.
* python/Makefile.am: Ditto.
* ruby/Makefile.am: Ditto.
* src/Makefile.am: Ditto.
2009-04-30 16:13:06 +01:00
Richard Jones
1507d230a8 [PATCH] add dependency to ensure make-initramfs.sh is rebuilt when (Jim Meyering) 2009-04-28 22:06:27 +01:00
Richard Jones
1957e9ed34 Build virt-inspector HTML for the website. 2009-04-28 17:37:59 +01:00
Richard Jones
5aa57fbd34 Added virt-inspector program from virt-v2v. 2009-04-28 14:22:01 +01:00
Richard Jones
798b8dc5d8 s/builddir/top_builddir/ (Luciano Miguel Ferreira Rocha). 2009-04-28 11:39:27 +01:00
Richard Jones
252bf70225 Clean up *~ files in recipes/ 2009-04-25 22:56:42 +01:00
Richard Jones
b6d5c9e646 Better generation of recipes page. 2009-04-25 18:28:24 +01:00
Richard Jones
396bc943ed Improve CSS on recipes page. 2009-04-25 12:20:15 +01:00
Richard Jones
b86d7b9756 Added guestfish recipes. 2009-04-25 11:34:18 +01:00
Richard W.M. Jones
81d4a01ac0 Automatically generate ChangeLog file from the git log (thanks: Jim Meyering). 2009-04-23 11:47:06 +01:00
Richard Jones
a8d2536243 Added pkgconfig file (libguestfs.pc). 2009-04-22 11:47:07 +01:00
Richard Jones
b9014d6a0d Basic Java build environment. 2009-04-21 14:25:16 +01:00
Richard Jones
a5f68bd57d Ruby bindings. 2009-04-16 22:13:20 +01:00
Richard Jones
7e7b2d30b1 Distribute TODO file. 2009-04-12 23:55:58 +01:00
Richard Jones
8eadcfd57d Minor adjustments for 0.8 release. 2009-04-11 18:04:49 +01:00