In my case, xsslint was failing with a UnicodeDecodeError -- having this
try/except block helped me discover that it was reading files in my
virtualenv.
This commits prepares edx-platform's experimental Dockerfile
for optional use in devstack. Presently, the image built by this
Dockerfile isn't used anywhere.
Notable changes:
* Drop the openedx/edx-platform image name in favor of
openedx/lms and openedx/cms.
* Drop the newrelic stages and tags.
* Create openedx/lms-dev and openedx/cms-dev image
variants which use Django devserver, install dev
requirements, and specify devstack Django settings.
* Add config files at (lms,cms)/envs/devstack-experimental.yml,
extracted from the existing edxapp docker image.
* Adds three new scripts, each of which replaces an Ansible
or Paver-supported function with a pure bash + Django
management command implementation.
Introduces `common.djangoapps.util.log_sensitive module` for
public-key encryption of sensitive debug information in log
messages, including CLI commands for generating keys and
decrypting log output.
Also:
- Adds `PyNaCl` to base requirements for encryption tools
- Requirements upgrade
ref: ARCHBOM-1940
was recently enabled by default in mysqldump, but the generation of
histogram statistics fails in devstack during this script's mysqldump
commands. The SQL statement and output of the failure:
mysql> SELECT \
COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"') \
FROM information_schema.COLUMN_STATISTICS \
WHERE \
SCHEMA_NAME = 'edxtest' AND \
TABLE_NAME = 'agreements_integritysignature';
ERROR 1109 (42S02): Unknown table 'COLUMN_STATISTICS' in information_schema
* build: Removed the diff-quality step
Applied lint-amnesty on all the warnings
Removed pylint thresholds comparison code and related tests
Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
Story
=====
As an XBlock developer,
I want to know which XBlocks are installed
so I can debug (and know which to add to Advanced Settings in Studio).
Testing
=======
- `make studio-shell`
- `python scripts/xblock/list-installed.py`
Integration
===========
I plan to invoke this from `devstack` (after installing XBlocks).
Tickets
=======
Fixes CENG-95
Fixesstvstnfrd/openedx-meta#153
Attempting to import packages from
lms/djangoapps, cms/djangoapps, or common/djangoapps
as if they are import roots will now
simply raise ImportErrors (like any other invalid
import) instead of DeprecatedEdxPlatformImportError.
See docs/decisions/0007-sys-path-modification-removal.rst
for more details.