[wix-devs] 6210 - Burn engine should handle non-QWORD versions

Brian Drennan brian.e.drennan at outlook.com
Wed Jul 22 15:56:57 PDT 2020


Hi all,

My team is currently using service fabric, which doesn't perform any validation on the version strings of packages. We really value the ability to version without any validation of any monikers we come up with. Most of the time, we just use a "-alpha" or "-beta" suffix, but that actually fails certain parsing rules when compiling an assembly in .NET (it works for the informational version, but not the primary version).

My current org doesn't use WiX for anything (yet), but arbitrary strings are a thing we would value. I hope our use case helps with the decision making process. I'd be happy to jump on the next WiX Online Meeting to further discuss if anyone thinks there would be some benefit there.

Regards,

Brian
________________________________
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> on behalf of Rob Mensching via wix-devs <wix-devs at lists.wixtoolset.org>
Sent: Wednesday, July 22, 2020 11:24:55 AM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Cc: Rob Mensching <rob at firegiant.com>
Subject: Re: [wix-devs] 6210 - Burn engine should handle non-QWORD versions

Very interesting.  "@#$%^&*" is not valid SemVer nor 4-dotted.

Should there be some indication when parsing that the parsed thing isn't at all recognized as a version?
Is there a use case for arbitrary strings to be treated as "v0-[arbitrarystring]" in version comparisons?


-----Original Message-----
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> On Behalf Of Sean Hall via wix-devs
Sent: Friday, July 17, 2020 4:25 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Cc: Sean Hall <r.sean.hall at gmail.com>
Subject: Re: [wix-devs] 6210 - Burn engine should handle non-QWORD versions

It would be parsed to

major - 0
minor - 0
patch - 0
revision - 0
release labels - [] (empty array)
metadata - "@#$%^&*"

"v0" or "0" or "" are all parsed to

major - 0
minor - 0
patch - 0
revision - 0
release labels - [] (empty array)
metadata - "" (empty string)

"@#$%^&*" would be greater than "v0"

____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.firegiant.com%2F&data=02%7C01%7C%7C02f35b2db1b442b2b34708d82e53661e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637310283005645003&sdata=ga1CVrldfKzFNyw8dyJnU35aNHWEmRj00RL2Y1aAQvg%3D&reserved=0



More information about the wix-devs mailing list