jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/840182 )
Change subject: [doc] Update documentation ......................................................................
[doc] Update documentation
* Github --> GitHub * Appveyor --> AppVeyor
Change-Id: If475f0b319fd5c3311fe51893c1bd18aa6e21ff0 --- M .appveyor.yml M pywikibot/version.py M tests/README.rst M tests/__init__.py 4 files changed, 7 insertions(+), 7 deletions(-)
Approvals: Meno25: Looks good to me, approved jenkins-bot: Verified
diff --git a/.appveyor.yml b/.appveyor.yml index 12e44c4..2deca7a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -20,7 +20,7 @@ PYTHON_VERSION: "3.6.1" PYTHON_ARCH: "64"
- # Appveyor pre-installs these versions onto build machines + # AppVeyor pre-installs these versions onto build machines
- PYTHON: "C:\Python36" PYTHON_VERSION: "3.6.x" @@ -51,7 +51,7 @@
install: - git submodule update --init - # Download the Appveyor Python build accessories into subdirectory .\appveyor + # Download the AppVeyor Python build accessories into subdirectory .\appveyor - mkdir appveyor # Download Python 3.6.1 which isn't pre-installed - ps: ./appveyor_install.ps1 diff --git a/pywikibot/version.py b/pywikibot/version.py index e7cecc8..a95a826 100644 --- a/pywikibot/version.py +++ b/pywikibot/version.py @@ -175,9 +175,9 @@
def github_svn_rev2hash(tag: str, rev): # pragma: no cover - """Convert a Subversion revision to a Git hash using Github. + """Convert a Subversion revision to a Git hash using GitHub.
- :param tag: name of the Subversion repo on Github + :param tag: name of the Subversion repo on GitHub :param rev: Subversion revision identifier :return: the git hash """ diff --git a/tests/README.rst b/tests/README.rst index c68f20b..7c62773 100644 --- a/tests/README.rst +++ b/tests/README.rst @@ -106,7 +106,7 @@ =====================
**PYWIKIBOT_TEST_GUI** - Enable :mod:`tests.gui_tests`. Used for Appveyor tests. Github actions would + Enable :mod:`tests.gui_tests`. Used for AppVeyor tests. GitHub actions would fail due to ``couldn't connect to display ":1.0"`` error. Set this environment variable to run this test locally::
@@ -127,7 +127,7 @@ This environment variable skips tests instead of raising :exc:`exceptions.MaxlagTimeoutError` when maximum retries attempted due to maxlag without success. It is also used by :mod:`tests.script_tests` for code - coverage. Github actions and Appveyor tests activate this variable:: + coverage. GitHub actions and AppVeyor tests activate this variable::
PYWIKIBOT_TEST_RUNNING=1
diff --git a/tests/__init__.py b/tests/__init__.py index 987ba55..5b2b952 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -263,7 +263,7 @@ lambda cls, *args: cls._make_dir(join_cache_path()))
-# Appveyor and Github action builds are set to retry twice or thrice, which +# AppVeyor and GitHub action builds are set to retry twice or thrice, which # aims to reduce the number of 'red' builds caused by intermittent server # problems, while also avoiding the builds taking a long time due to retries. # The following allows builds to retry up to three times, but higher default