emoji: Don't generate emoji farms corresponding to now banned emojisets.

This will help us in reducing the size of the release tarball
significantly. I have refrained from changing the `EMOJISETS`
constant in the `emoji_setup_utils.py` as that controls the
emojisets that we want to support. Since we want to re-enable
the feature of changing emojisets sometime again in the future
that variable should be kept as it is as it controls several
other things like emoji scripts that we use to generate emoji
names. Changing it might cause hard to catch bugs.
This commit is contained in:
Harshit Bansal 2018-08-09 19:59:06 +00:00 committed by Tim Abbott
parent 36b977c382
commit 29daf76420
4 changed files with 776 additions and 816 deletions

View File

@ -11,10 +11,7 @@
"clipboard": "2.0.1",
"css-hot-loader": "1.3.9",
"css-loader": "0.28.11",
"emoji-datasource-apple": "4.0.4",
"emoji-datasource-emojione": "4.0.4",
"emoji-datasource-google": "4.0.4",
"emoji-datasource-twitter": "4.0.4",
"error-stack-parser": "2.0.1",
"expose-loader": "0.7.5",
"file-loader": "1.1.11",

View File

@ -140,7 +140,7 @@ def setup_emoji_farm(cache_path: str, emoji_data: List[Dict[str, Any]]) -> None:
dst_file = os.path.join(target_emoji_farm, img_file_name)
shutil.copy2(src_file, dst_file)
for emojiset in EMOJISETS:
for emojiset in ['google']:
# Copy individual emoji images from npm packages.
src_emoji_farm = os.path.join(
NODE_MODULES_PATH, 'emoji-datasource-' + emojiset, 'img', emojiset, '64')

View File

@ -8,4 +8,4 @@ ZULIP_VERSION = "1.9.0-rc1+git"
# Typically, adding a dependency only requires a minor version bump, and
# removing a dependency requires a major version bump.
PROVISION_VERSION = '25.7'
PROVISION_VERSION = '26.0'

1585
yarn.lock

File diff suppressed because it is too large Load Diff