<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/tools, branch stable-1.4</title>
<subtitle>[MIRROR] library for accessing and modifying guest disk images</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/'/>
<entry>
<title>df: Correctly quote libvirt domain and filesystem in --csv mode (RHBZ#639986).</title>
<updated>2010-10-23T14:51:55+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-10-18T13:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=a5ba0c72db2b7488b9f4ad5fab4784e9a8723f22'/>
<id>a5ba0c72db2b7488b9f4ad5fab4784e9a8723f22</id>
<content type='text'>
This fixes virt-df --csv when used with libvirt domains that contain
quotes, spaces, commas and other lesser-used characters.
(cherry picked from commit f7475ec577b7ca810185e0fd70a39ac9adaae620)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes virt-df --csv when used with libvirt domains that contain
quotes, spaces, commas and other lesser-used characters.
(cherry picked from commit f7475ec577b7ca810185e0fd70a39ac9adaae620)
</pre>
</div>
</content>
</entry>
<entry>
<title>rescue: Fix typo in comment.</title>
<updated>2010-08-26T21:49:50+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-08-26T14:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=bc4019879465a1717decf7b41640f36360924875'/>
<id>bc4019879465a1717decf7b41640f36360924875</id>
<content type='text'>
(cherry picked from commit daead56fae46a4fedfef176fa3ed1ba37f88a078)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit daead56fae46a4fedfef176fa3ed1ba37f88a078)
</pre>
</div>
</content>
</entry>
<entry>
<title>tar: Remove redundant use statement.</title>
<updated>2010-07-12T07:49:07+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-07-11T22:11:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=e011cbc57fe1e6e5e1c78c3d399a46af500953bb'/>
<id>e011cbc57fe1e6e5e1c78c3d399a46af500953bb</id>
<content type='text'>
(cherry picked from commit 70d27f6e796097630134bd8ebc2b65a65b1bf5c4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 70d27f6e796097630134bd8ebc2b65a65b1bf5c4)
</pre>
</div>
</content>
</entry>
<entry>
<title>edit: Clean up temporary files.</title>
<updated>2010-07-12T07:48:17+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-07-11T22:11:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=c94c97db6c980592aef3f1b4b73a90a8b4ecc47a'/>
<id>c94c97db6c980592aef3f1b4b73a90a8b4ecc47a</id>
<content type='text'>
Note to self: The 'tempfile' function does *not* default to
removing files with the program exits!

For stable-1.4 branch:
 - Cherry picked from commit 10ea14a3f1adb7023dd0601e4759bd24a030a1c3
 - Rebased
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note to self: The 'tempfile' function does *not* default to
removing files with the program exits!

For stable-1.4 branch:
 - Cherry picked from commit 10ea14a3f1adb7023dd0601e4759bd24a030a1c3
 - Rebased
</pre>
</div>
</content>
</entry>
<entry>
<title>virt-df: Disallow -h and --csv options together (RHBZ#600977).</title>
<updated>2010-06-08T15:50:52+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-06-08T15:44:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=aaf03a51a26ee501f5dbf2720bbb8a5e3b4e1e6b'/>
<id>aaf03a51a26ee501f5dbf2720bbb8a5e3b4e1e6b</id>
<content type='text'>
Before this commit, if you used the -h and --csv options together
you would get these warnings from virt-df:

$ virt-df -h --csv Guest
Virtual Machine,Filesystem,Size,Used,Available,Use%
Argument "13.5G" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298.
Argument "4.7G" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298.
Argument "8.1G" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298.
"/dev/vg_trick/RHEL55x64","/dev/VolGroup00/LogVol00",13,4,8,34.8%
Argument "98.7M" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298.
Argument "18.8M" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298.
Argument "74.9M" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298.
"/dev/vg_trick/RHEL55x64","/dev/vda1",98,18,74,19.0%

We could fix this so that the human-readable numbers get written
into the CSV file.  However would probably be wrong for most uses
of the CSV format (databases and spreadsheets) since they would not
be able to interpret these human-readable numbers, or worse could
misinterpret, eg. thinking that "1M" and "1G" are both 1.

Therefore this commit disallows this combination of options.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this commit, if you used the -h and --csv options together
you would get these warnings from virt-df:

$ virt-df -h --csv Guest
Virtual Machine,Filesystem,Size,Used,Available,Use%
Argument "13.5G" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298.
Argument "4.7G" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298.
Argument "8.1G" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298.
"/dev/vg_trick/RHEL55x64","/dev/VolGroup00/LogVol00",13,4,8,34.8%
Argument "98.7M" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298.
Argument "18.8M" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298.
Argument "74.9M" isn't numeric in printf at /home/rjones/d/libguestfs/tools/virt-df line 298.
"/dev/vg_trick/RHEL55x64","/dev/vda1",98,18,74,19.0%

We could fix this so that the human-readable numbers get written
into the CSV file.  However would probably be wrong for most uses
of the CSV format (databases and spreadsheets) since they would not
be able to interpret these human-readable numbers, or worse could
misinterpret, eg. thinking that "1M" and "1G" are both 1.

Therefore this commit disallows this combination of options.
</pre>
</div>
</content>
</entry>
<entry>
<title>resize: Refresh the examples in the documentation.</title>
<updated>2010-05-25T10:45:23+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-05-25T10:45:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=0e28e4104d96bf0bf5b88fb07bb7e5f9f6e6f41f'/>
<id>0e28e4104d96bf0bf5b88fb07bb7e5f9f6e6f41f</id>
<content type='text'>
The documentation was previously very intimidating.  Bring some
common, simple examples up to the top of the page in a separate
section.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The documentation was previously very intimidating.  Bring some
common, simple examples up to the top of the page in a separate
section.
</pre>
</div>
</content>
</entry>
<entry>
<title>New API: write for creating files with fixed content (RHBZ#501889).</title>
<updated>2010-05-20T09:30:12+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-05-18T20:51:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=3920ad95f6b2db8fbf20aa26692877a09070cb04'/>
<id>3920ad95f6b2db8fbf20aa26692877a09070cb04</id>
<content type='text'>
The guestfs_write call can be used to create small files with
arbitrary 8 bit content, including \0 bytes.

This replaces and deprecates write-file, which cannot be modified
to use BufferIn because of an unfortunate choice in the ABI: the
size parameter to write-file, if zero, means that the daemon tries
to calculate the length of the buffer using strlen.  However this
fails if we pass a zero-length buffer using BufferIn because then
the daemon tries to do strlen on a (really) zero length buffer, not
even containing a terminating \0 character, thus segfaulting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The guestfs_write call can be used to create small files with
arbitrary 8 bit content, including \0 bytes.

This replaces and deprecates write-file, which cannot be modified
to use BufferIn because of an unfortunate choice in the ABI: the
size parameter to write-file, if zero, means that the daemon tries
to calculate the length of the buffer using strlen.  However this
fails if we pass a zero-length buffer using BufferIn because then
the daemon tries to do strlen on a (really) zero length buffer, not
even containing a terminating \0 character, thus segfaulting.
</pre>
</div>
</content>
</entry>
<entry>
<title>virt-df: Display domains in sorted order.</title>
<updated>2010-05-14T18:42:48+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-05-14T18:42:48+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=5d5565ca24b95719461b0c0aebdb0651dd2671ca'/>
<id>5d5565ca24b95719461b0c0aebdb0651dd2671ca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improved error if virt-inspector cannot find OSes in image (RHBZ#591142).</title>
<updated>2010-05-13T15:22:10+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-05-12T17:11:37+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=94e310dcfbcd368cbe02dbc1643ed2ff9821cd48'/>
<id>94e310dcfbcd368cbe02dbc1643ed2ff9821cd48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>po: Include strings from Perl programs in the PO files (RHBZ#559963).</title>
<updated>2010-05-12T17:13:01+00:00</updated>
<author>
<name>Richard Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2010-05-12T13:24:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=feb0cd04822231f056c3086f322afbefc2e2467c'/>
<id>feb0cd04822231f056c3086f322afbefc2e2467c</id>
<content type='text'>
xgettext will only recognize '*.pl' as being a Perl file (otherwise
it treats it as a C file and does not correctly find any strings
in it).

This commit also fixes two actual bugs that xgettext found in the
strings in our Perl programs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
xgettext will only recognize '*.pl' as being a Perl file (otherwise
it treats it as a C file and does not correctly find any strings
in it).

This commit also fixes two actual bugs that xgettext found in the
strings in our Perl programs.
</pre>
</div>
</content>
</entry>
</feed>
