[PATCH db-tools 0/2] Add tools for database import/export

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since we're soon going to start distributing the database as a
standalone archive, it'll be useful if we had tools which can
import/export between the local database filesystem tree and a
database archive file. While users/apps could just use 'tar'
directly, providing these tools makes life simpler as users
don't need to remember where the correct database locations
are.

For these tools I'm using libarchive since it is available on
all platforms (BSD, Linux, MinGW and OS-X). For the format it
is using the tar "pax" format (the latest POSIX tar format)
since it has unlimited filename/path lengths support, and the
'xz' compression scheme since it is by far the best at compressing
these XML files.


Daniel P. Berrange (2):
  Add osinfo-db-import tool for unpacking an osinfo database archive
  Add osinfo-db-export tool for packing an osinfo database archive

 .gitignore                    |   6 +
 configure.ac                  |   1 +
 mingw-osinfo-db-tools.spec.in |   8 +-
 osinfo-db-tools.spec.in       |   5 +
 po/POTFILES.in                |   2 +
 tools/Makefile.am             |  18 +-
 tools/osinfo-db-export.c      | 621 ++++++++++++++++++++++++++++++++++++++++++
 tools/osinfo-db-import.c      | 468 +++++++++++++++++++++++++++++++
 8 files changed, 1125 insertions(+), 4 deletions(-)
 create mode 100644 tools/osinfo-db-export.c
 create mode 100644 tools/osinfo-db-import.c

-- 
2.5.5

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux