Commit Graph

24 Commits

Author SHA1 Message Date
Jim Meyering
1fc38df2df build: tweak HACKING so we pass "make syntax-check"
* HACKING: Convert leading TABs.
2009-08-04 14:47:09 +02:00
Jim Meyering
4c2c2793ba Document and enforce the new spaces-only indentation policy.
* cfg.mk (disable_temporarily): Remove sc_TAB_in_indentation,
to enable the "make syntax-check" that enforces this.
* .x-sc_TAB_in_indentation: New file.  Exceptions.
* HACKING: Document the policy, with tips on how to conform.
2009-08-03 18:05:17 +02:00
Jim Meyering
2f1a50d816 Convert all TABs-as-indentation to spaces.
Do it by running this command:
[exempted files are matched via .x-sc_TAB_in_indentation]

  git ls-files \
    | pcregrep -vf .x-sc_TAB_in_indentation \
    | xargs pcregrep -l '^ *\t' \
    | xargs perl -MText::Tabs -ni -le \
      '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
2009-08-03 17:17:57 +02:00
Richard Jones
0f2e9c84e9 Replace shell_quote function with %Q and %R printf specifiers.
%Q => simple shell quoted string
%R => path will be prefixed by /sysroot

eg. snprintf (cmd, sizeof cmd, "cat %R", path); system (cmd);
2009-07-28 10:57:57 +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
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
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 Jones
92d47d7f85 Update with links to the new mailing list. 2009-07-08 17:20:52 +01:00
Richard W.M. Jones
da85ed425d Generator now runs automatically when it has changed. 2009-07-02 11:51:07 +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
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
d70248333e Gettextize the source, make library strings translatable. 2009-05-21 12:01:36 +01:00
Richard Jones
d43dac6948 Partial Haskell bindings. 2009-05-10 13:52:49 +01:00
Richard Jones
12baf36e87 Experimental febootstrap install script. 2009-05-08 20:16:03 +01:00
Richard Jones
5aa57fbd34 Added virt-inspector program from virt-v2v. 2009-04-28 14:22:01 +01:00
Richard Jones
7f818fa00c Java bindings compile, not tested. 2009-04-21 21:14:55 +01:00
Richard Jones
0232e72282 Added tar-in, tar-out, tgz-in, tgz-out commands. 2009-04-20 15:54:22 +01:00
Richard Jones
7bf3e1a435 Add ruby/ directory, add more warnings. 2009-04-18 21:21:44 +01:00
Richard Jones
a2e1d51acd Updated HACKING notes about debugging. 2009-04-09 13:19:12 +01:00
Richard Jones
acf9000252 Added framework for the language bindings. 2009-04-07 13:08:50 +01:00
Richard Jones
bf17bf81fe Debugging tips. 2009-04-06 11:43:14 +01:00
Richard Jones
f5d2602bf6 Added a HACKING file. 2009-04-03 22:24:32 +01:00