Switch to top-level Python packages
Assessment
This issue has not been assessed yet.
Description
Instead of:
- xblock_pdf/
- xblocks_contrib/
- html/
- problem/
- etc.
We should move to:
- src/
- xblock_pdf/
- xblock_html/
- xblock_problem/
- etc.
And the import roots will change:
- Before:
from xblock_contrib.problem import ProblemBlock - After:
from xblock_problem import ProblemBlock
Why?
- It matches the structure of xblocks-extra
- It allows us to move xblocks into and out of xblocks-extra, xblocks-core, and other repositories without changing their import paths. It decouples their public API from our specific way of structuring the blocks, allowing us to keep the API stable as maintenance needs change and architectural decisions are made.
- Dominant language
- Python
- Stars
- 0
- Forks
- 16
- Avg merge
- 5h 37m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openedx/xblocks-core
-
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
openedx/xblocks-core#305 ·
-
ChoiceTextResponse: a submission that omits a required numtolerance_input key is graded correctOpen
Difficulty 3/5 1-2 days Newbie friendliness 65/100
openedx/xblocks-core#306 ·
-
WCAG - Question Content Not Programmatically Associated With Answer ChoicesMay be free again @jesusbalderramawgu claimed this 32 days ago, and no pull request is open. Open
openedx/xblocks-core#300 · 1 assignee ·
-
flaky-test
Difficulty 3/5 1-2 days Newbie friendliness 55/100
openedx/xblocks-core#290 · 2 comments ·
-
[DEPR]: Remove Video Bumper (pre-roll video) featureMay be free again @feanil claimed this 64 days ago, and no pull request is open. Opendepr
openedx/xblocks-core#284 · 1 reaction · 2 assignees ·
All issues in openedx/xblocks-core
Similar issues
-
Agentic
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Imbad0202/academic-research-skills#979 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
reflex-dev/reflex#7561 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
prometheus-community/ansible#906 · 2 comments ·