Displaying 20 results from an estimated 100 matches similar to: "[PATCH 0/3] generator: pod2text-related improvements"
2015 Mar 12
1
[PATCH] generator: small optimization of pod2text cache memoization
Instead of save every time there's a new element in the cache, batch the
saving to disk every 100 changes, saving the unsaved remainder at the
exit.
While not a big optimization, this reduces a bit the disk usage during
generator run.
---
generator/utils.ml | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/generator/utils.ml b/generator/utils.ml
index
2019 Aug 13
0
[PATCH 3/3] generator: improve pod2text invocation
- feed the content directly to stdin, avoid the need of read (and write)
a temporary file
- read all the output at once, without a tail-recurive function
- apply trimming and first line discarding after closing the process
---
generator/utils.ml | 35 ++++++++++++++++-------------------
1 file changed, 16 insertions(+), 19 deletions(-)
diff --git a/generator/utils.ml b/generator/utils.ml
index
2017 Nov 05
3
[PATCH 1/2] common/mlstdutils: Add with_open_in and with_open_out functions.
These safe wrappers around Pervasives.open_in and Pervasives.open_out
ensure that exceptions escaping cannot leave unclosed files.
---
common/mlstdutils/std_utils.ml | 39 ++++++++++++++++++++--------------
common/mlstdutils/std_utils.mli | 12 +++++++++++
common/mltools/tools_utils.ml | 39 +++++++++++++++++-----------------
dib/dib.ml | 9 ++++----
2019 Aug 13
2
Re: [PATCH 1/2] Rust bindings: Add long description
> Can you explain which errors did you get? I tried pod2markdown on a
> couple of API longdesc's, and the result seemed OK.
> Most probably we will need to write our own pod2markdown though, as
> pod2markdown does not allow users to customize all the options that
> the Pod::Markdown module has.
Yes. Most of the results seemed OK. But, for example, translating
2013 Aug 12
3
Bug#719506: xen: FTBFS with perl 5.18: POD errors
Source: xen
Version: 4.2.2-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.18-transition
This package FTBFS with perl 5.18 (which will soon be uploaded to
unstable) owing to a stricter pod2man:
pod2text man/xl.pod.1 txt/man/xl.1.txt.tmp
man/xl.pod.1 around line 854: Expected text after =item, not a bullet
POD document had syntax errors at /usr/bin/pod2text line 84.
2010 Jun 01
1
[PATCH] fish: help command return error for non-existent commands (RHBZ#597145).
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html
-------------- next part --------------
>From ea5c6cf0341fdd8072b12723f9794506841bc688 Mon Sep 17
2019 Aug 11
5
[PATCH 1/2] Rust bindings: Add long description
`cargo doc` will generate docs with long descriptions.
I did not add the settings of outputting these docs to `/website`.
This is because
- by publishing this crate to crates.io, users can see the docs in
`docs.rs` like `https://docs.rs/guestfs/<version>/guestfs/`. It is easy
to hold multiple documents corresponding to each version.
- the style of the documents generated by `cargo doc`
2019 Jul 01
2
Re: 1.39 proposal: Let's split up the libguestfs git repo and tarballs
On Mon, Jul 01, 2019 at 06:10:48PM +0200, Pino Toscano wrote:
> On Monday, 10 June 2019 17:35:52 CEST Richard W.M. Jones wrote:
> > So while I'm not a massive fan of git submodules, now that I have used
> > them a few times with riscv stuff, they do solve a certain problem as
> > long as they are managed carefully. I think the common code and the
> > generator are
2019 Aug 10
7
[PATCH libnbd 0/5] WIP: python: Add test for doing asynch copy.
This doesn't yet work. However it does make me more convinced than
ever that we really need to sort out persistent buffer lifetimes in
the library (similar to what we did for closures).
Rich.
2012 Apr 26
3
[PATCH 1/3] gobject: NFC generated code formatting fix
---
generator/generator_gobject.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generator/generator_gobject.ml b/generator/generator_gobject.ml
index e4c175b..48ddbf0 100644
--- a/generator/generator_gobject.ml
+++ b/generator/generator_gobject.ml
@@ -391,7 +391,7 @@ let generate_gobject_optargs_source name optargs flags () =
pr "G_DEFINE_TYPE(%s, guestfs_%s,
2012 Mar 27
16
[PATCH 01/16] generator: Fix unescaped '<' and '>' in api descriptions
---
generator/generator_actions.ml | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml
index 68a7bf6..fcf363f 100644
--- a/generator/generator_actions.ml
+++ b/generator/generator_actions.ml
@@ -4664,7 +4664,7 @@ This creates an ext2/3/4 filesystem on C<device> with
an external journal on
2009 Nov 19
1
[PATCH libguestfs] syntax-check: expand TABs in generator.ml
>From 6f128e90afb055f9899011c4a592eb289e678936 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Thu, 19 Nov 2009 11:39:10 +0100
Subject: [PATCH libguestfs] syntax-check: expand TABs in generator.ml
* src/generator.ml: Expand leading TABs to spaces.
---
src/generator.ml | 46 +++++++++++++++++++++++-----------------------
1 files changed, 23 insertions(+), 23
2008 Jul 26
3
problems with update of perl-5.8.8-10.el5_2.3
List,
I have an 2.6.18-92.1.6.el5xen X86_64 machine that is failing to update
perl. I did not see any bugs reported on the list and was wondering if
anyone else had the same problem with a solution.
Thanks,
Greg Ennis
Updating:
perl x86_64 4:5.8.8-10.el5_2.3 updates
12 M
Transaction Summary
2016 Feb 26
1
[PATCH] doc: add info on per-function needed feature
Document which feature, if any, is needed for a function; this should
help users in properly checking feature availability when using certain
functions.
---
generator/c.ml | 6 ++++++
generator/fish.ml | 10 +++++++++-
generator/gobject.ml | 8 ++++++++
generator/java.ml | 7 +++++++
generator/ocaml.ml | 7 +++++++
generator/perl.ml | 6 ++++++
generator/python.ml | 5
2015 Oct 02
1
[PATCH] ruby: improve rdoc markup
- fix the syntax of hyperlinks
- replace the deprecation text with a simplier named list item, so it's
more visible
- use a named list item for the pointer to the C documentation of each
API
- add a named list item for the version of each API
---
generator/ruby.ml | 27 ++++++++++++++++-----------
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/generator/ruby.ml
2016 Sep 02
6
[PATCH 0/4] generator: Some work to split large C files
By splitting up large C files we can make parallel compiles
a bit faster.
Rich.
2015 Feb 10
3
[PATCH 1/3] generator: add a simple HTML escaping function
---
generator/utils.ml | 8 +++++++-
generator/utils.mli | 3 +++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/generator/utils.ml b/generator/utils.ml
index b24ba8c..3a62084 100644
--- a/generator/utils.ml
+++ b/generator/utils.ml
@@ -360,4 +360,10 @@ let args_of_optargs optargs =
| OInt64 n -> Int64 n
| OString n -> String n
| OStringList n ->
2010 Aug 28
4
[PATCH 0/4] Add progress bars
As discussed previously:
https://www.redhat.com/archives/libguestfs/2010-July/msg00003.html
https://www.redhat.com/archives/libguestfs/2010-July/msg00024.html
To do:
(1) Implement progress notifications for many more daemon operations.
(2) OCaml bindings to the callback.
(3) Perl bindings to the callback.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
2023 Oct 10
5
[PATCH libnbd 0/4] Miscellaneous Rust cleanups
Add an overview libnbd-rust(3) man page pointing to the real
documentation. This is like OCaml & Golang.
When reviewing the real rustdocs I noticed they basically converted
the man pages into plain text, resulting in lots of problems such as
internal links not working, no `code` annotations, etc. So I wrote a
simple POD to rustdoc translator. It is by no means perfect, but it
fixes many of
2010 Aug 31
13
[PATCH v2] Add progress bars
This is an updated and extended version of the original patch:
https://www.redhat.com/archives/libguestfs/2010-August/msg00163.html
This adds OCaml and Perl bindings (both tested), support for
progress bars in virt-resize, and adds progress notifications
to a number of the simpler commands.
Still to do is to add progress messages to more commands. There
are still a few commands which would be