Closed janvhs closed 10 months ago
Would a better approach be to log on any error and ignore it?
There doesn't seem to be any existing logging facilities in this package, so this is probably fine.
Normally yes, but I don't think that logging this would be needed, as the GIR files are usually located under /usr/share/gir-1.0
and that should always be readable.
Furthermore, if it happens that the GIR files are not accessible, the generator would create an error that it cannot find these files and at this point it is quite easy to debug.
Some subdirectories of my
/usr/
folder can not be opened without root permissions. Therefore, the generation process fails with a permission denied error. This patch instructs the generator to skip those directories.