diff options
author | Christian Tismer <tismer@stackless.com> | 2019-11-01 11:38:42 +0100 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2019-11-07 09:06:37 +0100 |
commit | 107eb625c28bba7234221aa0fd71b84dd09361e2 (patch) | |
tree | 726c3c63a9a9e52e200cf7ae0d798e845fe76459 /sources/shiboken2 | |
parent | 8dd42e79505bfb5477fafbe12056e2dd3c7f07b9 (diff) |
Simplify recreation of registry files
The registry files were recreated when they do not exist. This was used
to trigger recreation on a file.
We now include a comment line on top of the files.
#recreate # uncomment this to enforce generation
By uncommenting this line, a NameError is provoked, which has the
desired effect without creating huge deltas in the repository.
Change-Id: Idcc1015abae504f111102e8c9851f8ef45dcbdff
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/shiboken2')
-rw-r--r-- | sources/shiboken2/libshiboken/signature_doc.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sources/shiboken2/libshiboken/signature_doc.rst b/sources/shiboken2/libshiboken/signature_doc.rst index a984de4ce..cb9041d0c 100644 --- a/sources/shiboken2/libshiboken/signature_doc.rst +++ b/sources/shiboken2/libshiboken/signature_doc.rst @@ -265,6 +265,17 @@ we can now capture the error output of COIN and check the generated module in. +Explicitly Enforcing Recreation +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The former way to regenerate the registry files was to remove the files +and check that in. This has the desired effect, but creates huge deltas. +As a more efficient way, we have prepared a comment in the first line +that contains the word "recreate". +By uncommenting this line, a NameError is triggered, which has the same +effect. + + init_platform.py ~~~~~~~~~~~~~~~~ |