<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/python, 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>New APIs: guestfs_create_flags, guestfs_parse_environment,</title>
<updated>2012-10-15T14:04:43+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-10-15T10:14:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=9466060201600db47016133d80af22eb38091a49'/>
<id>9466060201600db47016133d80af22eb38091a49</id>
<content type='text'>
guestfs_parse_environment_list.

Add a new function for creating a handle:

 guestfs_h *guestfs_create_flags (unsigned flags [, ...]);

This variant lets you supply flags and extra arguments, although extra
arguments are not used at the moment.

Of particular interest is the ability to separate the creation of the
handle from the parsing of environment variables like
LIBGUESTFS_DEBUG.  guestfs_create does both together, which prevents
us from propagating errors from parsing environment variables back to
the caller (guestfs_create has always printed any errors on stderr and
then just ignored them).

If you are interested in these errors, you can now write:

 g = guestfs_create_flags (GUESTFS_CREATE_NO_ENVIRONMENT);
 if (!g)
   exit (EXIT_FAILURE);
 r = guestfs_parse_environment (g);
 if (!r)
   exit (EXIT_FAILURE);

Also you can *omit* the call to guestfs_parse_environment, which
creates a handle unaffected by the environment (which was not possible
before).

This commit also includes new (backwards compatible) changes to the
OCaml, Perl, Python, Ruby and Java constructors that let you use the
flags.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
guestfs_parse_environment_list.

Add a new function for creating a handle:

 guestfs_h *guestfs_create_flags (unsigned flags [, ...]);

This variant lets you supply flags and extra arguments, although extra
arguments are not used at the moment.

Of particular interest is the ability to separate the creation of the
handle from the parsing of environment variables like
LIBGUESTFS_DEBUG.  guestfs_create does both together, which prevents
us from propagating errors from parsing environment variables back to
the caller (guestfs_create has always printed any errors on stderr and
then just ignored them).

If you are interested in these errors, you can now write:

 g = guestfs_create_flags (GUESTFS_CREATE_NO_ENVIRONMENT);
 if (!g)
   exit (EXIT_FAILURE);
 r = guestfs_parse_environment (g);
 if (!r)
   exit (EXIT_FAILURE);

Also you can *omit* the call to guestfs_parse_environment, which
creates a handle unaffected by the environment (which was not possible
before).

This commit also includes new (backwards compatible) changes to the
OCaml, Perl, Python, Ruby and Java constructors that let you use the
flags.
</pre>
</div>
</content>
</entry>
<entry>
<title>syntax: Remove include &lt;assert.h&gt; where assert is not used.</title>
<updated>2012-09-15T11:32:41+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-09-15T11:32:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=6272e49f51a192f2f8ecd8ffbb018f60ca0bac28'/>
<id>6272e49f51a192f2f8ecd8ffbb018f60ca0bac28</id>
<content type='text'>
Found by 'make syntax-check'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found by 'make syntax-check'.
</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>python: Fix comment referring to Perl(!)</title>
<updated>2012-08-15T16:49:48+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=7dd2389359d190e81696f1b2e91e719bdc1822f2'/>
<id>7dd2389359d190e81696f1b2e91e719bdc1822f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>python: Fix optargs so we don't use special sentinel values.</title>
<updated>2012-08-15T11:16:54+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-08-15T11:14:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=42e8c093b74ac578ef75c6f3aefdbea7f46478e1'/>
<id>42e8c093b74ac578ef75c6f3aefdbea7f46478e1</id>
<content type='text'>
Previously with Python it was impossible to set a boolean or integer
optarg to -1 because that was used as a special sentinel value to
indicate that the optarg was not set.

Instead, use None as the sentinel value, since that cannot be a
boolean or integer type.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously with Python it was impossible to set a boolean or integer
optarg to -1 because that was used as a special sentinel value to
indicate that the optarg was not set.

Instead, use None as the sentinel value, since that cannot be a
boolean or integer type.
</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>
</feed>
