Commit Graph

7 Commits

Author SHA1 Message Date
Richard W.M. Jones
65cfecb0f5 inspection: Deprecate APIs and remove support for inspecting installer CDs.
This just duplicated libosinfo information, and because it was never
tested it didn't work most of the time.
2017-09-16 22:27:16 +01:00
Richard W.M. Jones
d7bc1dd922 inspection: Replace phony XML with virt-inspector output from real guests.
Also add an example from a real RHEL 6 guest.

Remove rules for building these XML files which are no longer
relevant.  These files were built by running virt-inspector on real
guests, and then edited to remove excessive <application> sections.
2013-06-18 17:01:53 +01:00
Richard W.M. Jones
36d3a4ce53 inspector: Include <hostname> in output. 2011-04-14 18:20:26 +01:00
Richard W.M. Jones
d95874db3d inspect: Get version and release of RPM packages.
This commit downloads the Packages RPM database allowing us to find
other details about installed RPM packages (via
inspect-list-applications).  This adds version and release.  Epoch
cannot yet be found.

This commit also updates the Fedora example image so that it contains
a dummy RPM Packages database with some data.
2011-04-14 18:19:42 +01:00
Richard W.M. Jones
3336b5448f inspect: Split code into separate files.
The src/inspect.c file had grown rather large -- 3,500 lines.  Split
it across several files according to function.

This is just moving code.

After the split the files are more evenly divided:

  536 src/inspect_apps.c
  766 src/inspect.c
  537 src/inspect_fs.c
  404 src/inspect_fs_cd.c
  785 src/inspect_fs_unix.c
  535 src/inspect_fs_windows.c
 3563 total
2011-04-14 11:29:19 +01:00
Richard W.M. Jones
c5cb65f0aa inspector: Rewrite virt-inspector in C. 2010-11-19 15:32:02 +00:00
Richard W.M. Jones
9d3f336152 inspector: Replace old examples with ones derived from phony images. 2010-11-16 18:36:33 +00:00