On 2012.04.24 07:38, Kustaa Nyholm wrote:
> Thanks,but I think I was just curious for the actual technical issues
> those new fields will cause.

Well, to me the technical issue, is that in its current instance, 
Peter's patch completely ignores MS build environments, as well as any 
environment where git is not invokable by default. For instance, someone 
may fetch the repo on one platform and compile it onto another where git 
is not present - not a far fetched scenario for a secure corporate 
environment where internet access is limited to a few machines, or where 
libusb would be used with an internal distributed VCS that is different 
from git.

In my view, this "breaks" cross platform because, unlike our current 
versioning, if we use this field alone, we end up with platforms where 
we won't get the full version data, and --I hope this'll help see where 
I'm coming from-- where the exact same codebase produces a different 
output for something that should and (as demonstrated) can be the same 
on all platforms.

Now, as Hans and others suggested, one may also consider that the only 
technical issue that matters besides compilation errors, if we don't 
carry the field, is the crash apps compiled against the libusb shared 
library are likely to experience when trying to access this data. And 
this can indeed easily be prevented by adding an extra static string to 
the version.

Right now I'd say the majority seems to see the latter approach as both 
low risk and preferable, so we're likely to go with that. Given 
Michael's position however, I can't entirely eliminate some concerns 
about this extra field being somehow used as an attempt to ditch what I 
see as a better, as well as actually cross-platform, approach to versioning.

Regards,

/Pete

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to