[PATCH 0/4] apibuild: Fix several issues

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

 



My home directory contains

  src/upstream/libvirt - git repository
  src/libvirt          - symbolic link to the above

and since d195cffa2e1b I can no longer build in-tree because
make passes

  srcdir=.
  builddir=$HOME/src/libvirt/docs

to apibuild.py, which get converted to

  srcdir=$HOME/src/upstream/libvirt/docs
  builddir=$HOME/src/libvirt/docs

inside the script and thus considered separate directories.
This in turn leads to files being processed twice, and a
bunch of definitions being reported as duplicates.

... Well, kind of. The script *attempts* to report the
failures, but fails while doing so :)

This series fixes both the build issue (1/4) and the failure
to report build issues properly (2/4), plus some more of the
latter that I noticed while working on the code (3/4, 4/4).

Last but not least: I'm not a pythonista, so feel free to
point out unpythonic code.


Andrea Bolognani (4):
  docs: Pass relative paths to apibuild.py
  apibuild: Add index.warning() method
  apibuild: Introduce app class
  apibuild: Fix method call

 docs/Makefile.am |   2 +-
 docs/apibuild.py | 103 +++++++++++++++++++++++++++++++------------------------
 2 files changed, 59 insertions(+), 46 deletions(-)

-- 
2.5.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



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