Displaying 20 results from an estimated 25 matches for "add_source".
2006 Mar 06
2
Cookies & gsub ?
I''m looking to store the current params into a/some cookie(s).
This works:
@params.each_pair do |this_index, this_param|
cookies[this_index] = this_param
end
Except, I get session-only cookies. This doesn''t work:
@params.each_pair do |this_index, this_param|
cookies[this_index] = {
:value => this_param,
:expires => 30.days.from_now
}
end
2014 Jan 10
3
[PATCH 0/3] Timezone and keyboard layout settings in virt-builder and virt-sysprep.
Setting timezone is easy.
It turns out to be almost impossible to set keyboard layout in
virt-builder sanely, so I have added some examples instead.
Coming up next, setting languages in virt-builder (clue: very very
very hard).
Rich.
2016 Jun 02
3
[PATCH 0/3] builder: Warn if --output is a host partition.
Rather complex patch to solve a small user error. Warn if the
user is doing something like: virt-builder -o /dev/sdX1
Rich.
2014 Jan 24
2
[PATCH 0/2] Implement virt-builder --selinux-relabel option.
Do SELinux relabelling properly.
2015 Sep 01
3
[PATCH 1/3] mllib: make few command line options stuff private
Make print_version_and_exit, long_options, display_short_options, and
display_long_options private, as set_standard_options now takes care of
handling the job for the common command line options.
---
mllib/common_utils.mli | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/mllib/common_utils.mli b/mllib/common_utils.mli
index 79032bc..24f8f83 100644
--- a/mllib/common_utils.mli
+++
2013 Jun 19
2
Compact databases and removing stale records at the same time
...atabases at all - the idea is that all except the "temp" database are read-only for all callers.
Thanks,
Bron.
----
int xapian_compact_dbs(const char *dest, const char **sources)
{
int r = 0;
try {
Xapian::Compactor *c = new Xapian::Compactor;
while (*sources) {
c->add_source(*sources++);
}
c->set_destdir(dest);
/* we never write to compresion targets again */
c->set_compaction_level(Xapian::Compactor::FULLER);
c->set_multipass(true);
c->compact();
}
catch (const Xapian::Error &err) {
syslog(LOG_ERR, "IOERROR: Xapian: caught excep...
2016 Jul 15
5
[PATCH 0/3] mllib: Various fixes and changes to Getopt module.
The second patch is obviously not complete yet - for discussion only.
Rich.
2016 Jul 18
0
[PATCH v2 2/3] mllib: Use L"..." and S '...' for long and short options.
...[ "--size" ], Getopt.String ("size", set_size), s_"Set output disk size";
- [ "--smp" ], Getopt.Int ("vcpus", set_smp), s_"Set number of vCPUs";
- [ "--source" ], Getopt.String ("URL", add_source), s_"Set source URL";
- [ "--no-sync" ], Getopt.Clear sync, s_"Do not fsync output file on exit";
- [ "--no-warn-if-partition" ], Getopt.Clear warn_if_partition,
+ [ L"size" ], Getopt.String ("size", set_size),...
2015 Aug 31
2
[PATCH 1/2] mllib: add and use set_standard_options
...rg.Int set_memsize, "mb" ^ " " ^ s_"Set memory size";
@@ -143,26 +141,12 @@ let parse_cmdline () =
"--smp", Arg.Int set_smp, "vcpus" ^ " " ^ s_"Set number of vCPUs";
"--source", Arg.String add_source, "URL" ^ " " ^ s_"Set source URL";
"--no-sync", Arg.Clear sync, " " ^ s_"Do not fsync output file on exit";
- "-v", Arg.Unit set_verbose, " " ^ s_"Enable debugging messages";...
2016 Jul 18
4
[PATCH v2 0/3] mllib: Various fixes and changes to Getopt module.
v1 -> v2:
- Further fixes to Getopt int parsing.
- Completed the L/S changes.
- Fixed the test suite so it passes now. Also we don't need the
special-case tests for 64 bit arch.
Rich.
2016 Jul 18
3
[PATCH v4 0/2] mllib: Various fixes and changes to Getopt module.
v3 -> v4:
- Pushed the first patch upstream since it was ACKed.
- Prevent use of M except for the special virt-v2v options.
- Sort the options after added --help etc.
- Make corresponding fixes to the tests.
Rich.
2016 Jul 18
4
[PATCH v3 0/3] mllib: Various fixes and changes to Getopt module.
v2 -> v3:
- Add M variant and test it.
Rich.
2016 Jul 07
12
[PATCH v3 0/8] v2v: Move Curl wrapper to mllib and more.
v2 -> v3:
- Changes to the Curl API suggested by Pino.
2016 Jul 07
9
[PATCH v2 0/8] v2v: Move Curl wrapper to mllib and use it for virt-builder (and more).
v1 -> v2:
- Fixed the bug with precedence of if / @.
- Add some imperative list operators inspired by Perl, and use those
for constructing the Curl arguments, and more.
Rich.
2017 Nov 21
2
[PATCH v3 0/2] common/mlstdutils: Extend the List module.
v2 -> v3:
- Renamed List.assoc_ -> List.assoc_lbl.
- Rebased on top of current master branch.
Rich.
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
..."--size", Arg.String set_size, "size" ^ " " ^ s_"Set output disk size";
> - "--smp", Arg.Int set_smp, "vcpus" ^ " " ^ s_"Set number of vCPUs";
> - "--source", Arg.String add_source, "URL" ^ " " ^ s_"Set source URL";
> - "--no-sync", Arg.Clear sync, " " ^ s_"Do not fsync output file on exit";
> - "--no-warn-if-partition", Arg.Clear warn_if_partition,
> -...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...e";
- "--size", Arg.String set_size, "size" ^ " " ^ s_"Set output disk size";
- "--smp", Arg.Int set_smp, "vcpus" ^ " " ^ s_"Set number of vCPUs";
- "--source", Arg.String add_source, "URL" ^ " " ^ s_"Set source URL";
- "--no-sync", Arg.Clear sync, " " ^ s_"Do not fsync output file on exit";
- "--no-warn-if-partition", Arg.Clear warn_if_partition,
-...
2016 Jul 11
2
[PATCH v2] OCaml tools: add and use a Getopt module
...e";
- "--size", Arg.String set_size, "size" ^ " " ^ s_"Set output disk size";
- "--smp", Arg.Int set_smp, "vcpus" ^ " " ^ s_"Set number of vCPUs";
- "--source", Arg.String add_source, "URL" ^ " " ^ s_"Set source URL";
- "--no-sync", Arg.Clear sync, " " ^ s_"Do not fsync output file on exit";
- "--no-warn-if-partition", Arg.Clear warn_if_partition,
-...
2016 Jul 13
3
[PATCH v3 1/2] OCaml tools: add and use a Getopt module
...e";
- "--size", Arg.String set_size, "size" ^ " " ^ s_"Set output disk size";
- "--smp", Arg.Int set_smp, "vcpus" ^ " " ^ s_"Set number of vCPUs";
- "--source", Arg.String add_source, "URL" ^ " " ^ s_"Set source URL";
- "--no-sync", Arg.Clear sync, " " ^ s_"Do not fsync output file on exit";
- "--no-warn-if-partition", Arg.Clear warn_if_partition,
-...
2017 Oct 08
4
[PATCH 0/3] common/mlstdutils: Add Std_utils List and Option modules.
In Std_utils we already extend Char and String. These commits take it
a little further by extending List and adding a new Option submodule.
All basically simple refactoring.
Rich.