forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update Python 3.11 docs and more #20
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
09acf8b
docs: manual upgrade for Python 3.11
robrap ccf9819
docs: add note for Demo course is empty in studio
robrap a6ee9ae
fix: update readthedocs repo url
robrap 81e923c
fix: git openedx to edx repo docs
robrap d1d5178
fixup! fix quality issue
robrap 99f1d2c
feat: remove docs from provisioning tests
robrap File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,11 @@ on: | |
branches: [master] | ||
paths-ignore: | ||
- '**.rst' | ||
- 'docs/' | ||
pull_request: | ||
paths-ignore: | ||
- '**.rst' | ||
- 'docs/' | ||
schedule: | ||
# run at 7:30 am M-F | ||
- cron: '30 11 * * 1-5' | ||
|
@@ -108,6 +110,3 @@ jobs: | |
to: [email protected] | ||
from: github-actions <[email protected]> | ||
body: Devstack provisioning tests in ${{github.repository}} are back to normal for ${{matrix.services}} | ||
|
||
- name: docs | ||
run: make docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -169,25 +169,38 @@ commands from within the repository:: | |
General git troubleshooting | ||
--------------------------- | ||
|
||
``git`` is powerful but complex; you may occasionally find your respository in a | ||
``git`` is powerful but complex; you may occasionally find your repository in a | ||
confusing state. This problem isn't devstack-specific. | ||
|
||
If you find yourself stuck, folks in the edX-internal or Open edX Slack workspaces may | ||
be able to give you a hand. | ||
If you find yourself stuck, folks in the 2U Slack workspace may be able to give | ||
you a hand. | ||
|
||
Ensure you are not still pointing to the old openedx repo. If you see openedx when running the following command:: | ||
|
||
% git remote -v | ||
origin ssh://[email protected]/openedx/devstack (fetch) | ||
origin ssh://[email protected]/openedx/devstack (push) | ||
|
||
You can point to the 2U fork of devstack with the following command:: | ||
|
||
% git remote set-url origin ssh://[email protected]/edx/devstack | ||
|
||
Note: You don't need to use ``ssh`` if you were using ``https`` instead. | ||
|
||
Alternatively, if you are at a roadblock and | ||
*don't care about any changes you've made to your local copy of the repository* | ||
(i.e., you have pushed or otherwise saved your work elsewhere) | ||
then you can always delete the repository and start over again:: | ||
|
||
rm -rf ./<repository> | ||
git clone [email protected]:openedx/<repository> | ||
git clone [email protected]:edx/<repository> | ||
|
||
Finally, if you regularly find yourself mystified by git, consider reading | ||
through `Understanding Git Conceptually`_. It explains core Git principles in way | ||
that makes it easier to use the simpler ``git`` commands more effectively | ||
and easier to use the more complicated ``git`` commands when you have to. | ||
|
||
|
||
Problems with shared directories | ||
-------------------------------- | ||
|
||
|
@@ -224,6 +237,8 @@ To fix this locally, simply add a new subsection and publish. The act of publish | |
|
||
See https://github.com/openedx/devstack/issues/1073 for the GitHub issue tracking this bug. | ||
|
||
Update as of 2023-08-03: The issue was moved to https://2u-internal.atlassian.net/browse/TNL-11478, but closed as "Won't Do" due to business priorities. | ||
|
||
CORS error from login_refresh in MFE | ||
------------------------------------ | ||
If you see "Access to XMLHttpRequest at 'http://localhost:18000/login_refresh' from origin 'http://localhost:2000' has been blocked by CORS policy: Request header field x-xsrf-token is not allowed by Access-Control-Allow-Headers in preflight response" it usually means you don't have a valid session. | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[inform] This is what I did locally, but my PR still got set up against openedx-unsupported at first, so there are other local changes I probably need to fix master, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a separate thing we'll need to fix. GitHub knows that we forked edx/devstack from openedx-unsupported/devstack (either before or after the move from openedx) and so it assumes we want to contribute PRs to the upstream. I don't know if there's a way to change that behavior other than asking GitHub to unlink the repo from that "network".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a bummer.