summaryrefslogtreecommitdiffstats
path: root/fish
Commit message (Collapse)AuthorAgeFilesLines
* fish: edit: Preserve permissions, UID, GID, SELinux context when editing ↵Richard W.M. Jones2012-02-102-1/+92
| | | | | | files (RHBZ#788641). (cherry picked from commit 7c21e49c2c83092e9fd5f40c43a03c764a6d3663)
* fish: In edit command, upload to a new file.Richard W.M. Jones2012-02-104-3/+110
| | | | | | | | If the upload fails, this means we don't leave a partially written file. Also add a test for the edit command. (cherry picked from commit ddae5abf80f65fc149eec253f14f073d397b49c2)
* fish: Refactor error handling in the 'edit' command.Richard W.M. Jones2012-02-101-24/+17
| | | | | This is just code motion. (cherry picked from commit ca80e4490463d646de4504fc2bcb4e4a722bedb8)
* fish: Fix 'test-guestfish-escapes.sh' when running an alternate guestfish ↵Richard W.M. Jones2012-01-291-12/+16
| | | | | | | | | | | | binary. The error messages would be prefixed by the path to the alternate binary, eg: ../fish/guestfish: invalid escape sequence in string (starting at offset 0) Fix this by normalizing the messages further. (cherry picked from commit 09227c9d664ca21b47b65c2fcd8fa2ddc485b554)
* fish: Filter out error messages about history file in test scriptHilko Bengen2012-01-231-1/+1
|
* Do not run appliance-related checks if not building applianceHilko Bengen2012-01-231-3/+7
|
* Replace setting of environment variables with usage of local run scriptHilko Bengen2012-01-231-3/+1
| | | | (Includes fix by RWMJ)
* fish: Remove hard-coded path from test scriptHilko Bengen2012-01-201-1/+1
|
* Tempus fugit.Richard W.M. Jones2012-01-1813-14/+14
| | | | Update all copyright dates to 2012.
* fish options parsing: Allow add_drives to be called multiple times.Richard W.M. Jones2012-01-183-10/+11
| | | | | | Ensure that the drv structure is always zeroed on allocation. Don't leak old drv->device when add_drives is called multiple times.
* fish: fix the Ctrl-\ causes guestfish to abort bug(RHBZ#596761)Wanlong Gao2012-01-041-0/+1
| | | | | | Handle SIGQUIT by guestfish, so that it can't be terminated. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
* fish: mount can be used instead of mount-options with libguestfs >= 1.14Richard W.M. Jones2011-12-231-1/+1
|
* fish: Fix --format parameter in man page.Richard W.M. Jones2011-12-231-1/+1
|
* fish: Fix test-guestfish-events.sh so it works when LIBGUESTFS_DEBUG=1 is set.Richard W.M. Jones2011-12-231-7/+1
| | | | | Various messages were added and changed when this variable was set while tests were running.
* tests: Split images -> tests/data + tests/guestsRichard W.M. Jones2011-12-224-7/+7
|
* tests: Split regressions -> various subdirectories of tests/Richard W.M. Jones2011-12-2214-0/+822
|
* fish: Allow events to be processed in guestfish.Richard W.M. Jones2011-12-165-0/+292
| | | | | | | | Add 'event', 'list-events' and 'delete-event' commands so that event handlers can be registered, listed and deleted in guestfish. The event handler is a shell script snippet or host command. Cc: Pádraig Brady <P@draigBrady.com>
* fish: -i option should fail if / is not mountable, but warn about others.Richard W.M. Jones2011-12-091-1/+7
| | | | | | | | In particular this stops a problem with guestmount where if the -i option half-recognizes the guest OS, it would mount the disk (and fail, giving only warnings), leaving the mountpoint unusable. (Thanks Pádraig Brady)
* copy-in/copy-out: Wait for the tar subprocess only (RHBZ#760669).Richard W.M. Jones2011-12-071-26/+35
|
* fish: Improve error messages when no OS / multi-boot OS found with ↵Richard W.M. Jones2011-12-071-2/+30
| | | | inspection (RHBZ#760775).
* Fix rpcgen post-processing for out-of-tree buildsHilko Bengen2011-12-061-1/+1
|
* fish: When -m option fails, canonicalize device names that are printed.Richard W.M. Jones2011-11-281-0/+15
| | | | | | | | | | | The error message now looks like this: guestfish: '/dev/vda6' could not be mounted. Did you mean one of these? /dev/sda1 (ext4) /dev/vg_f15x32/lv_root (ext4) /dev/vg_f15x32/lv_swap (swap) Note that '/dev/sda1' has been canonicalized.
* fish: Rearrange code for displaying mountpoints when -m option fails.Richard W.M. Jones2011-11-281-12/+33
| | | | This also frees the list returned by guestfs_list_filesystems.
* fish: Add MD devices to guestfish device autocompletion.Matthew Booth2011-11-211-0/+3
|
* Update FSF address.Matthew Booth2011-11-0841-41/+41
|
* fish: Use size_t instead of int when counting strings.Richard W.M. Jones2011-11-011-4/+4
|
* fish and other tools: -d option uses readonlydisk="read" (RHBZ#747290).Richard W.M. Jones2011-10-261-0/+3
| | | | | | Tools like virt-edit would not be able to edit disks marked as <readonly/> in the libvirt XML. It's not clear if this is a bug or a feature.
* Flush stdout for progress bars used by guestfish, virt-resize.Richard W.M. Jones2011-10-261-0/+1
|
* valgrind: guestfish -i: free strings before exit.Richard W.M. Jones2011-10-191-0/+2
| | | | This isn't really necessary, but it keeps valgrind happy.
* fish: docs: note how to clean up the remote process properly.Richard W.M. Jones2011-10-131-5/+6
| | | | | | | Killing it is always a bad idea, because the qemu subprocess will be left hanging around. The best thing is to send the exit command. This also makes the change to virt-sysprep.
* fish: Close guestfs handle explicitly before exiting.Richard W.M. Jones2011-10-131-0/+2
| | | | | | NOTE this is just a cleanup. It is NOT necessary for correctness, since libguestfs itself is correctly closing the handle in the exit handler.
* New tool: virt-sysprep: system preparation for guests.Richard W.M. Jones2011-10-081-0/+1
|
* fish: Add man page section on calling guestfish remote robustly from bash.Richard W.M. Jones2011-10-071-0/+32
|
* New tool: virt-alignment-scan to check alignment of partitions.Richard W.M. Jones2011-10-051-0/+1
|
* New tool: virt-sparsify to make disk images sparse.Richard W.M. Jones2011-10-041-0/+1
|
* man pages: Add a standard EXIT STATUS section to most pages.Richard W.M. Jones2011-08-271-1/+1
|
* progress: Make default UTF-8 progress bar less black.Richard W.M. Jones2011-08-261-1/+1
|
* progress: Add machine readable flag.Richard W.M. Jones2011-08-262-13/+26
| | | | | | | | Machine-readable progress bars look like: 0/100 1/100 2/100
* fish: Make progress bars into a mini library.Richard W.M. Jones2011-08-266-165/+207
| | | | This library could now be called from other virt tools.
* fish: clarify comment: shared source files are used by virt tools too.Richard W.M. Jones2011-08-261-3/+3
|
* Coverity: Initialize msg buffer.Richard W.M. Jones2011-08-231-0/+2
| | | | | msg_flags was not being initialized and would have been passed to sendmsg with a random value.
* Coverity: fix memory leak in guestfish.Richard W.M. Jones2011-08-231-2/+1
|
* pclose: Fix other places where we only tested pclose == -1.Richard W.M. Jones2011-08-231-1/+1
| | | | pclose can return > 0 when the status of the command was non-zero.
* Coverity: Check guestfs_inspect_get_product_name() != NULL before using.Richard W.M. Jones2011-08-231-1/+1
|
* fish: Add fish-cmds.h to generator_built.Richard W.M. Jones2011-08-171-0/+1
| | | | This updates commit 3064277680ad11f887691646d0fa17bb35f38c19.
* out-of-tree build: fix documentation generation IIHilko Bengen2011-08-171-2/+2
|
* out-of-tree build: remove unneeded explicit pathsHilko Bengen2011-08-171-4/+4
|
* out-of-tree build: fix documentation generationHilko Bengen2011-08-151-9/+9
|
* fish: Document that remote run in cmd substitution context hangs.Richard W.M. Jones2011-08-121-0/+11
| | | | This documents bug 592910.
* fish: Add setenv and unsetenv commands.Richard W.M. Jones2011-08-072-0/+70
| | | | | These commands allow you to manipulate the environment within guestfish.