I'd like a standard header that module developers can use to make use of the file version check diagnostic. Right now, it will only check the 'version' of a set of files if one of the first 10 lines of the source contain the following string/pseudo regexp:
"|| # VBulletin[^0-9]* (\d.*) -"
Obviously, it doesn't make sense for module developers to include that string because they aren't vBulletin.
Could I please suggest that add something like the following regexp to the 'version' check logic:
"^[/\|\* ]* MD5 Version: *[^0-9]* (\d.*)\w*$"
This way, any module developer can add a string to their own header files that will take advantage of the version checking code.
From reading the code, I can see that creating an md5_sum_* file will work, but they won't be able to take advantage of the actual code verision check.
Cheers,
Dave.





Bookmarks