Skip to content

Commit b275b79

Browse files
committed
fix: fix github url strings (org edx -> openedx)
1 parent fb13058 commit b275b79

File tree

12 files changed

+24
-24
lines changed

12 files changed

+24
-24
lines changed

.annotations_sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ coverage_target: 50.0
55
report_template_dir: code_annotations/report_templates/
66
rendered_report_dir: code_annotations/reports/
77
rendered_report_file_extension: .rst
8-
rendered_report_source_link_prefix: https://github.com/edx/edx-platform/tree/master/
8+
rendered_report_source_link_prefix: https://github.com/openedx/edx-platform/tree/master/
99
annotations:
1010
".. no_pii:":
1111
".. ignored:":

README.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ How To Contribute
3535

3636
Contributions are very welcome.
3737

38-
Please read `How To Contribute <https://github.com/edx/edx-platform/blob/master/CONTRIBUTING.rst>`_ for details.
38+
Please read `How To Contribute <https://github.com/openedx/edx-platform/blob/master/CONTRIBUTING.rst>`_ for details.
3939

4040
Even though they were written with ``edx-platform`` in mind, the guidelines
4141
should be followed for Open edX code in general.
4242

4343
PR description template should be automatically applied if you are sending PR from github interface; otherwise you
44-
can find it it at `PULL_REQUEST_TEMPLATE.md <https://github.com/edx/code-annotations/blob/master/.github/PULL_REQUEST_TEMPLATE.md>`_
44+
can find it it at `PULL_REQUEST_TEMPLATE.md <https://github.com/openedx/code-annotations/blob/master/.github/PULL_REQUEST_TEMPLATE.md>`_
4545

4646
Issue report template should be automatically applied if you are sending it from github UI as well; otherwise you
47-
can find it at `ISSUE_TEMPLATE.md <https://github.com/edx/code-annotations/blob/master/.github/ISSUE_TEMPLATE.md>`_
47+
can find it at `ISSUE_TEMPLATE.md <https://github.com/openedx/code-annotations/blob/master/.github/ISSUE_TEMPLATE.md>`_
4848

4949
Reporting Security Issues
5050
-------------------------
@@ -64,8 +64,8 @@ refer to this `list of resources`_ if you need any assistance.
6464
:target: https://pypi.python.org/pypi/code-annotations/
6565
:alt: PyPI
6666

67-
.. |CI| image:: https://github.com/edx/code-annotations/workflows/Python%20CI/badge.svg?branch=master
68-
:target: https://github.com/edx/code-annotations/actions?query=workflow%3A%22Python+CI%22
67+
.. |CI| image:: https://github.com/openedx/code-annotations/workflows/Python%20CI/badge.svg?branch=master
68+
:target: https://github.com/openedx/code-annotations/actions?query=workflow%3A%22Python+CI%22
6969
:alt: CI
7070

7171
.. |codecov-badge| image:: http://codecov.io/github/edx/code-annotations/coverage.svg?branch=master
@@ -81,5 +81,5 @@ refer to this `list of resources`_ if you need any assistance.
8181
:alt: Supported Python versions
8282

8383
.. |license-badge| image:: https://img.shields.io/github/license/edx/code-annotations.svg
84-
:target: https://github.com/edx/code-annotations/blob/master/LICENSE.txt
84+
:target: https://github.com/openedx/code-annotations/blob/master/LICENSE.txt
8585
:alt: License

code_annotations/contrib/sphinx/extensions/featuretoggles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class FeatureToggles(SphinxDirective):
3939
4040
- ``featuretoggles_repo_url``: Github repository where the code is hosted. E.g:
4141
42-
featuretoggles_repo_url = "https://github.com/edx/myrepo"
42+
featuretoggles_repo_url = "https://github.com/openedx/myrepo"
4343
4444
- ``featuretoggles_repo_version``: current version of the git repository. E.g:
4545

code_annotations/contrib/sphinx/extensions/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Settings(SphinxDirective):
3939
4040
- ``settings_repo_url``: Github repository where the code is hosted. E.g:
4141
42-
settings_repo_url = "https://github.com/edx/myrepo"
42+
settings_repo_url = "https://github.com/openedx/myrepo"
4343
4444
- ``settings_repo_version``: current version of the git repository. E.g:
4545

docs/contrib/how_to/add_new_annotations_and_extracted_docs.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Annotations are a great way to keep documentation close to the code, but also be
1313

1414
As an example, we have added `feature toggle annotations to the edx-platform codebase`_. A `Readthedocs document with the edx-platform feature toggles`_ has been generated from them.
1515

16-
.. _feature toggle annotations to the edx-platform codebase: https://github.com/edx/edx-platform/search?q=toggle_name
16+
.. _feature toggle annotations to the edx-platform codebase: https://github.com/openedx/edx-platform/search?q=toggle_name
1717
.. _Readthedocs document with the edx-platform feature toggles: https://edx.readthedocs.io/projects/edx-platform-technical/en/latest/featuretoggles.html
1818

1919
Add your own annotations and docs
@@ -27,7 +27,7 @@ The following steps need to be performed to document new types of annotations in
2727
* Add a new documentation page in the `edx-platform technical docs that will use this Sphinx extension`_. Adapt this step as needed for other services.
2828
* As required, add `custom linting for the new annotations to edx-lint`_. Again, follow the toggle and setting checkers as examples.
2929

30-
.. _new annotation format in code_annotations/contrib/config: https://github.com/edx/code-annotations/tree/master/code_annotations/contrib/config
31-
.. _Sphinx extension to collect these annotations: https://github.com/edx/code-annotations/tree/master/code_annotations/contrib/sphinx/extensions
32-
.. _edx-platform technical docs that will use this Sphinx extension: https://github.com/edx/edx-platform/tree/master/docs/technical
33-
.. _custom linting for the new annotations to edx-lint: https://github.com/edx/edx-lint/blob/master/edx_lint/pylint/annotations_check.py
30+
.. _new annotation format in code_annotations/contrib/config: https://github.com/openedx/code-annotations/tree/master/code_annotations/contrib/config
31+
.. _Sphinx extension to collect these annotations: https://github.com/openedx/code-annotations/tree/master/code_annotations/contrib/sphinx/extensions
32+
.. _edx-platform technical docs that will use this Sphinx extension: https://github.com/openedx/edx-platform/tree/master/docs/technical
33+
.. _custom linting for the new annotations to edx-lint: https://github.com/openedx/edx-lint/blob/master/edx_lint/pylint/annotations_check.py

docs/contrib/how_to/documenting_django_settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ There are a variety of tips in `certain sections of the how-to for documenting f
6161
Additional resources
6262
====================
6363

64-
The documentation format used to annotate non-boolean Django settings is also available from code-annotations repository: `setting_annotations.yaml <https://github.com/edx/code-annotations/blob/master/code_annotations/contrib/config/setting_annotations.yaml>`__.
64+
The documentation format used to annotate non-boolean Django settings is also available from code-annotations repository: `setting_annotations.yaml <https://github.com/openedx/code-annotations/blob/master/code_annotations/contrib/config/setting_annotations.yaml>`__.

docs/contrib/sphinx_extensions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ add the following to your ``conf.py``::
1515
featuretoggles_source_path = os.path.abspath(
1616
os.path.join(os.path.dirname(__file__), "..")
1717
)
18-
featuretoggles_repo_url = "https://github.com/edx/yourrepo"
18+
featuretoggles_repo_url = "https://github.com/openedx/yourrepo"
1919
try:
2020
featuretoggles_repo_version = git.Repo(search_parent_directories=True).head.object.hexsha
2121
except git.InvalidGitRepositoryError:

docs/decisions/0001-config-and-tools.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ The original usage of this generic tool was for annotating PII in the Open edX p
1515

1616
The new instances of annotation configs arose to support documenting Open edX feature toggles and non-toggle settings. Each of these will also have Sphinx extensions to support documentation. To start, the `feature toggles annotation config`_ was added to the ``edx-toggles`` repository, but there was no good home for the non-toggle settings annotation config, nor the documentation tools.
1717

18-
.. _PII annotations: https://github.com/edx/edx-cookiecutters/blob/7cf718093e7cca5c701a29fcbaa84660326b09ed/cookiecutter-django-app/%7B%7Bcookiecutter.repo_name%7D%7D/.pii_annotations.yml
19-
.. _feature toggles annotation config: https://github.com/edx/edx-toggles/blob/0986b10a806944fd4d00847501ff4f7e3904a2cb/feature_toggle_annotations.yaml
18+
.. _PII annotations: https://github.com/openedx/edx-cookiecutters/blob/7cf718093e7cca5c701a29fcbaa84660326b09ed/cookiecutter-django-app/%7B%7Bcookiecutter.repo_name%7D%7D/.pii_annotations.yml
19+
.. _feature toggles annotation config: https://github.com/openedx/edx-toggles/blob/0986b10a806944fd4d00847501ff4f7e3904a2cb/feature_toggle_annotations.yaml
2020

2121
Decision
2222
========

pylintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# ** DO NOT EDIT THIS FILE **
33
# ***************************
44
#
5-
# This file was generated by edx-lint: https://github.com/edx/edx-lint
5+
# This file was generated by edx-lint: https://github.com/openedx/edx-lint
66
#
77
# If you want to change this file, you have two choices, depending on whether
88
# you want to make a local change that applies only to this repo, or whether
@@ -28,7 +28,7 @@
2828
# CENTRAL CHANGE:
2929
#
3030
# 1. Edit the pylintrc file in the edx-lint repo at
31-
# https://github.com/edx/edx-lint/blob/master/edx_lint/files/pylintrc
31+
# https://github.com/openedx/edx-lint/blob/master/edx_lint/files/pylintrc
3232
#
3333
# 2. install the updated version of edx-lint (in edx-lint):
3434
#

pylintrc_backup

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# ** DO NOT EDIT THIS FILE **
33
# ***************************
44
#
5-
# This file was generated by edx-lint: http://github.com/edx/edx-lint
5+
# This file was generated by edx-lint: http://github.com/openedx/edx-lint
66
#
77
# If you want to change this file, you have two choices, depending on whether
88
# you want to make a local change that applies only to this repo, or whether
@@ -24,7 +24,7 @@
2424
# CENTRAL CHANGE:
2525
#
2626
# 1. Edit the pylintrc file in the edx-lint repo at
27-
# https://github.com/edx/edx-lint/blob/master/edx_lint/files/pylintrc
27+
# https://github.com/openedx/edx-lint/blob/master/edx_lint/files/pylintrc
2828
#
2929
# 2. install the updated version of edx-lint (in edx-lint):
3030
#

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def is_requirement(line):
7575
long_description_content_type='text/x-rst',
7676
author='edX',
7777
author_email='oscm@edx.org',
78-
url='https://github.com/edx/code-annotations',
78+
url='https://github.com/openedx/code-annotations',
7979
packages=[
8080
'code_annotations',
8181
],

tests/test_configurations/.annotations_test_success_with_report_docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ safelist_path: .annotation_safe_list.yml
44
report_template_dir: code_annotations/report_templates/
55
rendered_report_dir: test_reports/
66
rendered_report_file_extension: .rst
7-
rendered_report_source_link_prefix: https://github.com/edx/edx-platform/tree/master/
7+
rendered_report_source_link_prefix: https://github.com/openedx/edx-platform/tree/master/
88
coverage_target: 50.0
99
annotations:
1010
".. no_pii:":

0 commit comments

Comments
 (0)