[cmake-developers] Deterministic identifiers in CPack WiX generator
Nils Gladitz
nilsgladitz at gmail.com
Thu Oct 10 16:47:09 EDT 2013
Thanks for the feedback!
I'll try to fix the commit message.
As far as I can tell there shouldn't be any lines longer than 79 characters.
I used the cmake developer script to set up my repository which seems to
have set up a hook script which checks this on commit as well.
I even had to shorten some unrelated code to get it to pass the hook.
I've set up my editor to show a border at 79 characters as well and
can't see any line reaching over it.
Is there something I'm overlooking?
Nils
On 10.10.2013 22:22, Brad King wrote:
> On 10/10/2013 03:14 PM, Nils Gladitz wrote:
>> I just pushed my first branch "wix-deterministic-ids" to the topic stage
>> (I hope).
>> Since the whole workflow is quite new to me I'd be glad for any input
>> that anyone may provide.
> Yes, the topic is in the right place. Thanks.
>
> Style comments:
>
> - Please prefix the commit message with "CPackWiX: "
> - Please avoid lines longer than 79 characters in C++ sources
>
> You can amend the commit to resolve these and force-push the
> replacement topic on the stage.
>
>> I chose to generate identifiers after the following format:
>>
>> CM_<ID_TYPE><SCHEME_TYPE>_<ID_CONTENT>(_<COUNTER>)
> [snip]
>> Some full sample identifiers:
>> CM_DP_share.cmake_2.8.Modules
>> CM_CP_share.cmake_2.8.Modules.BundleUtilities.cmake
>> CM_FP_share.cmake_2.8.Modules.AutomocInfo.cmake.in
>> CM_FH_b44dc2f_BasicConfigVersion_SameMajorVersion.cmake.in
> I'm not familiar with WiX or the requirements of these ids
> so I'll defer to the CPack WiX maintainer (you) on technical
> correctness.
>
> Once the above style fixes have been pushed to the stage,
> please proceed with the merge to 'next' for testing.
>
> Thanks,
> -Brad
More information about the cmake-developers
mailing list