Closed AB-xdev closed 3 years ago
This is the function which emojifies or not: https://github.com/renovatebot/renovate/blob/19e16ff7f0feb9228a8e40de20d67fd2c690ee70/lib/util/emoji.ts#L10-L12
But maybe the problem is that the emojies are already in the changelog. In which case we need that function to try to de-emoji too?
@rarkins
But maybe the problem is that the emojies are already in the changelog.
Yes, I think this is exactly my problem.
Looks like emoji.strip
or emoji.replace
might work, but it would need testing.
:tada: This issue has been resolved in version 24.115.0 :tada:
The release is available on:
24.115.0
Your semantic-release bot :package::rocket:
@rarkins Thank you for the fix. Unfortunately I wasn't able to test it until now.
Emojis like ๐
are now filtered ๐
However the fix only seems to only work partially.
The pullrequest creation still fails, because there is somehow a "broom" emoji ๐งน
included (which should have been filtered out):
full log-file: renovate.txt
@AB-xdev Please open a new bug issue with full details. Rememer you need to set unicodeEmoji=false to get it working.
Similar to #6424
Background:
We use Renovate in Docker (
renovate/renovate:24-slim
) and setRENOVATE_UNICODE_EMOJI
tofalse
. This also get's detected by Renovate as I see in the logs (Loglevel=Debug):The targeted repo - where the problem occurs - is on a Bitbucket Server (7.6) which uses MySQL (5.7) in the background.
The problem
The creation of the PR for
org.testcontainers
(1.15.2) always fails silently (no bad exit code, no warning message):So basically a branch get's created, but the PR is missing.
I managed to extract the data which is sent to bitbucket by setting the LOG_LEVEL to TRACE:
Conclusion
I assume this happens, because the release-notes contain special characters, which are not "escaped"/fixed correctly.
I expected that - when the
unicodeEmoji
is set tofalse
- it should escape/fix the emojis or at least remove them.Possible workarounds or solutions
changelogs
collation
of MySQL so that it usesutf8mb4
โ https://stackoverflow.com/a/35189650