1. 30 May, 2017 1 commit
  2. 11 Aug, 2016 1 commit
  3. 27 Jul, 2016 1 commit
    • Daniel P. Berrange's avatar
      image: Rename 'create' and 'delete' to 'prepare' and 'purge' · ad14f860
      Daniel P. Berrange authored
      Currently we have three virt-sandbox-image commands
      
       - 'create' - downloads a template and creates qcow2
       - 'delete' - deletes template qcow2 files
       - 'run' - runs an instance of a template
      
      The 'run' command is generating a transient guest which
      disappears when it stops. We want to have the ability to
      create / delete persistent guests later, for which the
      command names "create" and "delete" are a natural fit.
      
      So to avoid clash, rename the existing "create" command
      to "prepare" and the "delete" command to "purge"
      ad14f860
  4. 15 Jul, 2016 22 commits
  5. 13 Jul, 2016 2 commits
  6. 08 Jun, 2016 1 commit
  7. 10 May, 2016 1 commit
  8. 29 Apr, 2016 1 commit
  9. 15 Apr, 2016 1 commit
  10. 05 Apr, 2016 1 commit
  11. 22 Mar, 2016 1 commit
  12. 21 Mar, 2016 1 commit
  13. 19 Mar, 2016 1 commit
    • Guido Günther's avatar
      sandbox-builder: Don't try g_file_enumerator_next_file if enumerator is NULL · 70ac1bb5
      Guido Günther authored
      Passing the NULL enumerator to g_file_enumerator_next_file makes
      us overwrite error information otherwise:
      
          $ sudo bin/virt-sandbox-service create --unitfile foo.service foo
          (process:18529): GLib-GIO-CRITICAL **: g_file_enumerator_next_file: assertion 'G_IS_FILE_ENUMERATOR (enumerator)' failed
      
          (process:18529): GLib-GIO-CRITICAL **: g_file_enumerator_close: assertion 'G_IS_FILE_ENUMERATOR (enumerator)' failed
          bin/virt-sandbox-service:318: Warning: GError set over the top of a previous GError or uninitialized memory.
          This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
          The overwriting error message was: Error removing file: No such file or directory context.undefine()
          bin/virt-sandbox-service:318: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed context.undefine()
          Cleanup failed: g-io-error-quark: No such file or directory (1)
          bin/virt-sandbox-service: g-io-error-quark: No such file or directory (1)
      
      also make sure we don't unref NULL in this case.
      70ac1bb5
  14. 18 Mar, 2016 1 commit
    • Guido Günther's avatar
      Silence PyGIWarnings · 6679777b
      Guido Günther authored
      This fixes
      
      /usr/bin/virt-sandbox-service:22: PyGIWarning: LibvirtGObject was imported without specifying a version first. Use gi.require_version('LibvirtGObject', '1.0') before import to ensure that the right version gets loaded.
        from gi.repository import LibvirtGObject
      /usr/bin/virt-sandbox-service:23: PyGIWarning: LibvirtSandbox was imported without specifying a version first. Use gi.require_version('LibvirtSandbox', '1.0') before import to ensure that the right version gets loaded.
        from gi.repository import LibvirtSandbox
      6679777b
  15. 07 Nov, 2015 2 commits
  16. 07 Oct, 2015 1 commit
  17. 05 Oct, 2015 1 commit