Wednesday, March 18, 2020

[389-commits] [389-ds-base] branch 389-ds-base-1.4.2 updated: Issue 50963 - We should bundle *.min.js files of Console

This is an automated email from the git hooks/post-receive script.

spichugi pushed a commit to branch 389-ds-base-1.4.2
in repository 389-ds-base.

The following commit(s) were added to refs/heads/389-ds-base-1.4.2 by this push:
new 6e997ea Issue 50963 - We should bundle *.min.js files of Console
6e997ea is described below

commit 6e997ea66b29bcebb9c2263ba0b60945e7ed6554
Author: Simon Pichugin <spichugi@redhat.com>
AuthorDate: Wed Mar 18 17:31:29 2020 +0100

Issue 50963 - We should bundle *.min.js files of Console

Description: Currently, we do not bundle in the tarball the *.min.js
files which help with deciphering the obfuscated code which is actually
run by the browser. This leads to end-users submitting partially
unreadable JavaScript stack traces.

Please note this won't result in end-users having to download more data
just to use the Console, since these files are downloaded only when needed,
i.e. when Developer's Console is opened.

https://pagure.io/389-ds-base/issue/50963

Reviewed by: mreynolds (Thanks!)
---
rpm.mk | 2 --
1 file changed, 2 deletions(-)

diff --git a/rpm.mk b/rpm.mk
index 05c3533..d880559 100644
--- a/rpm.mk
+++ b/rpm.mk
@@ -54,7 +54,6 @@ install-node-modules:
build-cockpit: install-node-modules
cd src/cockpit/389-console; \
NODE_ENV=production make -f node_modules.mk build-cockpit-plugin
- cd src/cockpit/389-console; rm -rf cockpit_dist/index.min.js.map

dist-bz2: install-node-modules download-cargo-dependencies
cd src/cockpit/389-console; \
@@ -64,7 +63,6 @@ dist-bz2: install-node-modules download-cargo-dependencies
touch cockpit_dist/*
mkdir -p $(NODE_MODULES_TEST)
touch -r src/cockpit/389-console/package.json $(NODE_MODULES_TEST)
- cd src/cockpit/389-console; rm -rf cockpit_dist/index.min.js.map
tar cjf $(GIT_TAG).tar.bz2 --transform "s,^,$(GIT_TAG)/," $$(git ls-files) src/cockpit/389-console/cockpit_dist/ src/cockpit/389-console/node_modules
cd src/cockpit/389-console; \
rm -rf node_modules; \

--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
389-commits mailing list -- 389-commits@lists.fedoraproject.org
To unsubscribe send an email to 389-commits-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-commits@lists.fedoraproject.org

No comments:

Post a Comment