Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Feb 27, 2015
  1. rwmjones

    Version 1.29.27.

    rwmjones authored
  2. rwmjones

    po-docs: Ship some untranslated PO files.

    rwmjones authored
    Add untranslated PO files to EXTRA_DIST.
  3. rwmjones

    convert_windows: split firstboot into steps

    Roman Kagan authored rwmjones committed
    Instead of doing all firstboot actions in a single script, take the
    advantage of the firstboot infrastructure and store and run unrelated
    actions as individual steps.
    
    This facilitates troubleshooting and fault recovery; besides it makes
    adding more actions easier.
    
    Signed-off-by: Roman Kagan <rkagan@parallels.com>
  4. rwmjones

    firstboot: make script naming descriptive

    Roman Kagan authored rwmjones committed
    The firstboot infrastructure used to give the firstboot scripts some
    cryptic names which were impossible to relate to the actions they were
    supposed to take.
    
    This patch reworks the scheme such that the caller registering a
    firstboot script has to provide a descriptive name for the action.  That
    name, with non-alphanumeric characters replaced with dashes, prefixed by
    the serial number, is then used as the name of the script, e.g.
    
      0004-install-gcc
    
    or
    
      0002-msiexec--i-foo-msi.bat
    
    OTOH the numbering becomes internal to the API, i.e. the scripts are
    numbered and executed in the order they are registered.
    
    This greatly facilitates debugging and troubleshooting in case when
    there are multiple firstboot scripts.
    
    Signed-off-by: Roman Kagan <rkagan@parallels.com>
  5. rwmjones

    firstboot: enhance firstboot driver script for Windows

    Roman Kagan authored rwmjones committed
    This patch is an attempt to enhance the firstboot driver script for
    Windows, and make it somewhat closer in functionality to what is done
    for Linux guests.
    
    Specifically, for every firstboot script it now will log its exit
    status, and, if the script reported success, move it to -done directory.
    
    Signed-off-by: Roman Kagan <rkagan@parallels.com>
  6. rwmjones

    firstboot: consolidate line ending conversion

    Roman Kagan authored rwmjones committed
    This patch moves line ending conversion for windows scripts into a
    separate helper function.
    
    This simplifies code a bit, and fixes the problem that actual firstboot
    scripts used to remain with unix-style line endings.
    
    Signed-off-by: Roman Kagan <rkagan@parallels.com>
Commits on Feb 26, 2015
  1. Pino Toscano

    builder: handle -v and -x flags like in other tools (RHBZ#1196100)

    ptoscano authored
    Make sure that -x enables tracing and -v enables verbose mode, just like
    other tools do.
    
    Kind of followup of commit b6b9b90.
Commits on Feb 23, 2015
  1. Pino Toscano
  2. Pino Toscano

    mllib: add helper mkdir_p

    ptoscano authored
    Small function to create in OCaml-based code a directory and its
    parents, much like `mkdir -p`.
  3. Pino Toscano

    build: fix distfiles for zanata

    ptoscano authored
    Followup of commit c328ac9.
Commits on Feb 22, 2015
  1. rwmjones

    Update translations from Zanata.

    rwmjones authored
    I added the new linguas for the po/ directory.  But not for the
    po-docs/ directory, since the new po files hardly contain any
    translations there.
  2. rwmjones

    Move upstream translations from Tranifex to Zanata.

    rwmjones authored
    This is at the request of the Fedora localization team.
    For further information see:
    
    https://www.redhat.com/archives/libguestfs/2015-February/msg00168.html
Commits on Feb 18, 2015
  1. Nikos Skalkotos rwmjones

    Fix a bug in e2fsck execution code

    skalkoto authored rwmjones committed
    Use commandrvf() instead of commandvf() to execute e2fsck. A non-zero
    exit status does not always indicate a failure.
    
    Signed-off-by: Nikos Skalkotos <skalkoto@grnet.gr>
  2. Pino Toscano

    builder: when not checking sigs, ignore --fingerprint args (RHBZ#1193…

    ptoscano authored
    …237)
    
    When the user chooses to not verify the signatures on the indexes
    (using --no-check-signature), there is no point in requiring as many
    --fingerprint as --source (or even just one), as they will not be used
    anyway.
    
    In this case just ignore all the values of the specified --fingerprint
    arguments.
  3. Pino Toscano

    builder: process --source sources before

    ptoscano authored
    Process the sources specified via the --source command line arguments
    before sources read from repositories, so the former have a chance to
    "override" the latter.
    
    Related to RHBZ#1193238.
Commits on Feb 17, 2015
  1. rwmjones

    Version 1.29.26.

    rwmjones authored
  2. rwmjones
Commits on Feb 16, 2015
  1. Maroš Zaťko rwmjones

    inspector: add /reactos as systemroot

    hacxman authored rwmjones committed
    Fixes RHBZ#709326
    Related bug RHBZ#709327 seems to be already fixed in ReactOS 0.4.
  2. HuTao rwmjones

    New API: btfs_scrub_status

    taohu authored rwmjones committed
    Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
    Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
  3. HuTao rwmjones

    New API: btrfs_balance_status

    taohu authored rwmjones committed
    Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
    Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
Commits on Feb 14, 2015
  1. rwmjones

    v2v: -o libvirt: Prevent possible XPath injection.

    rwmjones authored
    Ensure the arch string is sane before using it in the following XPath
    expression.  Since the arch string can be derived from untrusted guest
    data [see src/filearch.c], this prevents a possible XPath injection
    vulnerability.
  2. rwmjones

    python: Call PyErr_Clear() on non-error paths out of the Python bindi…

    rwmjones authored
    …ngs.
    
    We also need to be more careful about PyString_FromString and similar
    functions returning NULL on failure.  Currently we don't check this
    every time.  This commit adds more checks, but is still not complete.
  3. rwmjones
  4. rwmjones

    Change guestfs__* to guestfs_impl_*

    rwmjones authored
    libguestfs has used double and triple underscores in identifiers.
    These aren't valid for global names in C++.
    
    The second step is to replace all guestfs__* (2 underscores) with
    guestfs_impl_*.
    
    These functions are used where a libguestfs API call is implemented on
    the library side.  The generator creates a wrapper function which
    calls guestfs_impl_* to do the work.  (Libguestfs APIs which are
    passed directly by the daemon work differently and don't require a
    guestfs_impl_* function).
    
    This is an entirely mechanical change done using:
      git ls-files | xargs perl -pi.bak -e 's/guestfs___/guestfs_impl_/g'
    
    Reference: http://stackoverflow.com/a/228797
  5. rwmjones

    Change guestfs___* to guestfs_int_*

    rwmjones authored
    libguestfs has used double and triple underscores in identifiers.
    These aren't valid for global names in C++.
    
    The first step is to replace all guestfs___* (3 underscores) with
    guestfs_int_*.  We've used guestfs_int_* elsewhere already as a prefix
    for internal identifiers.
    
    This is an entirely mechanical change done using:
      git ls-files | xargs perl -pi.bak -e 's/guestfs___/guestfs_int_/g'
    
    Reference: http://stackoverflow.com/a/228797
  6. rwmjones

    Update gnulib to latest.

    rwmjones authored
  7. rwmjones

    Update TODO.

    rwmjones authored
    Remove some things which have been implemented already.
  8. Margaret Lewicka rwmjones

    fuse: Alternatives for Linux-specific commands

    shulima authored rwmjones committed
    * fusermount is Linux-only; on BSD and OS X umount should be used
    * fuser has no -v flag on BSD/OSX, and -c is the
      POSIX-compatible equivalent of -m
    * Does not solve the lack of pretty output of fuser -v, but does make it
      work on Mac OS X.
Commits on Feb 13, 2015
  1. rwmjones

    aarch64: builder: Fix metadata so virt-builder --size works.

    rwmjones authored
    The wrong partition was being expanded.
    
    This fixes commit 5809a5a.
  2. Pino Toscano

    php: skip bindtests on 32bit platforms

    ptoscano authored
    bindtests checks also 64bit int values, which won't work when the
    underlying platform has sizeof(long) < 8 (like on 32bit architectures).
  3. rwmjones
  4. rwmjones

    ./run: Use 'prepend' function to build paths.

    rwmjones authored
    Add a bash function 'prepend' for intelligently prepending elements to
    paths.  eg:
    
      prepend PYTHONPATH "/foo"
    
    would set PYTHONPATH to "/foo" or "/foo:<previous-contents-of-PYTHONPATH>"
    
    Tested by:
    
    (1) Building and testing libguestfs twice: first without libguestfs
    installed as a system library, and then with it installed.
    
    (2) Examining the output of './run printenv' by hand and comparing
    environment variables to the expected values.
  5. Chen Hanxiao rwmjones

    actions.ml: fix a typo

    chenhanxiao authored rwmjones committed
    s/scannning/scanning
    
    Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
  6. Margaret Lewicka rwmjones

    lib: Check if crypt() comes from a separate library

    shulima authored rwmjones committed
    Mac OS X includes crypt() in libc.
  7. Margaret Lewicka rwmjones

    run: Set DYLD_LIBRARY_PATH along with LD_LIBRARY_PATH

    shulima authored rwmjones committed
    Mac OS X uses DYLD_LIBRARY_PATH rather than LD_LIBRARY_PATH.
Something went wrong with that request. Please try again.