[Github-comments] [geany/geany] Make geany -g tags output reproducible (#1989)

elextr notifications at xxxxx
Tue Nov 6 20:57:54 UTC 2018


You don't say what the actual problem is, but I presume your problem is that the order of tags changes because the order of files in the list `lookup_includes()` returns changes as the inode changes.  If you want reproducible builds, instead of relying on application internals and globbing orders you should list the files explicitly instead of using globs.

This change will also fail to de-dup paths that are linked to the same file, but hopefully that will be rare.

If we can live with that, performance wise this should be better (stated without benchmarking of course :) because it no longer stats the filesystem to make a hash key.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1989#issuecomment-436405856
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20181106/fd34023f/attachment.html>


More information about the Github-comments mailing list