Menu

#256 No warning when trying to index a non-existent version

v2.0
closed-fixed
None
3
2016-01-21
2015-09-29
No

Context: LXR correctly configured for a source-tree, new version added but lxr.conf not updated

genxref finds the correct configuration block in lxr.conf since everything is OK for the existant version. It launches glimpse (or swish-e) which creates its database on an empty version. Then, declaration and references traversal are also done on empty version. Job ends without error, not noticing that the version directory does not exist.

Suggested fix: test for version existence in $variables{'v'}{'range'}
Suggested enhancement: add a function for 'range' to enumerate all subdirectories in 'sourceroot' to relax the necessity of explicitly enumerating versions.

Discussion

  • Andre-Littoz

    Andre-Littoz - 2016-01-03

    fixed in Git

     
  • Andre-Littoz

    Andre-Littoz - 2016-01-21
    • status: open --> closed-fixed
     

Log in to post a comment.