Skip to content

Move CAPA code and static assets from edx-platform to xblocks-contrib/problem#38045

Draft
irtazaakram wants to merge 1 commit intoremove-capa-foldersfrom
purge-xmodule/capa
Draft

Move CAPA code and static assets from edx-platform to xblocks-contrib/problem#38045
irtazaakram wants to merge 1 commit intoremove-capa-foldersfrom
purge-xmodule/capa

Conversation

@irtazaakram
Copy link
Member

@irtazaakram irtazaakram commented Feb 24, 2026

This PR removes the following folders from edx-platform:

  • xmodule/capa/
  • common/static/applets/capa/
  • common/static/images/capa/
  • common/static/js/capa/

These directories have been moved to xblocks-contrib/problem as-is and will now be maintained and used from there.

All relevant imports in edx-platform have been updated to reference the new paths in xblocks-contrib/problem.

This removes duplication and consolidates CAPA-related code and static assets within the Problem XBlock repository.

Settings

XQUEUE_DOCKER_IMAGE: docker.io/overhangio/openedx-xqueue:21.0.0
CODEJAIL_ENABLE_K8S_DAEMONSET: true

Tutor requirements

pip install git+https://github.com/irtazaakram/tutor-xqueue.git@fix-url
pip install git+https://github.com/eduNEXT/tutor-contrib-codejail.git@main
tutor plugins enable codejail xqueue

@irtazaakram irtazaakram added the create-sandbox open-craft-grove should create a sandbox environment from this PR label Feb 24, 2026
Comment on lines 2204 to +2208
# .. setting_name: CODE_JAIL_REST_SERVICE_REMOTE_EXEC
# .. setting_default: 'xmodule.capa.safe_exec.remote_exec.send_safe_exec_request_v0'
# .. setting_default: 'xblocks_contrib.problem.capa.safe_exec.remote_exec.send_safe_exec_request_v0'
# .. setting_description: Set the python package.module.function that is reponsible of
# calling the remote service in charge of jailed code execution
CODE_JAIL_REST_SERVICE_REMOTE_EXEC = 'xmodule.capa.safe_exec.remote_exec.send_safe_exec_request_v0'
CODE_JAIL_REST_SERVICE_REMOTE_EXEC = 'xblocks_contrib.problem.capa.safe_exec.remote_exec.send_safe_exec_request_v0'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to look into

@irtazaakram irtazaakram added create-sandbox open-craft-grove should create a sandbox environment from this PR and removed create-sandbox open-craft-grove should create a sandbox environment from this PR labels Feb 25, 2026
@irtazaakram irtazaakram force-pushed the purge-xmodule/capa branch 2 times, most recently from 90d5d48 to 2f73347 Compare February 26, 2026 10:07
@kaustavb12 kaustavb12 added create-sandbox open-craft-grove should create a sandbox environment from this PR and removed create-sandbox open-craft-grove should create a sandbox environment from this PR labels Feb 26, 2026
@irtazaakram irtazaakram added create-sandbox open-craft-grove should create a sandbox environment from this PR and removed create-sandbox open-craft-grove should create a sandbox environment from this PR labels Feb 26, 2026
@irtazaakram irtazaakram changed the base branch from master to remove-capa-folders February 26, 2026 14:25
@kaustavb12 kaustavb12 added create-sandbox open-craft-grove should create a sandbox environment from this PR and removed create-sandbox open-craft-grove should create a sandbox environment from this PR labels Feb 26, 2026
@irtazaakram irtazaakram added create-sandbox open-craft-grove should create a sandbox environment from this PR and removed create-sandbox open-craft-grove should create a sandbox environment from this PR labels Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-sandbox open-craft-grove should create a sandbox environment from this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants