<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/python, branch 1.18.7</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>podwrapper: Add --license parameter, which is required.</title>
<updated>2012-08-30T21:04:55+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-08-21T19:11:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=d37ccaacb3fc6915f2fa8c6e04839706baf01eed'/>
<id>d37ccaacb3fc6915f2fa8c6e04839706baf01eed</id>
<content type='text'>
This adds standard LICENSE and BUGS sections to all of the man pages
that are processed by podwrapper.

Modify all the calls to $(PODWRAPPER) to add the right --license
parameter according to the content.  Note that this relaxes the
license on some code example pages, making them effectively BSD-style
licensed.

(cherry picked from commit 2f97bf873b64384835f257f8916bf1ebb2af62b4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds standard LICENSE and BUGS sections to all of the man pages
that are processed by podwrapper.

Modify all the calls to $(PODWRAPPER) to add the right --license
parameter according to the content.  Note that this relaxes the
license on some code example pages, making them effectively BSD-style
licensed.

(cherry picked from commit 2f97bf873b64384835f257f8916bf1ebb2af62b4)
</pre>
</div>
</content>
</entry>
<entry>
<title>man pages: Ensure consistent copyright/author sections, remove license</title>
<updated>2012-08-30T21:04:55+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-08-21T19:13:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=ebf3342f5a874b288340fe64bc3560e40d31e2ec'/>
<id>ebf3342f5a874b288340fe64bc3560e40d31e2ec</id>
<content type='text'>
section.

Ensure each man page contains consistent COPYRIGHT and AUTHOR
sections.

Remove the LICENSE section.  We will add that back in podwrapper in a
later commit.

(cherry picked from commit f1d98bbc79496947210ee0305f80440ed8557ec1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
section.

Ensure each man page contains consistent COPYRIGHT and AUTHOR
sections.

Remove the LICENSE section.  We will add that back in podwrapper in a
later commit.

(cherry picked from commit f1d98bbc79496947210ee0305f80440ed8557ec1)
</pre>
</div>
</content>
</entry>
<entry>
<title>python: Fix comment referring to Perl(!)</title>
<updated>2012-08-30T20:26:32+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-08-15T13:05:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=f0f284ab14fd70aae212cf38bcd316aaf922d499'/>
<id>f0f284ab14fd70aae212cf38bcd316aaf922d499</id>
<content type='text'>
(cherry picked from commit 7dd2389359d190e81696f1b2e91e719bdc1822f2)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 7dd2389359d190e81696f1b2e91e719bdc1822f2)
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Change calls to podwrapper.sh to use $(PODWRAPPER).</title>
<updated>2012-08-05T20:12:22+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-07-16T17:56:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=7634bae8e5ae3c6e1bd3168ed803a24388948dc9'/>
<id>7634bae8e5ae3c6e1bd3168ed803a24388948dc9</id>
<content type='text'>
This will allow us to easily change the location of this
script in future.
(cherry picked from commit f2ea617e224cd82496e56a41b5878063d6f02e3d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will allow us to easily change the location of this
script in future.
(cherry picked from commit f2ea617e224cd82496e56a41b5878063d6f02e3d)
</pre>
</div>
</content>
</entry>
<entry>
<title>New API: guestfs_shutdown: Cleanly shutdown the backend.</title>
<updated>2012-07-06T16:36:30+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-07-03T12:22:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=a659f2c316fa8a959a6286f214e50911253c5580'/>
<id>a659f2c316fa8a959a6286f214e50911253c5580</id>
<content type='text'>
The new API splits orderly close into a two-step process:

  if (guestfs_shutdown (g) == -1) {
    /* handle the error, eg. qemu error */
  }
  guestfs_close (g);

Note that the explicit shutdown step is only necessary in the case
where you have made changes to the disk image and want to handle write
errors.  Read the documentation for further information.

This change also:

 - deprecates guestfs_kill_subprocess

 - turns guestfs_kill_subprocess into the same as guestfs_shutdown

 - changes guestfish and other tools to call shutdown + close
   where necessary (not for read-only tools)

 - updates documentation

 - updates examples

(cherry picked from commit ffbf1475f7ae7c462db289ad4834391469e72edd)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new API splits orderly close into a two-step process:

  if (guestfs_shutdown (g) == -1) {
    /* handle the error, eg. qemu error */
  }
  guestfs_close (g);

Note that the explicit shutdown step is only necessary in the case
where you have made changes to the disk image and want to handle write
errors.  Read the documentation for further information.

This change also:

 - deprecates guestfs_kill_subprocess

 - turns guestfs_kill_subprocess into the same as guestfs_shutdown

 - changes guestfish and other tools to call shutdown + close
   where necessary (not for read-only tools)

 - updates documentation

 - updates examples

(cherry picked from commit ffbf1475f7ae7c462db289ad4834391469e72edd)
</pre>
</div>
</content>
</entry>
<entry>
<title>perl, python, ruby: Fix comments on call to close method.</title>
<updated>2012-07-06T16:36:30+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-07-03T13:42:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=65d1f27ff2362be16433e603ed8a1e690249d278'/>
<id>65d1f27ff2362be16433e603ed8a1e690249d278</id>
<content type='text'>
Make the comments consistent.

Also make the Perl example call $g-&gt;close explicitly so it is
consistent with the other examples.
(cherry picked from commit 27ebf517fae972eee49ae5911a03fabe5f4b6e54)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the comments consistent.

Also make the Perl example call $g-&gt;close explicitly so it is
consistent with the other examples.
(cherry picked from commit 27ebf517fae972eee49ae5911a03fabe5f4b6e54)
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: In create_disk example, don't call set_autosync.</title>
<updated>2012-07-06T16:36:30+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-07-03T13:36:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=352219c718c0705661e48f1fd3809ed47cde1555'/>
<id>352219c718c0705661e48f1fd3809ed47cde1555</id>
<content type='text'>
This is now set by default in all supported versions of libguestfs.
It's just confusing if the examples refer to it.
(cherry picked from commit 917550a117904ec1a06b77a7870a147014d71adb)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is now set by default in all supported versions of libguestfs.
It's just confusing if the examples refer to it.
(cherry picked from commit 917550a117904ec1a06b77a7870a147014d71adb)
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Fix a few tests where /dev/null was being used with format=qcow2.</title>
<updated>2012-06-28T08:13:41+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-25T08:03:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=05d40ce0234db9fe16703ba0e1f22088ce437a61'/>
<id>05d40ce0234db9fe16703ba0e1f22088ce437a61</id>
<content type='text'>
This was always incorrect behaviour, but qemu appears to tolerate it.

This cherry picks just the test fixes from
commit 729bb9c6b5ae0c0e7c68dc802b1617936062f966.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was always incorrect behaviour, but qemu appears to tolerate it.

This cherry picks just the test fixes from
commit 729bb9c6b5ae0c0e7c68dc802b1617936062f966.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Define builddir and abs_srcdir when they are missing.</title>
<updated>2012-06-21T11:51:45+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-17T21:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=13d1da17d4e1ae1f4b99b290aaf26020b4052039'/>
<id>13d1da17d4e1ae1f4b99b290aaf26020b4052039</id>
<content type='text'>
RHEL 5-era autoconf did not define these, so define them manually
when they are missing.

Define builddir as '.'  The scripts require this.  It won't work
in the srcdir != builddir case, but we don't care about that for
RHEL 5.

This commit also moves the builddir / abs_srcdir variable setting
above the include of subdir-rules.mk, in case that include uses
these variables.

Useful script:

  for f in $(find -name Makefile.am | xargs fgrep '$(abs_srcdir)' -l) ; do
    if ! grep -q '^abs_srcdir' $f; then
      echo missing in $f
    fi
  done
(cherry picked from commit 50aa9533e4a505e1c64dbedddb30491bfbb755d6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RHEL 5-era autoconf did not define these, so define them manually
when they are missing.

Define builddir as '.'  The scripts require this.  It won't work
in the srcdir != builddir case, but we don't care about that for
RHEL 5.

This commit also moves the builddir / abs_srcdir variable setting
above the include of subdir-rules.mk, in case that include uses
these variables.

Useful script:

  for f in $(find -name Makefile.am | xargs fgrep '$(abs_srcdir)' -l) ; do
    if ! grep -q '^abs_srcdir' $f; then
      echo missing in $f
    fi
  done
(cherry picked from commit 50aa9533e4a505e1c64dbedddb30491bfbb755d6)
</pre>
</div>
</content>
</entry>
<entry>
<title>python: Remove 'del g' from the docs, replace with 'g.close ()'.</title>
<updated>2012-04-17T16:41:43+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-04-17T16:41:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=255882a3f615c7727d2cc2f18f692513dc0a75e9'/>
<id>255882a3f615c7727d2cc2f18f692513dc0a75e9</id>
<content type='text'>
'del g' is a trap for the unwary.  If the handle has any other
references, it does nothing (in fact, it can be actively dangerous if
the user was expecting the appliance to go away).  In non-CPython it
can be delayed arbitrarily long.

Using 'g.close()' on the other hand is always safe.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'del g' is a trap for the unwary.  If the handle has any other
references, it does nothing (in fact, it can be actively dangerous if
the user was expecting the appliance to go away).  In non-CPython it
can be delayed arbitrarily long.

Using 'g.close()' on the other hand is always safe.
</pre>
</div>
</content>
</entry>
</feed>
