Displaying 5 results from an estimated 5 matches for "19aec81".
Did you mean:
19a1c8
2016 Feb 04
2
[PATCH v2 1/2] daemon: glob: add optarg to control trailing slash for dirs
Add a new optional bool "directoryslash" to indicate whether the caller
wants trailing slashes in names of directories, defaulting to true (the
current behaviour); this helps with interoperability with other tools
(such as rm).
Related to RHBZ#1293271.
---
daemon/glob.c | 11 +++++++++--
generator/actions.ml | 21 ++++++++++++++++-----
gobject/Makefile.inc | 2 ++
po/POTFILES
2016 Feb 03
0
[PATCH 3/3] customize: add globbing for --delete
...ath ->
message (f_"Deleting: %s") path;
- g#rm_rf path
+ Array.iter g#rm_rf (g#glob_expand ~nodirectoryslash:true path)
| `Edit (path, expr) ->
message (f_"Editing: %s") path;
diff --git a/generator/customize.ml b/generator/customize.ml
index 19aec81..5d9a19b 100644
--- a/generator/customize.ml
+++ b/generator/customize.ml
@@ -115,6 +115,11 @@ Wildcards cannot be used.";
Delete a file from the guest. Or delete a directory (and all its
contents, recursively).
+You can use shell glob characters in the specified path; note that such
+met...
2016 Feb 04
0
[PATCH v2 2/2] customize: add globbing for --delete
...path ->
message (f_"Deleting: %s") path;
- g#rm_rf path
+ Array.iter g#rm_rf (g#glob_expand ~directoryslash:false path)
| `Edit (path, expr) ->
message (f_"Editing: %s") path;
diff --git a/generator/customize.ml b/generator/customize.ml
index 19aec81..d272ffb 100644
--- a/generator/customize.ml
+++ b/generator/customize.ml
@@ -115,6 +115,12 @@ Wildcards cannot be used.";
Delete a file from the guest. Or delete a directory (and all its
contents, recursively).
+You can use shell glob characters in the specified path. Be careful
+to esc...
2016 Feb 03
2
[PATCH 1/2] daemon: glob: do not return directories with trailing slash
Do not pass GLOB_MARK as flag for glob(3) in the daemon implementation
of glob, so names of directories will not have a trailing slash.
This allows users to have filenames that can be used with other tools,
such as rm. Add a new test to check this (based on RHBZ#1293271).
A mild behaviour change is that users of the glob API now need to append
the slash when building paths using its results.
2016 Feb 03
6
[PATCH 1/3] sysprep, get-kernel: explicit the Guestfs parameter
Help the OCaml compiler by expliciting Guestfs.guestfs as type for 'g'
in some functions.
---
get-kernel/get_kernel.ml | 2 +-
sysprep/sysprep_operation_abrt_data.ml | 2 +-
sysprep/sysprep_operation_bash_history.ml | 2 +-
sysprep/sysprep_operation_ca_certificates.ml | 2 +-
sysprep/sysprep_operation_crash_data.ml