Remove / Rename ocw_next variables
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start with app.json, learning_resources/conftest.py, and learning_resources/urls.py, then search the learning_resources and learning_resource_search apps for OCW_NEXT and ocw_next references. Remove unused variables, rename in-use variables and the webhook URL to the OCW naming, and leave course_catalog unchanged. Done means the obsolete references are removed and remaining uses consistently use the new names.
Written by the indexing model from the issue text.
Description
Description/Context
There are a few lingering references to OCW_NEXT env vars that are no longer in use. (For example, in app.json.). Additionally, some variables that are in use are named ocw_next but should just be OCW.
- Remove
OCW_NEXTvariables not in use, e.g.,app.json - Rename
ocw_nextvariables in apps that are still in use (learning_resources,learning_resource_search). Example: https://github.com/mitodl/mit-open/blob/3b55e0e8057a7a5916a975133680a3a9f8d3330a/learning_resources/conftest.py#L104- We can leave the ones in
course_catalog... We should delete that whole app at some point.
- We can leave the ones in
- Rename this webhook url https://github.com/mitodl/mit-open/blob/3b55e0e8057a7a5916a975133680a3a9f8d3330a/learning_resources/urls.py#L114
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 4
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 114
Contributor guide
No contributing guide indexed for this repository
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 mitodl/mit-learn
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 70/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
All issues in mitodl/mit-learn
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·