<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/python/examples, branch master</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>Add Lua bindings.</title>
<updated>2012-11-17T20:02:42+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-11-17T10:10:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=ff8bfd3e92f21955d0a91b481583131f356b8fe4'/>
<id>ff8bfd3e92f21955d0a91b481583131f356b8fe4</id>
<content type='text'>
These are relatively complete, although only lightly tested.  Missing:

 - events
 - last_errno
 - user_cancel
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are relatively complete, although only lightly tested.  Missing:

 - events
 - last_errno
 - user_cancel
</pre>
</div>
</content>
</entry>
<entry>
<title>podwrapper: Add --license parameter, which is required.</title>
<updated>2012-08-21T19:33:21+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=2f97bf873b64384835f257f8916bf1ebb2af62b4'/>
<id>2f97bf873b64384835f257f8916bf1ebb2af62b4</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.
</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.
</pre>
</div>
</content>
</entry>
<entry>
<title>man pages: Ensure consistent copyright/author sections, remove license</title>
<updated>2012-08-21T19:16:29+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=f1d98bbc79496947210ee0305f80440ed8557ec1'/>
<id>f1d98bbc79496947210ee0305f80440ed8557ec1</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.
</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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace mount-options with mount where appropriate.</title>
<updated>2012-08-18T21:08:29+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-08-18T21:08:29+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=d67e6ea75dde6309ce4c6162a4a0429ab8d6709b'/>
<id>d67e6ea75dde6309ce4c6162a4a0429ab8d6709b</id>
<content type='text'>
Since our minimum supported version is now 1.16 and mount was fixed in
1.13.16, it is now safe to replace mount-options + empty options with
mount wherever it occurs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since our minimum supported version is now 1.16 and mount was fixed in
1.13.16, it is now safe to replace mount-options + empty options with
mount wherever it occurs.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: Use add_drive_opts function in examples.</title>
<updated>2012-08-02T16:21:47+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-08-02T16:21:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=863168467f14e33407c4bf9c7f790bcd4911aea3'/>
<id>863168467f14e33407c4bf9c7f790bcd4911aea3</id>
<content type='text'>
In libguestfs 1.20, you will be able to use 'add_drive'
instead of 'add_drive_opts' (except in the C bindings).

However until libguestfs 1.20 is the minimum stable version
people will still be using old versions where you have to use
'add_drive_opts'.  This makes the examples confusing.

Therefore continue to use 'add_drive_opts' in the examples
for now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In libguestfs 1.20, you will be able to use 'add_drive'
instead of 'add_drive_opts' (except in the C bindings).

However until libguestfs 1.20 is the minimum stable version
people will still be using old versions where you have to use
'add_drive_opts'.  This makes the examples confusing.

Therefore continue to use 'add_drive_opts' in the examples
for now.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Change calls to podwrapper.sh to use $(PODWRAPPER).</title>
<updated>2012-07-16T17:56:57+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=f2ea617e224cd82496e56a41b5878063d6f02e3d'/>
<id>f2ea617e224cd82496e56a41b5878063d6f02e3d</id>
<content type='text'>
This will allow us to easily change the location of this
script in future.
</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.
</pre>
</div>
</content>
</entry>
<entry>
<title>generator: Rename 'add_drive_opts' API to 'add_drive'.</title>
<updated>2012-07-14T11:42:24+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-07-14T11:42:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=7486fc6f43bdb22a989cc039e361afc4c0658d52'/>
<id>7486fc6f43bdb22a989cc039e361afc4c0658d52</id>
<content type='text'>
By using the once_had_no_optargs flag, this change is backwards
compatible for callers (except Haskell, PHP and GObject as discussed
in earlier commit).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By using the once_had_no_optargs flag, this change is backwards
compatible for callers (except Haskell, PHP and GObject as discussed
in earlier commit).
</pre>
</div>
</content>
</entry>
<entry>
<title>New API: guestfs_shutdown: Cleanly shutdown the backend.</title>
<updated>2012-07-03T20:27:29+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=ffbf1475f7ae7c462db289ad4834391469e72edd'/>
<id>ffbf1475f7ae7c462db289ad4834391469e72edd</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
</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
</pre>
</div>
</content>
</entry>
<entry>
<title>perl, python, ruby: Fix comments on call to close method.</title>
<updated>2012-07-03T13:45:42+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=27ebf517fae972eee49ae5911a03fabe5f4b6e54'/>
<id>27ebf517fae972eee49ae5911a03fabe5f4b6e54</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.
</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.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: In create_disk example, don't call set_autosync.</title>
<updated>2012-07-03T13:45:42+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=917550a117904ec1a06b77a7870a147014d71adb'/>
<id>917550a117904ec1a06b77a7870a147014d71adb</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.
</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.
</pre>
</div>
</content>
</entry>
</feed>
