Re: When to change {udkapi, offapi}/type_reference/{udkapi, offapi}.idl
Just a reminder, as occasion demands: On 10/10/13 09:41, Stephan Bergmann wrote: The *.idl (formerly *.rdb) files in {udkapi,offapi}/type_reference/ are meant to represent the status of our (published) UNO API as previously released, to allow detecting inadvertent incompatible changes. Therefore, these files should generally be left unchanged. The only time to change them is when a deliberate incompatible change (with a commit message containing "[API CHANGE]") would otherwise break the compatibility checks when building udkapi or offapi. (And in the past, when those type_references were binary *.rdb files, that was a somewhat tricky task. Now that they are textual *.idl files it has become (too?) trivial.) (So, if there are any git-hook aficionados out there, maybe there's a way to prevent commits that change {udkapi,offapi}/type_reference/{udkapi,offapi}.idl but do not contain "[API CHANGE]" in the commit message.) ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
When to change {udkapi,offapi}/type_reference/{udkapi,offapi}.idl
Hi all, The *.idl (formerly *.rdb) files in {udkapi,offapi}/type_reference/ are meant to represent the status of our (published) UNO API as previously released, to allow detecting inadvertent incompatible changes. Therefore, these files should generally be left unchanged. The only time to change them is when a deliberate incompatible change (with a commit message containing [API CHANGE]) would otherwise break the compatibility checks when building udkapi or offapi. (And in the past, when those type_references were binary *.rdb files, that was a somewhat tricky task. Now that they are textual *.idl files it has become (too?) trivial.) (So, if there are any git-hook aficionados out there, maybe there's a way to prevent commits that change {udkapi,offapi}/type_reference/{udkapi,offapi}.idl but do not contain [API CHANGE] in the commit message.) (I just pushed http://cgit.freedesktop.org/libreoffice/core/commit/?id=bf1284d34e3bf53179a1513265accc0c3f54337c Keep type_reference/offapi.idl at backwards-compatibility reference status to revert one such inadvertent change.) Thanks, Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: When to change {udkapi, offapi}/type_reference/{udkapi, offapi}.idl
Hi Stephan, thanks for clearing that up! Regards Thomas On 10.10.2013 09:41, Stephan Bergmann wrote: Hi all, The *.idl (formerly *.rdb) files in {udkapi,offapi}/type_reference/ are meant to represent the status of our (published) UNO API as previously released, to allow detecting inadvertent incompatible changes. Therefore, these files should generally be left unchanged. The only time to change them is when a deliberate incompatible change (with a commit message containing [API CHANGE]) would otherwise break the compatibility checks when building udkapi or offapi. (And in the past, when those type_references were binary *.rdb files, that was a somewhat tricky task. Now that they are textual *.idl files it has become (too?) trivial.) (So, if there are any git-hook aficionados out there, maybe there's a way to prevent commits that change {udkapi,offapi}/type_reference/{udkapi,offapi}.idl but do not contain [API CHANGE] in the commit message.) (I just pushed http://cgit.freedesktop.org/libreoffice/core/commit/?id=bf1284d34e3bf53179a1513265accc0c3f54337c Keep type_reference/offapi.idl at backwards-compatibility reference status to revert one such inadvertent change.) Thanks, Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice